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