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.

70 lines
1.4 KiB

1 year ago
<template>
<view class="">
<uni-popup ref="popup">
<request-common-info :dataContent="dataContent" @onClose="closePopup">
<view class="">
<comListItem :dataList="dataList"></comListItem>
</view>
<u-line></u-line>
</request-common-info>
</uni-popup>
</view>
</template>
<script>
import requestCommonInfo from '@/mycomponents/request/requestCommonInfo.vue'
import comListItem from '@/mycomponents/common/comListItem.vue';
export default {
components: {
requestCommonInfo,
comListItem
},
data() {
return {
dataContent: {},
dataList: []
}
},
mounted() {},
props: {},
methods: {
openPopup(val) {
this.dataContent = val;
this.dataList = [{
title: '从仓库代码',
content: this.dataContent.fromWarehouseCode
}, {
title: '到仓库代码',
content: this.dataContent.toWarehouseCode
}, {
title: '从库位类型范围',
content: this.dataContent.fromLocationTypes,
}, {
title: '到库位类型范围',
content: this.dataContent.toLocationTypes,
}, {
title: '从库区代码范围',
content: this.dataContent.fromAreaCodes,
}, {
title: '到库区代码范围',
content: this.dataContent.toAreaCodes,
}, {
title: '供应商代码',
content: this.dataContent.supplierCode,
}];
this.$refs.popup.open('bottom')
},
closePopup() {
this.$refs.popup.close()
},
}
}
</script>
<style>
</style>