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.

79 lines
1.2 KiB

1 year ago
<template>
<view class="">
<uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true">
<u-line />
<template v-slot:title>
<itemQty :dataContent="dataContent" :isShowBalance="true"></itemQty>
</template>
<u-line />
<view v-for="(item, index) in dataContent.list">
<balance :dataContent="item" :isShowLocation="false" :isShowPack="isShowPack"
:isShowStdPack="false">
</balance>
<u-line />
</view>
</uni-collapse-item>
</uni-collapse>
</view>
</template>
<script>
import itemQty from '@/mycomponents/item/itemQty.vue'
import balance from '@/mycomponents/balance/balance.vue'
export default {
components: {
itemQty,
balance
},
data() {
return {
};
},
props: {
dataContent: {
type: Object,
default: {},
},
isShowPack: {
type: Boolean,
default: true
},
isShowBatch: {
type: Boolean,
default: true
},
isShowLocation: {
type: Boolean,
default: true
},
isShowStdPack: {
type: Boolean,
default: true
},
},
methods: {
edit() {
},
detail() {
},
remove() {
},
resetScan() {
}
}
}
</script>
<style>
</style>