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.
 
 
 
 

161 lines
3.2 KiB

<template>
<view class="">
<uni-popup ref="popup">
<recordDetailCommonInfo :dataContent="dataContent" @onClose="closePopup">
<view class="" v-if="dataList.length>0">
<comListItem :dataList="dataList"></comListItem>
</view>
<u-line></u-line>
</recordDetailCommonInfo>
</uni-popup>
</view>
</template>
<script>
import {
dateFormat
} from '@/common/basic.js';
import recordDetailCommonInfo from '@/mycomponents/detail/recordDetailCommonInfo.vue'
import comListItem from '@/mycomponents/common/comListItem.vue';
export default {
components: {
recordDetailCommonInfo,
comListItem
},
data() {
return {
dataContent: {},
dataList: []
}
},
watch: {
dataContent: {
handler(newName, oldName) {
},
immediate: true,
deep: true
}
},
mounted() {},
props: {
},
methods: {
openPopup(val) {
this.dataContent = val;
this.dataList = [{
title: '从包装号',
content: this.dataContent.fromPackingNumber
},
{
title: '到包装号',
content: this.dataContent.toPackingNumber
}, {
title: '从器具号',
content: this.dataContent.fromContainerNumber
},
{
title: '从批次',
content: this.dataContent.fromBatch
},
{
title: '到批次',
content: this.dataContent.toBatch
},
{
title: '替代批次',
content: this.dataContent.altBatch
},
{
title: '到货日期',
content: this.dataContent.arriveDate,
type:"dateTime"
},
{
title: '生产日期',
content: this.dataContent.produceDate,
type:"dateTime"
},
{
title: '过期日期',
content: this.dataContent.expireDate,
type:"dateTime"
},
{
title: '订单号',
content: this.dataContent.poNumber
},
{
title: '订单行',
content: this.dataContent.PoLine
},
{
title: '标包数量',
content: this.dataContent.stdPackQty
},
{
title: '标包单位',
content: this.dataContent.stdPackUnit
},{
title: '供应商计量数量',
content: this.dataContent.supplierQty
},
{
title: '供应商计量单位',
content: this.dataContent.supplierUom
},
{
title: '转换率',
content: this.dataContent.convertRate
},
{
title: '从库位代码',
content: this.dataContent.fromLocationCode
},
{
title: '从库位组代码',
content: this.dataContent.fromLocationGroupCode
},
{
title: '从库区代码',
content: this.dataContent.fromAreaCode
},
{
title: '到库位代码',
content: this.dataContent.toLocationCode
},
{
title: '到库位组代码',
content: this.dataContent.toLocationGroupCode
},
{
title: '到库区代码',
content: this.dataContent.toAreaCode
},
{
title: '从货主代码',
content: this.dataContent.fromOwnerCode
},
{
title: '到货主代码',
content: this.dataContent.toOwnerCode
}
]
this.$refs.popup.open('bottom')
},
closePopup() {
this.$refs.popup.close()
},
}
}
</script>
<style>
</style>