MONSTER-ygh 2 тижнів тому
батько
коміт
962077009f

+ 3 - 2
src/views/windowTicketSales/model/rebookBox.vue

@@ -135,6 +135,7 @@
                     :seatTypeLimit="configStockNumObj"
                     @selectSeat="selectSeat"
                     height="100%"
+                    :channelType="rebookForm.channelType"
                     />
                 </div>
             </div>
@@ -519,8 +520,8 @@ export default {
             console.log("已选择的====",list)
         },
         setRealPrice_1(value) {
-            if(this.rebookForm.realPrice && !isNaN(this.rebookForm.realPrice) && value && !isNaN(value)) {
-                this.$set(this.rebookForm,'small',mathM.format(Number(value) - Number(this.rebookForm.realPrice),10) )
+            if(this.rebookForm.diffPrice && !isNaN(this.rebookForm.diffPrice) && value && !isNaN(value)) {
+                this.$set(this.rebookForm,'small',mathM.format(Number(value) - Number(this.rebookForm.diffPrice),10) )
             }
         },
         /** 获取授信余额和账户余额  */

+ 5 - 1
src/views/windowTicketSales/model/upgradeBox.vue

@@ -111,7 +111,11 @@
                     </div>
                 </div>
                 <div class="rebook1_seat" v-loading="seatLoading" :element-loading-text="seatLoadText">
-                    <seatBox ref="seatBox" :seatTypeLimit="configStockNumObj" @selectSeat="selectSeat" height="100%" />
+                    <seatBox ref="seatBox" 
+                    :seatTypeLimit="configStockNumObj" 
+                    @selectSeat="selectSeat" 
+                    :channelType="rebookForm.channelType"
+                    height="100%" />
                 </div>
             </div>
             <div style="width: 100%;display: flex;justify-content: center;">