瀏覽代碼

制卡调整

DESKTOP-B78GIPM\admin 2 年之前
父節點
當前提交
321c1a5e7a
共有 2 個文件被更改,包括 6 次插入13 次删除
  1. 5 12
      src/views/room/fangtailive.vue
  2. 1 1
      src/views/room/modules/checkIn/batchCardModal.vue

+ 5 - 12
src/views/room/fangtailive.vue

@@ -1610,21 +1610,14 @@ export default {
       this.loadData();
       this.loadData();
       console.log("e", e);
       console.log("e", e);
       this.YDorder = e.order
       this.YDorder = e.order
-      getAction(`/business/busOtherRoomCard/queryByHotelId`).then(res=>{
-        console.log(res);
-        if (res.success && res.result) {
-          if (res.result.status==1) {
-            this.$refs.batchCheckInModal.visible = true;
+      if (this.kzfLiving) {
+        this.$refs.batchCheckInModal.visible = true;
             this.$refs.batchCheckInModal.edit(e.model)
             this.$refs.batchCheckInModal.edit(e.model)
-          }else{
-            this.$refs.ModalBillRoomInfo.add(e.order);
+      }else{
+        this.$refs.ModalBillRoomInfo.add(e.order);
             this.$refs.ModalBillRoomInfo.title = "账单";
             this.$refs.ModalBillRoomInfo.title = "账单";
             this.$refs.ModalBillRoomInfo.disableSubmit = true;
             this.$refs.ModalBillRoomInfo.disableSubmit = true;
-          }
-        }
-      })
-      
-      
+      }
     },
     },
     modalBatchhFormOk(){
     modalBatchhFormOk(){
       this.$refs.ModalBillRoomInfo.add(this.YDorder);
       this.$refs.ModalBillRoomInfo.add(this.YDorder);

+ 1 - 1
src/views/room/modules/checkIn/batchCardModal.vue

@@ -5,7 +5,7 @@
     :visible="visible"
     :visible="visible"
     @ok="handleOk"
     @ok="handleOk"
     :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
     :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
-    @cancel="handleCancel"
+    @cancel="handleOk"
     cancelText="关闭">
     cancelText="关闭">
     <pos-type-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></pos-type-form>
     <pos-type-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></pos-type-form>
   </j-modal>
   </j-modal>