|
@@ -375,7 +375,7 @@ import {
|
|
// })
|
|
// })
|
|
},
|
|
},
|
|
/** 获取票务信息 */
|
|
/** 获取票务信息 */
|
|
- async selectRegionFun(params){
|
|
|
|
|
|
+ async selectRegionFun(params,seatTypeId){
|
|
try {
|
|
try {
|
|
this.loadingText = "获取票务信息中..."
|
|
this.loadingText = "获取票务信息中..."
|
|
let res = await selectRegion({
|
|
let res = await selectRegion({
|
|
@@ -387,6 +387,13 @@ import {
|
|
})
|
|
})
|
|
if(res.code == 200) {
|
|
if(res.code == 200) {
|
|
if(res.data.regionPriceList &&res.data.regionPriceList.length>0){
|
|
if(res.data.regionPriceList &&res.data.regionPriceList.length>0){
|
|
|
|
+ let obj = {}
|
|
|
|
+ res.data.regionPriceList.forEach((item,index)=>{
|
|
|
|
+ console.log("item.seatTypeId===",item.seatTypeId,seatTypeId)
|
|
|
|
+ if(seatTypeId == item.seatTypeId) {
|
|
|
|
+ obj = item
|
|
|
|
+ }
|
|
|
|
+ })
|
|
if(JSON.stringify(obj) != '{}'){
|
|
if(JSON.stringify(obj) != '{}'){
|
|
this.ruleForm.performId = obj.performId
|
|
this.ruleForm.performId = obj.performId
|
|
this.ruleForm.goodsList = [
|
|
this.ruleForm.goodsList = [
|