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.
 
 
 
 

54 lines
1.1 KiB

<template>
<!-- <page-meta root-font-size="18px"></page-meta> -->
<uni-popup ref="popupItems">
<scroll-view scroll-y="true" style="background-color: #000;height: 80vh;">
<view class="" style=" margin: 10rpx;background-color:#EBEEF0;" v-for="(item, index) in showList" :key="index" @click="openDetail(item)">
<jobCard :dataContent="item"
:disabled="true"
:propertyList="propertyList"
></jobCard>
</view>
</scroll-view>
</uni-popup>
</template>
<script>
import jobCard from '@/mycomponents/job/jobCard.vue';
export default {
emits:["selectedItem"],
components: {
jobCard
},
props: {
},
data (){
return {
showList: [],
propertyList:[]
}
},
methods:{
openPopup(items) {
this.showList = items;
this.showList.forEach(res=>{
var temp = {
name:"发货单号",
value:res.asnNumber
}
this.propertyList.push(temp)
})
this.$refs['popupItems'].open("center");
},
openDetail(item) {
this.$emit("selectedItem", item);
this.$refs['popupItems'].close();
},
}
}
</script>
<style>
</style>