Commit 70443c28 authored by zhengyi's avatar zhengyi

订单相关-到仓详情页面不显示未到仓数据

parent 3dccd3c5
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="$t('到仓详情')" name="seven"> <el-tab-pane :label="$t('到仓详情')" name="seven">
<check-detail-prod :list="order.orderItemVOList" <check-detail-prod :list="getWarehouseCheckInfo(order.orderItemVOList)"
:attr-list="attrList" :attr-list="attrList"
:prod-type-list="prodTypeList" :prod-type-list="prodTypeList"
:currency-map="currencyMap" :currency-map="currencyMap"
...@@ -598,6 +598,18 @@ export default { ...@@ -598,6 +598,18 @@ export default {
handleChange(val){ handleChange(val){
this.showText = val.length>0? this.$t('隐藏') : this.$t('显示更多') this.showText = val.length>0? this.$t('隐藏') : this.$t('显示更多')
}, },
getWarehouseCheckInfo(){
return (itemList) => {
let warehouseCheckInfoData = [];
for (let index in itemList) {
let item = itemList[index];
if (item.warehouseCheckInfoVO) {
warehouseCheckInfoData.push(item)
}
}
return warehouseCheckInfoData;
};
},
getAirCompany(){ getAirCompany(){
getSupplier(this.order.airlineCompany).then(res => { getSupplier(this.order.airlineCompany).then(res => {
this.$set(this.order,'companyName',this.$l(res.data,'company')) this.$set(this.order,'companyName',this.$l(res.data,'company'))
......
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