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.
 
 
 
 

78 lines
1.6 KiB

<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">
<!-- <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>
</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'
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
},
},
methods: {}
}
</script>
<style>
</style>