Browse Source

feat: delete RecommendQty

master
TengXF 6 months ago
parent
commit
240226d33d
  1. 72
      src/mycomponents/qty/RecommendQty.vue

72
src/mycomponents/qty/RecommendQty.vue

@ -1,72 +0,0 @@
<template>
<view>
<view class="uni-flex uni-row center">
<status v-if="isShowStatus" :status='dataContent.inventoryStatus'></status>
<view class="text_recommend ">
{{Number(dataContent.qty)}}
</view>
<uom v-show="!isShowStdPack" :uom="dataContent.uom"></uom>
</view>
<view>
<std-pack-qty v-show="isShowStdPack" :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>
Loading…
Cancel
Save