Browse Source

解决领料出库驳回逻辑BUG

huang_an 1 năm trước cách đây
mục cha
commit
d9b60fa851

+ 1 - 1
src/views/bpm/handleTask/components/selectedCollectionOutbound/submit.vue

@@ -115,7 +115,7 @@
           this.$message.error('请输入审批意见');
           return false;
         }
-        if (this.taskDefinitionKey === 'storeman') {
+        if (this.taskDefinitionKey === 'storeman' && !!status) {
           // 入库来源storageSource 0-正常  1-外部(外部跳过内部审核流程)
           storageData.storageSource = 1;
           console.log(storageData);