|
@@ -13,7 +13,9 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="出库物品类型">
|
|
<el-form-item label="出库物品类型">
|
|
|
- <span>{{ handleAssetType(infoData.extInfo.assetType) }}</span>
|
|
|
|
|
|
|
+ <span>{{
|
|
|
|
|
+ handleAssetType(infoData.extInfo?.assetType)
|
|
|
|
|
+ }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -23,7 +25,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="关联订单:">
|
|
<el-form-item label="关联订单:">
|
|
|
- <span>{{ extInfo.documentSource }}</span>
|
|
|
|
|
|
|
+ <span>{{ extInfo?.documentSource }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8" v-if="infoData.bizType == 3">
|
|
<el-col :span="8" v-if="infoData.bizType == 3">
|
|
@@ -78,7 +80,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="领料人部门">
|
|
<el-form-item label="领料人部门">
|
|
|
- <span>{{ infoData.extInfo.verifyDeptName }}</span>
|
|
|
|
|
|
|
+ <span>{{ infoData.extInfo?.verifyDeptName }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -629,12 +631,16 @@
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
let res = {};
|
|
let res = {};
|
|
|
|
|
+ console.log('isInterior', this.isInterior);
|
|
|
if (this.isInterior) {
|
|
if (this.isInterior) {
|
|
|
res = await storageApi.getInboundDetailsById(id);
|
|
res = await storageApi.getInboundDetailsById(id);
|
|
|
} else {
|
|
} else {
|
|
|
res = await storageApi.getInfoBySourceBizNo(id);
|
|
res = await storageApi.getInfoBySourceBizNo(id);
|
|
|
}
|
|
}
|
|
|
- console.log('===', res);
|
|
|
|
|
|
|
+ console.log(
|
|
|
|
|
+ '===============================================================',
|
|
|
|
|
+ res
|
|
|
|
|
+ );
|
|
|
this.infoData = res;
|
|
this.infoData = res;
|
|
|
this.extInfo = res.extInfo;
|
|
this.extInfo = res.extInfo;
|
|
|
this.productList = res.outInDetailList.map(
|
|
this.productList = res.outInDetailList.map(
|