Commit 787673f4 authored by 仇晓婷's avatar 仇晓婷

流水排产优化

parent 8b279314
......@@ -161,7 +161,9 @@ export default {
maxnum: 1,
chaiModal: false,
orderId: 0,
routingHeaderId: 0
quantity: 0,
routingHeaderId: 0,
detailId: 0
};
},
created() {
......@@ -215,6 +217,7 @@ export default {
u.chai = false;
});
this.result = r.result;
this.quantity = r.result.quantity;
}
});
},
......@@ -300,7 +303,7 @@ export default {
},
//下发
lowerHair() {
if (this.orderId) {
if (this.orderId || this.quantity) {
var items = [];
var obj = {};
if (this.mode == 1) {
......@@ -355,7 +358,7 @@ export default {
});
}
} else {
this.$Message.info("请先选择排产订单设置工序");
this.$Message.info("请先选择排产订单设置工序");
}
},
closeOk() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment