瀏覽代碼

Merge branch 'master' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-wt

ysy 1 年之前
父節點
當前提交
7ac2d8215e

+ 2 - 2
src/views/bpm/handleTask/components/purchaseOrder/outSourceSend/boxTabPage.vue

@@ -76,8 +76,8 @@
           case 'tab2':
             return {
               form: this.form,
-              bizType: 7
-              // sourceBizNo: this.form.code
+              bizType: 7,
+              sourceBizNo: this.form.code
             };
         }
       },

+ 2 - 2
src/views/bpm/outgoingManagement/outbound.vue

@@ -548,7 +548,7 @@
     props: {
       form: { type: Object, default: {} },
       bizType: { type: Number, default: 1 },
-      // sourceBizNo: { type: String, default: '' },
+      sourceBizNo: { type: String, default: '' },
       type: { type: String, default: '正常出库' },
       detailList: { type: Array, default: () => [] },
       saleProductList: { type: Array, default: () => [] },
@@ -892,7 +892,7 @@
         // 出库类型
         this.formData.bizType = this.bizType;
         // 添加单据来源
-        this.formData.sourceBizNo = this.form?.code;
+        this.formData.sourceBizNo = this.sourceBizNo||this.form?.code;
         // 将出库状态改成出库状态 2出库 1入库
         this.formData.type = 2;
         // 入库登记人