|
|
@ -4,9 +4,11 @@ |
|
|
|
<item :dataContent="dataContent"></item> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
|
|
|
|
<!-- showBalanceQty --> |
|
|
|
<balanceQty v-if="showItemQty" :dataContent="dataContent"></balanceQty> |
|
|
|
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)" |
|
|
|
:handleQty="dataContent.handleQty" :isShowStatus="false"> |
|
|
|
:handleQty="dataContent.handleQty" :isShowStatus="false" :isShowStdPack="showStdPack"> |
|
|
|
</compare-qty> |
|
|
|
</view> |
|
|
|
<!-- <view v-else> |
|
|
@ -18,7 +20,6 @@ |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
|
|
|
|
import item from '@/mycomponents/item/item.vue' |
|
|
|
import balanceQty from '@/mycomponents/qty/balanceQty.vue' |
|
|
|
import compareQty from '@/mycomponents/qty/compareQty.vue' |
|
|
@ -47,7 +48,11 @@ |
|
|
|
showItemQty: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
} |
|
|
|
}, |
|
|
|
showStdPack: { |
|
|
|
type: Boolean, |
|
|
|
default: false |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
|
|
|
|