MONSTER-ygh 7 mesi fa
parent
commit
1b901549ae
3 ha cambiato i file con 7 aggiunte e 4 eliminazioni
  1. 1 1
      .env.development
  2. 1 1
      .env.staging
  3. 5 2
      src/views/windowTicketSales/ticketingSales.vue

+ 1 - 1
.env.development

@@ -10,7 +10,7 @@ VUE_APP_BASE_API = '/dev-api'
 VUE_APP_SERVER_ID=0
 
 # 开发环境文件上传
-VUE_APP_UPLOAD_FILE_API = 'https://fileupload.hw.hongweisoft.com'
+VUE_APP_UPLOAD_FILE_API = 'http://fileupload.dev.dazesoft.cn'
 
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 1 - 1
.env.staging

@@ -10,4 +10,4 @@ ENV = 'staging'
 VUE_APP_BASE_API = '/scenicstage-api'
 
 # 开发环境文件上传
-VUE_APP_UPLOAD_FILE_API = 'https://fileupload.hw.hongweisoft.com'
+VUE_APP_UPLOAD_FILE_API = 'http://fileupload.dev.dazesoft.cn'

+ 5 - 2
src/views/windowTicketSales/ticketingSales.vue

@@ -453,7 +453,7 @@
                 })
                 this.seatMapListKey = seatMapListKey
                 console.log("seatMapListKey=====",seatMapListKey)
-                this.width = 70*flog
+                this.width = 70*(flog + 1)
                 this.$nextTick(()=>{
                     if(this.$refs.seatbox) {
                         var ele = this.$refs.seatbox
@@ -550,13 +550,16 @@
                 this.merchantPerformTimeListFun()
             }
             if(type == 'goodsId'){
-                this.getGoodsPerformFun(value)
+                if(value) {
+                    this.getGoodsPerformFun(value)
+                }
             }else {
                 this.ifRealUser = 0  // 散客是否实名:0-否 1-是
                 this.ifRealTeam = 0   // 团购是否实名:0否 1-是
                 this.oneMany = 1   // 证件要求: 1一证一票,2一证多票
                 this.personnelNum = 0   // 人员要求:0-表示不限制 其他数字表示限制人数
             }
+            this.seatMapListKey = {}
             this.performId = ''
             this.seatSelectList = []
             this.seatSelectListNo = []