2 次代碼提交 ffab549643 ... 22a0ab6d4b

作者 SHA1 備註 提交日期
  xieyong 22a0ab6d4b fix(addInvoice): 修复选择行逻辑,确保在打开时不自动选择行 2 天之前
  xieyong 564caaea80 fix(beEntrusted): 更新未收货判断逻辑,增加状态4的条件 2 天之前
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/beEntrusted/index.vue
  2. 1 1
      src/views/entrust/components/addInvoice.vue

+ 1 - 1
src/views/beEntrusted/index.vue

@@ -584,7 +584,7 @@
         }
         }
 
 
         const unreceived = this.selection.find(
         const unreceived = this.selection.find(
-          (item) => item.approvalStatus == 2 && (item.sendStatus != 2 && item.sendStatus != 8)
+          (item) => item.approvalStatus == 2 && (item.sendStatus != 2 && item.sendStatus != 8 && item.sendStatus != 4)
         );
         );
         if (unreceived) {
         if (unreceived) {
           return this.$message.warning(`请先收货再${actionText}`);
           return this.$message.warning(`请先收货再${actionText}`);

+ 1 - 1
src/views/entrust/components/addInvoice.vue

@@ -189,7 +189,7 @@
         this.allSelection = list || [];
         this.allSelection = list || [];
         this.$nextTick(() => {
         this.$nextTick(() => {
           this.allSelection.forEach((item) => {
           this.allSelection.forEach((item) => {
-            this.$refs.entrustCreateTable.toggleRowSelection(item, true);
+            this.$refs.entrustCreateTable.toggleRowSelection(item, false);
           });
           });
         });
         });
       },
       },