|
|
@ -3,13 +3,17 @@ |
|
|
|
<view style="flex: 1;"> |
|
|
|
<item :dataContent="dataContent"></item> |
|
|
|
</view> |
|
|
|
<view style="width: 40%;display: flex;justify-content:flex-end;margin-right: 10rpx;word-break:break-word"> |
|
|
|
<view style="width: 40%;display: flex; flex-direction: column; align-items: flex-end; justify-content:flex-end;margin-right: 10rpx;word-break:break-word; "> |
|
|
|
<recommend-qty v-if="handleQty==0" :dataContent="dataContent" :isShowStatus="false" :isShowStdPack="true" |
|
|
|
></recommend-qty> |
|
|
|
<!-- :objTextStyle='objTextStyle' --> |
|
|
|
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)" |
|
|
|
:handleQty="Number(handleQty)" :isShowStatus="false" :isShowPackUnit="isShowPackUnit"> |
|
|
|
</compare-qty> |
|
|
|
<view class="text_packQty" style="margin-top: 5rpx; margin-right: 20rpx;" v-if="isShowPackCount" > |
|
|
|
{{dataContent.fromPackCount}}/{{dataContent.toPackCount}} |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
@ -53,6 +57,10 @@ |
|
|
|
objTextStyle: { |
|
|
|
type: Object, |
|
|
|
default: null |
|
|
|
}, |
|
|
|
isShowPackCount: { |
|
|
|
type: Boolean, |
|
|
|
default: false |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|