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.
|
|
|
<template>
|
|
|
|
<view class="" style="background: white">
|
|
|
|
<u-collapse ref="collapse1" @change="">
|
|
|
|
<u-collapse-item :open="true">
|
|
|
|
<view class="split_line"></view>
|
|
|
|
<template v-slot:title>
|
|
|
|
<itemQty :dataContent="dataContent" :isShowBalance="true" style="width;100%; padding: 0px 20rpx"></itemQty>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<view v-for="(item, index) in dataContent.list">
|
|
|
|
<balance :dataContent="item" :isShowFromLocation="false" :isShowPack="isShowPack" :isShowStdPack="false"> </balance>
|
|
|
|
</view>
|
|
|
|
</u-collapse-item>
|
|
|
|
</u-collapse>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import itemQty from '@/mycomponents/item/itemQty.vue'
|
|
|
|
import balance from '@/mycomponents/balance/balance.vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
dataContent: {
|
|
|
|
type: Object,
|
|
|
|
default: {}
|
|
|
|
},
|
|
|
|
isShowPack: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowBatch: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowLocation: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowStdPack: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style></style>
|