You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
2.9 KiB
109 lines
2.9 KiB
12 months ago
|
<template>
|
||
|
<view class="">
|
||
|
<uni-popup ref="popup">
|
||
|
<detail-common-info :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.stdPackQty}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">标包单位 : </text>
|
||
|
<text class="text_wrap">{{getStdPackUnitInfo(dataContent.stdPackUnit)}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">供应商计量数量 : </text>
|
||
|
<text class="text_wrap">{{dataContent.supplierQty}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">供应商计量单位 : </text>
|
||
|
<text class="text_wrap">{{getStdPackUnitInfo(dataContent.supplierUom)}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">转换率 : </text>
|
||
|
<text class="text_wrap">{{dataContent.convertRate}} </text>
|
||
|
</view>
|
||
|
|
||
|
</view>
|
||
|
</view>
|
||
|
<u-line></u-line>
|
||
|
<view class="">
|
||
|
<view class="uni-flex uni-column">
|
||
|
<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.projectCode}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">到货日期 : </text>
|
||
|
<text class="text_wrap">{{dateFormat(dataContent.arriveDate)}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">生产日期 : </text>
|
||
|
<text class="text_wrap">{{dateFormat(dataContent.produceDate)}} </text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="item_title">过期日期 : </text>
|
||
|
<text class="text_wrap">{{dateFormat(dataContent.expireDate)}} </text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</detail-common-info>
|
||
|
</uni-popup>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {getStdPackUnitInfo} from "@/common/directory.js"
|
||
|
import {
|
||
|
dateFormat
|
||
|
} from '@/common/basic.js';
|
||
|
import detailCommonInfo from '@/mycomponents/detail/detailCommonInfo.vue'
|
||
|
export default {
|
||
|
components: {
|
||
|
detailCommonInfo
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
dataContent: {
|
||
|
type: Object,
|
||
|
default: {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
|
||
|
mounted() {},
|
||
|
props: {},
|
||
|
|
||
|
methods: {
|
||
|
openPopup(val) {
|
||
|
this.dataContent = val;
|
||
|
this.$refs.popup.open('bottom')
|
||
|
},
|
||
|
closePopup() {
|
||
|
this.$refs.popup.close()
|
||
|
},
|
||
|
getStdPackUnitInfo(value){
|
||
|
return getStdPackUnitInfo(value).label
|
||
|
},
|
||
|
dateFormat(value){
|
||
|
return dateFormat(value)
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
|
||
|
|
||
|
</style>
|