Commit 69e24a70 authored by 仇晓婷's avatar 仇晓婷

wul

parent 2e82c336
...@@ -254,12 +254,20 @@ export default { ...@@ -254,12 +254,20 @@ export default {
let codeList = []; let codeList = [];
let idList = []; let idList = [];
if (this.eid !== 0) { if (this.eid !== 0) {
if (this.entity.code) {
codeList.push(this.entity.code);
} else {
codeList.push(this.eid);
}
idList.push(this.eid); idList.push(this.eid);
codeList.push(this.entity.code);
} else { } else {
this.rowsTable.forEach(e => { this.rowsTable.forEach(e => {
idList.push(e.id); idList.push(e.id);
codeList.push(e.code); if (e.code) {
codeList.push(e.code);
} else {
codeList.push(e.id);
}
}); });
} }
this.dataListRetrunNew.idList = idList; this.dataListRetrunNew.idList = idList;
...@@ -271,8 +279,6 @@ export default { ...@@ -271,8 +279,6 @@ export default {
this.ModalInfoStaut = "orderSendReview"; this.ModalInfoStaut = "orderSendReview";
this.metCodesStrTxt = "确定物料 " + metCodesStr + "?"; this.metCodesStrTxt = "确定物料 " + metCodesStr + "?";
this.ModalInfo = true; this.ModalInfo = true;
alert(this.dataListRetrunNew.idList);
alert(this.dataListRetrunNew.codeList);
}, },
modalInfoOk() { modalInfoOk() {
let ues = this.$refs.userProcess; let ues = this.$refs.userProcess;
......
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