|
@@ -30,7 +30,7 @@
|
|
|
@selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
<el-table-column label="序号" align="center" type="index" width="50"></el-table-column>
|
|
|
- <el-table-column label="票务价格ID" align="center" prop="performId" />
|
|
|
+ <el-table-column label="票务价格ID" align="center" prop="id" />
|
|
|
<el-table-column label="票务名称" align="center" prop="priceName" />
|
|
|
<el-table-column label="场次开始时间" align="center" prop="timeStart" />
|
|
|
<el-table-column label="场次结束时间" align="center" prop="timeEnd" />
|
|
@@ -183,6 +183,7 @@ export default {
|
|
|
costAmount: [{ required: true, message: "请输入结算价", trigger: ["change","blur"] }],
|
|
|
},
|
|
|
seatTypeId: null,
|
|
|
+ calendarId: null,
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -471,12 +472,14 @@ export default {
|
|
|
},
|
|
|
openCalendarFun(row){
|
|
|
this.seatTypeId = row.seatTypeId
|
|
|
+ this.calendarId = row.id
|
|
|
this.getCalendarPrice()
|
|
|
|
|
|
},
|
|
|
/** 获取设置的日历价格 */
|
|
|
async getCalendarPrice() {
|
|
|
try {
|
|
|
+ this.timeValueObj = {}
|
|
|
let res = await getCalendarPriceApi({
|
|
|
"goodsId": this.form.goodsId,
|
|
|
"seatTypeId": this.seatTypeId
|
|
@@ -539,7 +542,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
let res = await setCalendarPriceApi({
|
|
|
- "id": this.form.id,
|
|
|
+ "id": this.calendarId,
|
|
|
"goodsId": this.form.goodsId,
|
|
|
"seatTypeId": this.seatTypeId,
|
|
|
"data": daysList
|