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.

120 lines
3.3 KiB

1 year ago
<template>
<view class="">
<uni-popup ref="popup">
<job-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.requestNumber}} </text>
</view>
<view class="item">
<text class="item_title">采购收货记录单号 : </text>
<text class="text_wrap">{{dataContent.purchaseReceiptRecordNumber}} </text>
</view>
<view class="item">
<text class="item_title">供应商代码 : </text>
<text class="text_wrap">{{dataContent.supplierCode}} </text>
</view>
<view class="item">
<text class="item_title">仓库代码 : </text>
<text class="text_wrap">{{dataContent.warehouseCode}} </text>
</view>
<view class="item">
<text class="item_title">货主代码 : </text>
<text class="text_wrap">{{dataContent.ownerCode}} </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.batch}} </text>
</view>
<view class="item">
<text class="item_title">物品代码 : </text>
<text class="text_wrap">{{dataContent.itemCode}} </text>
</view>
<view class="item">
<text class="item_title">检验类型 : </text>
12 months ago
<text class="text_wrap">{{getInspectType(dataContent.inspectType)}} </text>
1 year ago
</view>
<view class="item">
<text class="item_title">下一步检验动作 : </text>
<text class="text_wrap">{{dataContent.nextAction}} </text>
</view>
<view class="item">
<text class="item_title">抽检方式 : </text>
12 months ago
<text class="text_wrap">{{getSampleMethod(dataContent.sampleMethod)}} </text>
1 year ago
</view>
<view class="item">
<text class="item_title">计量单位 : </text>
12 months ago
<text class="text_wrap">{{getUnitInfo(dataContent.uom)}} </text>
1 year ago
</view>
<view class="item">
<text class="item_title">收货数量 : </text>
<text class="text_wrap">{{dataContent.receiveQty}} </text>
</view>
<view class="item">
<text class="item_title">样品数量 : </text>
<text class="text_wrap">{{dataContent.sampleQty}} </text>
</view>
</view>
</view>
<u-line></u-line>
</job-common-info>
</uni-popup>
</view>
</template>
<script>
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
12 months ago
import{getInspectType,
getSampleMethod,
getUnitInfo
} from "@/common/directory.js"
1 year ago
export default {
components: {
jobCommonInfo,
},
data() {
return {
dataContent: {
type: Object,
default: {}
}
}
},
mounted() {},
props: {},
methods: {
openPopup(val) {
this.dataContent = val;
this.$refs.popup.open('bottom')
},
closePopup() {
this.$refs.popup.close()
},
12 months ago
getInspectType(value){
return getInspectType(value);
},
getSampleMethod(value){
return getSampleMethod(value);
},
getUnitInfo(value){
var info = getUnitInfo(value)
return info.label;
},
1 year ago
}
}
</script>
<style>
</style>