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

1 year 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">
11 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>
1 year 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'
11 months ago
1 year 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
},
},
11 months ago
methods: {}
1 year ago
}
</script>
<style>
</style>