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.

97 lines
2.5 KiB

1 year ago
<template>
<view class="">
<view class="uni-flex uni-column">
<view>
<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">{{dateFormat(dataContent.requestTime)}} </text>
1 year ago
</view>
<view class="item">
<text class="item_title">要求截至时间 : </text>
<text class="text_wrap">{{dateFormat(dataContent.requestDueTime)}} </text>
1 year ago
</view>
<view class="item">
<text class="item_title">从仓库代码 : </text>
<text class="text_wrap">{{dataContent.fromWarehouseCode}} </text>
</view>
<view class="item">
<text class="item_title">到仓库代码 : </text>
<text class="text_wrap">{{dataContent.toWarehouseCode}} </text>
</view>
<view class="item">
<text class="item_title">出库库存状态范围 : </text>
<text class="text_wrap">{{getInventoryStatusDesc(getDirectoryItemArray(dataContent.outInventoryStatuses))}} </text>
</view>
<view class="item">
<text class="item_title">入库库存状态范围 : </text>
<text class="text_wrap">{{getInventoryStatusDesc(getDirectoryItemArray(dataContent.inInventoryStatuses))}} </text>
</view>
<view class="item">
<text class="item_title">从库位类型范围 : </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
</view>
<view class="item">
<text class="item_title">到库位类型范围 : </text>
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
</view>
1 year ago
</view>
</view>
</view>
</template>
<script>
import {
dateFormat,
getDirectoryItemArray,
} from '@/common/basic.js';
import {
getInventoryStatusDesc,
getLocationTypeNameList
} from '@/common/directory.js';
1 year ago
export default {
components: {},
data() {
return {
list:["OK"]
1 year ago
}
},
mounted() {},
props: {
dataContent: {
type: Object,
default: {}
}
},
methods: {
dateFormat(value){
return dateFormat(value)
},
getInventoryStatusDesc(value){
return getInventoryStatusDesc(value)
},
getDirectoryItemArray(value){
return getDirectoryItemArray(value)
},
getLocationTypeNameList(value){
return getLocationTypeNameList(value)
}
}
1 year ago
}
</script>
<style>
</style>