Browse Source

窗口售票、解锁/锁定,推广票:备注显示处理

shipeng 3 months ago
parent
commit
d8f4503cae

+ 5 - 1
src/views/officesale/ticketingSales.vue

@@ -785,6 +785,10 @@
             list.forEach((item,index)=>{
                 if(item.id == row.id) {
                     this.seatSelectList.splice(index, 1)
+                    // 移除锁定座位
+                    if(this.isBuylock === 1) {
+                      this.seatSelectListNo.splice(index, 1)
+                    }
                 }
             })
             Object.keys(this.seatMapList).forEach((item1,index)=>{
@@ -932,7 +936,7 @@
                         this.isLcokShow = true
                         this.lockObj = {
                             remark: res.data.remark,
-                            auth: res.data.createBy
+                            auth: res.data.updateBy || res.data.createBy
                         }
                         this.lockStyle = {
                             position: "fixed",

+ 2 - 2
src/views/windowTicketSales/lock.vue

@@ -91,7 +91,7 @@
             <el-button size="mini" v-hasPermi="['windowTicketSales:ticket:lock']" type="warning"
               :loading="lockOrUnLockLoading" @click="lockOrUnLockFun(0)">{{
                 seatSelectListNo.length > 0 ? '解 锁' : '锁 定' }}</el-button>
-            <el-button size="mini" v-hasPermi="['window:ticket:batchlock']" type="danger" @click="batchLockFun">批量锁定</el-button>
+            <!-- <el-button size="mini" v-hasPermi="['window:ticket:batchlock']" type="danger" @click="batchLockFun">批量锁定</el-button> -->
           </div>
           <!-- <div style="width: 100%;display: flex;justify-content: center;height: 30px;">
             <el-button size="mini" v-hasPermi="['windowTicketSales:ticketingSales:lock']" type="warning"
@@ -904,7 +904,7 @@ export default {
             this.isLcokShow = true
             this.lockObj = {
               remark: res.data.remark,
-              auth: res.data.createBy
+              auth: res.data.updateBy || res.data.createBy
             }
             this.lockStyle = {
               position: "fixed",

+ 6 - 1
src/views/windowTicketSales/ticketSales.vue

@@ -77,6 +77,7 @@
                 <i class="el-icon-arrow-left" style="font-size: 20px;"></i>
                 返回上一页
             </span>
+          <el-button :loading="loading" icon="el-icon-refresh" size="mini" @click="handleQuery" style="margin-left: 20px">刷新</el-button>
         </div>
 
         <div class="seat-tool-box">
@@ -905,6 +906,10 @@ export default {
             list.forEach((item, index) => {
                 if (item.id == row.id) {
                     this.seatSelectList.splice(index, 1)
+                    // 移除锁定座位
+                    if(this.isBuylock === 1) {
+                      this.seatSelectListNo.splice(index, 1)
+                    }
                 }
             })
             Object.keys(this.seatMapList).forEach((item1, index) => {
@@ -1074,7 +1079,7 @@ export default {
                         this.isLcokShow = true
                         this.lockObj = {
                             remark: res.data.remark,
-                            auth: res.data.createBy
+                            auth: res.data.updateBy || res.data.createBy
                         }
                         this.lockStyle = {
                             position: "fixed",