|
@ -3,7 +3,7 @@ |
|
|
<view class="uni-flex uni-row "> |
|
|
<view class="uni-flex uni-row "> |
|
|
<status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status> |
|
|
<status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status> |
|
|
<view class="uni-flex uni-row center"> |
|
|
<view class="uni-flex uni-row center"> |
|
|
<view v-if ="Number(handleQty)>0"> |
|
|
<view v-if ="Number(handleQty)!=0"> |
|
|
<view v-if="Number(recommendQty)>Number(handleQty)" class="text_greater"> |
|
|
<view v-if="Number(recommendQty)>Number(handleQty)" class="text_greater"> |
|
|
{{Number(handleQty)}} |
|
|
{{Number(handleQty)}} |
|
|
</view> |
|
|
</view> |
|
@ -15,13 +15,13 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view v-if="Number(handleQty)>0 " class="std_split">/</view> |
|
|
<view v-if="Number(handleQty)!=0" class="std_split">/</view> |
|
|
<view v-if="isShowRecommendQty" class="text_recommend center"> |
|
|
<view v-if="isShowRecommendQty" class="text_recommend center"> |
|
|
{{Number(recommendQty)}} |
|
|
{{Number(recommendQty)}} |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<uom v-show="Number(handleQty)>0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom"></uom> |
|
|
<uom v-show="Number(handleQty)!=0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom"></uom> |
|
|
</view> |
|
|
</view> |
|
|
<view> |
|
|
<view> |
|
|
<std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> |
|
|
<std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> |
|
@ -80,7 +80,12 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
|
|
|
handleQty: { |
|
|
|
|
|
handler(newName, oldName) { |
|
|
|
|
|
}, |
|
|
|
|
|
immediate: true, |
|
|
|
|
|
deep: true |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|