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.

52 lines
928 B

2 years ago
<template>
<view class="uni-flex uni-row" @click="openDetail()">
<text>{{containerCode}}|</text>
<text >查看详情</text>
</view>
<uni-popup ref="popup">
<view style="background-color: white;width: 230px; height:60%;">
<view class="uni-flex uni-row">
<text>托码:</text>
<text>{{containerCode}}</text>
</view>
<view class="uni-flex uni-row" v-for="(item,index) in packList">
<text>箱码:{{item.packingCode}}</text>
</view>
</view>
</uni-popup>
</template>
<script>
export default {
data() {
return {
packList: []
}
},
props: {
containerCode: ""
},
methods: {
openDetail() {
let that = this;
this.$refs['popup'].open('center');
//调用按托码查询库存余额接口
that.packList.push({
packingCode: '箱码1'
}, {
packingCode: '箱码2'
}, {
packingCode: '箱码3'
})
}
}
}
</script>
<style>
</style>