|
@@ -148,9 +148,9 @@
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in ticketList"
|
|
|
- :key="dict.id"
|
|
|
+ :key="dict.goodsId"
|
|
|
:label="dict.goodsName"
|
|
|
- :value="dict.id"
|
|
|
+ :value="dict.goodsId"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -228,7 +228,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { saveAndEdit, getSelectById, uploadExcel, queryPrice,downloadModel,selectRegionApi } from "@/api/team/applicationMr";
|
|
|
+import { saveAndEdit, getSelectById, uploadExcel, queryPrice,downloadModel,selectRegionApi,selectRegionNewApi } from "@/api/team/applicationMr";
|
|
|
import { pagePerformTimeList } from '@/api/schedulingMr/schedulingMr'
|
|
|
import Editor from "@/components/Editor";
|
|
|
import { getToken } from "@/utils/auth";
|
|
@@ -542,9 +542,9 @@ export default {
|
|
|
goodsChangeEven(id) {
|
|
|
let list = []
|
|
|
this.ticketList.forEach(item => {
|
|
|
- if(item.id == id){ // item.goodsId == id
|
|
|
+ if(item.goodsId == id){ // item.goodsId == id
|
|
|
this.$set(this.form, 'goodsName', item.goodsName)
|
|
|
- list = item.regionList
|
|
|
+ list = item.seatList//item.regionList
|
|
|
}
|
|
|
})
|
|
|
this.$set(this.form, 'price', '');
|
|
@@ -690,17 +690,19 @@ export default {
|
|
|
if(!this.form.teamId||!this.form.auditoriumId||!this.form.performId||!this.form.performTimeId){
|
|
|
return
|
|
|
}
|
|
|
- let res = await selectRegionApi({
|
|
|
+ let res = await selectRegionNewApi({
|
|
|
"teamId": this.form.teamId,
|
|
|
"auditoriumId": this.form.auditoriumId,
|
|
|
"performId": this.form.performId,
|
|
|
"performTimeId": this.form.performTimeId,
|
|
|
+ "timeId": this.form.performTimeId,
|
|
|
+ "channelType": "group"
|
|
|
})
|
|
|
if( res.code == 200 ) {
|
|
|
- this.ticketList = res.data.goodsList
|
|
|
+ this.ticketList = res.data.list
|
|
|
}
|
|
|
} catch (error) {
|
|
|
-
|
|
|
+ console.error(error)
|
|
|
}
|
|
|
}
|
|
|
},
|