|
|
@@ -533,11 +533,16 @@ export default {
|
|
|
this.isIds
|
|
|
);
|
|
|
if (this.isIds) {
|
|
|
- this.infoData = resAll[0];
|
|
|
+ this.infoData = JSON.parse(JSON.stringify(resAll[0]));
|
|
|
this.extInfo = resAll[0].extInfo;
|
|
|
- res = resAll[0];
|
|
|
- res['bizNo'] = resAll.map((item) => item.bizNo);
|
|
|
- res.outInDetailList = resAll.map((item) => item.outInDetailList[0]);
|
|
|
+ this.infoData['outInDetailList']=[]
|
|
|
+ resAll.forEach(item=>{
|
|
|
+ item.outInDetailList.forEach(val=>{
|
|
|
+ val['bizNo']=item.bizNo
|
|
|
+ this.infoData['outInDetailList'].push(val)
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
console.log('resAll---------------', resAll);
|
|
|
} else {
|
|
|
this.infoData = res;
|
|
|
@@ -551,9 +556,9 @@ export default {
|
|
|
|
|
|
this.productList = res.outInDetailList.map(
|
|
|
(productItem, productIndex) => {
|
|
|
- if (this.isIds) {
|
|
|
- productItem['bizNo'] = res.bizNo[productIndex];
|
|
|
- }
|
|
|
+ // if (this.isIds) {
|
|
|
+ // productItem['bizNo'] = res.bizNo[productIndex];
|
|
|
+ // }
|
|
|
return {
|
|
|
...productItem,
|
|
|
outInDetailRecordRequestList:
|