|
|
@@ -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;
|
|
|
// 入库登记人
|