Commit 550d0867 authored by renjintao's avatar renjintao

mesplan

parent de2028fd
......@@ -303,7 +303,7 @@ export default {
{
attrs: { oprate: "edit" },
on: { click: () => this.edit(params.row) },
style: params.row._disabled ? "display:none" : ""
style: params.row._disabled||params.row.id!=params.row.rootId ? "display:none" : ""
},
"编辑"
),
......@@ -321,7 +321,7 @@ export default {
{
attrs: { oprate: "detail" },
on: { click: () => this.split(params.row) },
style: params.row._disabled ? "display:none" : ""
style: params.row._disabled&&params.row.status!=1 ? "display:none" : ""
},
"分解"
)
......@@ -591,15 +591,15 @@ export default {
let metCodesSingle = []; //没有子订单的订单
let metCodesFather = []; //有子订单的原始订单
this.actIds = [];
alert(JSON.stringify(this.rowDataArry))
if (this.rowDataArry.length > 0) {
this.rowDataArry.forEach(data => {
this.delNum = 0;
this.actIds.push(data.id);
if (data.id == data.rootId) {
if (data.id != data.rootId) {
//this.metCodesSingle.push(data.id);
} else {
this.sondeletecheck(row.rootId);
}
this.sondeletecheck(data.rootId);
}
});
setTimeout(() => {
......
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