Commit 4006cb5c authored by renjintao's avatar renjintao

opration修改/工序列表修改

parent 70deed81
......@@ -63,7 +63,7 @@ export default {
handler() {
if (this.oprate == "delete") {
this.$Modal.confirm({
title: "确认",
title: this.title,
content: "<p>" + this.msg + "</p>",
onOk: () => {
this.$emit("click", event);
......
......@@ -134,9 +134,9 @@ export default {
h(
"op",
{
attrs: { oprate: "remove" },
on: { click: () => this.edit(params.row) },
style: params.row.status == 14 ? "" : "display:none"
props: { oprate: "delete",title:"操作信息",msg:"确定暂停工序:"+params.row.detailName+"?" },
style: params.row.status == 14 ? "" : "display:none",
on: { click: () => this.pause(params.row) },
},
"暂停"
),
......@@ -144,10 +144,19 @@ export default {
"op",
{
attrs: { oprate: "edit" },
on: { click: () => this.remove(params.row) },
style: params.row.status == 5 ? "" : "display:none"
style: params.row.status == 5 ? "" : "display:none",
on: { click: () => this.split(params.row) },
},
"分卡"
),
h(
"op",
{
props: { oprate: "delete",msg:"确定继续执行工序:"+params.row.detailName+"?" },
style: params.row.status == 5 ? "" : "display:none",
on: { click: () => this.continue(params.row) },
},
"继续"
)
]);
}
......
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