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.6 KiB

12 months ago
<template>
<view>
<com-empty-view v-if="itemList.length==0"></com-empty-view>
<view class="" style="background-color: #fff; width: 100%;" v-for="(item,index) in itemList">
10 months ago
<!-- <view class="flex uni-center u-col-center" style="flex-direction: row; "> -->
<view>
<com-item-balance :dataContent="item" :isShowStdPack="false" :isShowPack="isShowPack"
:isShowBatch="isShowBatch" :isShowLocation="isShowLocation" :isShowBusiness="isShowBusiness">
</com-item-balance>
12 months ago
</view>
</view>
</view>
</template>
<script>
import {
getBusinessTypeDesc
} from '@/common/directory.js';
import comEmptyView from '@/mycomponents/common/comEmptyView.vue'
import Batch from "@/mycomponents/Batch/Batch.vue"
import location from '@/mycomponents/location/location.vue'
import comItemBalance from '@/pages/query/coms/comItemBalance.vue'
import bussinessType from '@/mycomponents/balance/bussinessType.vue'
10 months ago
12 months ago
export default {
name: "comdetail",
components: {
comEmptyView,
Batch,
location,
bussinessType,
comItemBalance
},
data() {
return {};
},
// 此处定义传入的数据
props: {
itemList: {
type: Array,
value: null
},
displayLocations: {
type: Boolean,
default: true
},
type: {
type: String,
default: "partCode"
},
isShowPack: {
type: Boolean,
default: true
},
isShowBatch: {
type: Boolean,
default: true
},
isShowLocation: {
type: Boolean,
default: true
},
isShowBusiness: {
type: Boolean,
default: false
},
},
10 months ago
methods: {}
12 months ago
}
</script>
<style>
</style>