Commit 02181f3c authored by renjintao's avatar renjintao

工艺设置set

parent 82ad026f
...@@ -61,7 +61,8 @@ export default { ...@@ -61,7 +61,8 @@ export default {
productingPreparationPeople: 0, productingPreparationPeople: 0,
orderIds: 0, orderIds: 0,
ids: [], ids: [],
}, count:0
, },
detail: null, detail: null,
modal: false, modal: false,
easySearch: { easySearch: {
...@@ -142,6 +143,7 @@ export default { ...@@ -142,6 +143,7 @@ export default {
this.child.productingPreparationPeople = this.child.productingPreparationPeople =
row.productingPreparationPeople; row.productingPreparationPeople;
this.child.orderIds = row.id; this.child.orderIds = row.id;
this.child.count=row.quantity;
this.title = "工艺列表"; this.title = "工艺列表";
this.detail = () => import("./set"); this.detail = () => import("./set");
this.modal = true; this.modal = true;
......
...@@ -284,6 +284,20 @@ export default { ...@@ -284,6 +284,20 @@ export default {
}, },
}); });
}, },
saveBill() {//生成料单
let params = {
routingHeaderId: this.routingList,
orderId: this.eid.orderIds,
orderCount: this.eid.count,
};
Api.post(`${technologyUrl}materiallist/createnew`, params).then(res => {
if (res.success) {
// this.$emit("on-ok");
//this.loaddata(this.orderId);
//this.materialBillSetStatus = 1;
}
});
},
l(key) { l(key) {
let vkey = "routingHeader" + "." + key; let vkey = "routingHeader" + "." + key;
return this.$t(vkey) || key; return this.$t(vkey) || key;
......
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