Commit 0427eefc authored by renjintao's avatar renjintao

metcodesFather

parent a6f7ce42
...@@ -925,6 +925,13 @@ export default { ...@@ -925,6 +925,13 @@ export default {
} else if (data.id != data.rootId) { } else if (data.id != data.rootId) {
//判断子订单是否可以删除 //判断子订单是否可以删除
this.sondeletecheck(data.rootId); this.sondeletecheck(data.rootId);
} else {
if (data.id == data.rootId && data.status == 1) {
metCodesSingle.push(data.mesCode);
} else if (data.id != data.rootId && data.status == 1) {
alert("1111")
metCodesFather.push(data.rootCode);
}
} }
}); });
setTimeout(() => { setTimeout(() => {
...@@ -933,6 +940,7 @@ export default { ...@@ -933,6 +940,7 @@ export default {
this.actIds = []; this.actIds = [];
this.deletelModal = false; this.deletelModal = false;
} else { } else {
alert(JSON.stringify(metCodesSingle)+"__"+JSON.stringify(metCodesFather))
this.deletelModal = true; this.deletelModal = true;
} }
}, 400); }, 400);
......
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