[fix]购物车下单,检查是否有数量

main
huyuanxiang 2 years ago
parent 93e94b5a83
commit ecaf26c40e

@ -109,21 +109,19 @@
{{ goods.createTime }}
</view>
</view>
<view class="tips margin0" v-if="goods.dispacherRemark || goods.financeRemark || goods.materialRemark">
<view class="tips margin0" v-if="goods.state == 5 && (goods.financeRemark ||goods.materialRemark || goods.dispacherRemark)">
<view class="tips_name">退单原因</view>
<view class="textarea_box" v-if="goods.materialRemark">
<textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.materialRemark">
</textarea>
</view>
<view class="textarea_box" v-if="goods.dispacherRemark">
<view class="textarea_box" v-else-if="goods.dispacherRemark">
<textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.dispacherRemark">
</textarea>
</view>
<view class="textarea_box" v-if="goods.financeRemark">
<view class="textarea_box" v-else-if="goods.financeRemark">
<textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.financeRemark">
</textarea>

@ -384,6 +384,7 @@
},
settlement() { //
if (this.sum == 0) {
this.$toast('您还没选择商品')
return
}

Loading…
Cancel
Save