Commit 4006cb5c authored by renjintao's avatar renjintao

opration修改/工序列表修改

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