Ver Fonte

点击一键正常 和扫描NFC后 自动调用保存

zhulu há 1 ano atrás
pai
commit
242579572b
1 ficheiros alterados com 6 adições e 2 exclusões
  1. 6 2
      src/views/menu/resumption/detail.vue

+ 6 - 2
src/views/menu/resumption/detail.vue

@@ -567,6 +567,7 @@
         this.resumptionData.noPointNums = total - num
         this.validateAreaAll()
         this.openCollapseItems()
+        this.resumptionDataSave();
       },
       changeSwitch() {
         let num = 0
@@ -678,10 +679,12 @@
       cancelImg(imgItem) {
         this.updateNFC(2, imgItem.nfcCode, imgItem)
         this.validateArea(this.areaId)
+        this.resumptionDataSave();
       },
       changeNfcImg(imgItem) {
         this.updateNFC(1, imgItem.nfcCode, imgItem)
-        this.validateArea(this.areaId)
+        this.validateArea(this.areaId);
+        this.resumptionDataSave();
       },
       updateNFC(type, nfcCode, imgItem) {
         //type 1 表示新增加扫描的数据,2 表示新增未扫描的数量,0 未做任何操作
@@ -730,7 +733,8 @@
             if (this.areaId === item.areaId) {
               this.areaYesList.push(item)
             }
-          } else {
+          } 
+          else {
             this.noList.push(item)
             if (this.areaId === item.areaId) {
               this.areaNoList.push(item)