Commit 94f3ee82 authored by renjintao's avatar renjintao

aps

parent 5de759c9
...@@ -409,22 +409,7 @@ export default { ...@@ -409,22 +409,7 @@ export default {
} }
}); });
}, },
// removeOk() {
// let params = {
// partPk: this.selectRoutingDetail.part_task_pk,
// detailIdstr: this.selectRoutingDetail.routing_detail_id
// };
// Api.removeoptasksimluate(params).then(r => {
// if (r.success) {
// this.deletelModal = false;
// this.$Message.success("删除成功");
// this.data1.splice(this.rowIndex, 1);
// }
// });
// },
removeCancel() {
this.deletelModal = false;
},
//删除工序时间end----- //删除工序时间end-----
cancel() { cancel() {
this.curId = 0; this.curId = 0;
......
...@@ -123,7 +123,11 @@ export default { ...@@ -123,7 +123,11 @@ export default {
key: "priority", key: "priority",
title: this.l("priority"), title: this.l("priority"),
align: "left", align: "left",
high: true high: true,
render: (h, params) => {
return h("span", {
},params.index+1);
}
}, },
{ {
key: "plan_qty", key: "plan_qty",
...@@ -258,7 +262,7 @@ export default { ...@@ -258,7 +262,7 @@ export default {
this.editModal = true; this.editModal = true;
this.curId = id; this.curId = id;
}, },
refresh(partPkId) { refresh(partPkId) {//恢复工序
let params = { let params = {
id: partPkId id: partPkId
}; };
...@@ -269,11 +273,14 @@ export default { ...@@ -269,11 +273,14 @@ export default {
}); });
}, },
remove(partPkId) {//移出排产池 remove(partPkId) {//移出排产池
let params = []; let paramsArry = [];
if (partPkId.constructor == Array) { if (partPkId.constructor == Array) {
params = partPkId; paramsArry = partPkId;
} else { } else {
params.push(partPkId); paramsArry.push(partPkId);
}
let params={
partPks:paramsArry
} }
Api.shiftoutapspool(params).then(r => { Api.shiftoutapspool(params).then(r => {
if (r.success) { if (r.success) {
......
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