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

main
huyuanxiang 2 years ago
parent 93e94b5a83
commit ecaf26c40e

@ -109,21 +109,19 @@
{{ goods.createTime }} {{ goods.createTime }}
</view> </view>
</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="tips_name">退单原因</view>
<view class="textarea_box" v-if="goods.materialRemark"> <view class="textarea_box" v-if="goods.materialRemark">
<textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1" <textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.materialRemark"> v-model="goods.materialRemark">
</textarea> </textarea>
</view> </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" <textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.dispacherRemark"> v-model="goods.dispacherRemark">
</textarea> </textarea>
</view> </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" <textarea disabled="true" placeholder-class="font-size: 24upx" maxlength="-1"
v-model="goods.financeRemark"> v-model="goods.financeRemark">
</textarea> </textarea>

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

Loading…
Cancel
Save