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.
 
 
 
 

43 lines
870 B

<template>
<!-- <page-meta root-font-size="18px"></page-meta> -->
<uni-popup ref="popupItems">
<scroll-view scroll-y="true" >
<view v-for="(item, index) in receiptList" :key="index">
<com-receipt-job-card :dataContent="item" @click='selectItem(item)'></com-receipt-job-card>
<u-line></u-line>
</view>
</scroll-view>
</uni-popup>
</template>
<script>
import comReceiptJobCard from '@/pages/purchaseReceipt/coms/comReceiptJobCard.vue'
export default {
emits: ["selectedItem"],
components: {
comReceiptJobCard
},
props: {
},
data() {
return {
receiptList: []
}
},
methods: {
openPopup(items) {
this.receiptList = items;
this.$refs['popupItems'].open("center");
},
selectItem(item) {
this.$emit("selectedItem", item);
this.$refs['popupItems'].close();
},
}
}
</script>
<style>
</style>