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.
73 lines
1.2 KiB
73 lines
1.2 KiB
<template>
|
|
<view>
|
|
<view class="center">
|
|
<view class="uni-flex uni-row" style="font-size: 40rpx;">
|
|
<text>
|
|
{{Number(dataContent.qty)}}
|
|
</text>
|
|
</view>
|
|
<uom v-if="dataContent.stdPackQty==undefined" :uom="dataContent.uom"></uom>
|
|
</view>
|
|
<view class="uni-flex uni-row center">
|
|
<std-pack-qty :dataContent="dataContent"></std-pack-qty>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import stdPackQty from '@/mycomponents/qty/stdPackQty.vue'
|
|
import uom from '@/mycomponents/qty/uom.vue'
|
|
import status from '@/mycomponents/status/status.vue'
|
|
|
|
export default {
|
|
components: {
|
|
stdPackQty,
|
|
uom,
|
|
status
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
// 此处定义传入的数据
|
|
props: {
|
|
type: {
|
|
type: String,
|
|
default: 'default' //recommend:推荐 compare:对比
|
|
},
|
|
|
|
dataContent: {
|
|
type: Object,
|
|
default: {}
|
|
},
|
|
recommendQty: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
|
|
handleQty: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
|
|
isShowStatus: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
isShowStdPack: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
},
|
|
watch: {
|
|
|
|
},
|
|
methods: {
|
|
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
</style>
|
|
|