Commit 41c71ed6 authored by 何远江's avatar 何远江

bug修改

parent 57018328
...@@ -376,15 +376,18 @@ export default { ...@@ -376,15 +376,18 @@ export default {
) )
); );
} else if (this.form.ZZXFS == "BL+PL" && !this.isEdit) { } else if (this.form.ZZXFS == "BL+PL" && !this.isEdit) {
console.log('新增-----');
this.goodsList.forEach((ele) => { this.goodsList.forEach((ele) => {
arr.push({ arr.push({
...ele, ...ele,
...this.form, ...this.form,
...baseParams, ...baseParams,
PLNR: ele.PLNR,
ZCODE: this.blNum, ZCODE: this.blNum,
UNAME: this.vuex_user.userName, UNAME: this.vuex_user.userName,
}); });
}); });
console.log(arr, 'arr0------');
} else { } else {
this.goodsList.forEach((ele) => { this.goodsList.forEach((ele) => {
arr.push({ arr.push({
...@@ -396,7 +399,6 @@ export default { ...@@ -396,7 +399,6 @@ export default {
}); });
}); });
} }
this.$u.api.sapApi.sapCasePlnr(arr).then((res) => { this.$u.api.sapApi.sapCasePlnr(arr).then((res) => {
if (!Array.isArray(res)) { if (!Array.isArray(res)) {
return; return;
......
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