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.
|
|
|
<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">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}} </text>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<text class="item_title">到库位类型范围 : </text>
|
|
|
|
<text class="text_wrap">{{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}} </text>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<text class="item_title">从库区代码范围 : </text>
|
|
|
|
<text class="text_wrap">{{dataContent.fromAreaCodes}} </text>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<text class="item_title">到库区代码范围 : </text>
|
|
|
|
<text class="text_wrap">{{dataContent.toAreaCodes}} </text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</job-common-info>
|
|
|
|
</uni-popup>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
dateFormat,
|
|
|
|
getDirectoryItemArray,
|
|
|
|
} from '@/common/basic.js';
|
|
|
|
import {
|
|
|
|
getInventoryStatusDesc,
|
|
|
|
getLocationTypeNameList
|
|
|
|
} from '@/common/directory.js';
|
|
|
|
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
|
|
|
|
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()
|
|
|
|
},
|
|
|
|
getDirectoryItemArray(value){
|
|
|
|
return getDirectoryItemArray(value)
|
|
|
|
},
|
|
|
|
|
|
|
|
getLocationTypeNameList(value){
|
|
|
|
return getLocationTypeNameList(value)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|