Commit 589d5870 authored by 仇晓婷's avatar 仇晓婷

流水排产bug

parent ac1f610f
......@@ -214,6 +214,7 @@ export default {
},
changeMode(a) {
this.mode = a;
this.tagTata(this.orderId);
},
//工序列表
tagTata(id) {
......@@ -223,6 +224,7 @@ export default {
u.seq = u.task_seq;
u.chaiCount = 0;
u.chai = false;
u.aps = 0;
});
this.result = r.result;
}
......@@ -277,7 +279,6 @@ export default {
//拆分工序
split(item, i) {
this.chaiModal = true;
this.curIndex = i;
this.maxnum = this.result[i].quantity - 1;
},
......@@ -285,6 +286,9 @@ export default {
okChai() {
let items = this.$u.clone(this.result);
let curItem = items[this.curIndex];
curItem.aps = this.mode;
console.log(curItem.aps);
let addItem = this.$u.clone(curItem);
curItem.quantity -= this.chaiNum;
curItem.chaiCount += 1;
......
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