|
|
@@ -369,6 +369,7 @@
|
|
|
mixins: [dictMixins, getDynamicsColumns, tabMixins],
|
|
|
props: {
|
|
|
orderId: String,
|
|
|
+ orderIds: String,
|
|
|
needProduce: [String, Number],
|
|
|
entrustedCode: String,
|
|
|
pricingWay: [String, Number],
|
|
|
@@ -1183,12 +1184,12 @@
|
|
|
},
|
|
|
//选择产品
|
|
|
handParent() {
|
|
|
- if (!this.orderId) return this.$message.error('请先选择订单');
|
|
|
+ if (!this.orderId&&!this.orderIds) return this.$message.error('请先选择订单');
|
|
|
this.$refs.BIZproductListRef.open('', -1);
|
|
|
},
|
|
|
// 添加
|
|
|
handlAdd() {
|
|
|
- if (!this.orderId) return this.$message.error('请先选择订单');
|
|
|
+ if (!this.orderId&&!this.orderIds) return this.$message.error('请先选择订单');
|
|
|
this.$refs.productListRef.open(this.form.datasource);
|
|
|
},
|
|
|
//库存台账
|