|
|
@ -3,52 +3,7 @@ |
|
|
|
<uni-popup ref="popup"> |
|
|
|
<requestDetailCommonInfo :dataContent="dataContent" @onClose="closePopup"> |
|
|
|
<view class=""> |
|
|
|
<view class="uni-flex uni-column"> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">包装号 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.packingNumber}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">器具号 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.containerNumber}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">批次 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.batch}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">替代批次 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.altBatch}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">到库位代码 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.toLocationCode}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">库存状态 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.inventoryStatus}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">订单号 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.poNumber}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">订单行 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.poLine}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">原因 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.reason}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">从货主代码 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.fromOwnerCode}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">到货主代码 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.toOwnerCode}} </text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<comListItem :dataList="dataList"></comListItem> |
|
|
|
</view> |
|
|
|
</requestDetailCommonInfo> |
|
|
|
</uni-popup> |
|
|
@ -57,16 +12,64 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import requestDetailCommonInfo from '@/mycomponents/detail/requestDetailCommonInfo.vue' |
|
|
|
import comListItem from '@/mycomponents/common/comListItem.vue'; |
|
|
|
export default { |
|
|
|
|
|
|
|
components: { |
|
|
|
requestDetailCommonInfo |
|
|
|
requestDetailCommonInfo, |
|
|
|
comListItem |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
dataContent: { |
|
|
|
type: Object, |
|
|
|
default: {} |
|
|
|
} |
|
|
|
}, |
|
|
|
dataList:[] |
|
|
|
} |
|
|
|
}, |
|
|
|
watch:{ |
|
|
|
dataContent: { |
|
|
|
handler(newName, oldName) { |
|
|
|
this.dataList=[{ |
|
|
|
title: '包装号', |
|
|
|
content: this.dataContent.packingNumber |
|
|
|
}, { |
|
|
|
title: '器具号', |
|
|
|
content: this.dataContent.containerNumber |
|
|
|
},{ |
|
|
|
title: '批次', |
|
|
|
content: this.dataContent.batch |
|
|
|
},{ |
|
|
|
title: '替代批次', |
|
|
|
content: this.dataContent.altBatch, |
|
|
|
},{ |
|
|
|
title: '到库位代码', |
|
|
|
content: this.dataContent.toLocationCode |
|
|
|
},{ |
|
|
|
title: '库存状态', |
|
|
|
content: this.dataContent.inventoryStatus, |
|
|
|
type:"inventoryStatus" |
|
|
|
},{ |
|
|
|
title: '订单号', |
|
|
|
content: this.dataContent.poNumber |
|
|
|
},{ |
|
|
|
title: '订单行', |
|
|
|
content: this.dataContent.poLine |
|
|
|
},{ |
|
|
|
title: '原因', |
|
|
|
content: this.dataContent.reason |
|
|
|
},{ |
|
|
|
title: '从货主代码', |
|
|
|
content: this.dataContent.fromOwnerCode, |
|
|
|
},{ |
|
|
|
title: '到货主代码', |
|
|
|
content: this.dataContent.toOwnerCode, |
|
|
|
} |
|
|
|
]; |
|
|
|
}, |
|
|
|
immediate: true, |
|
|
|
deep: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|