Commit 1c14178d by 张立顺

修复地址为空的处理

1 parent 02bea569
......@@ -30,6 +30,7 @@
<el-input-number v-model="handleItemInfo.goodsNumber" :min="1" :max="9999"></el-input-number>
</div>
<div class="tips">
<!-- goodsItem.goodsType == 1 -->
{{ membraneTypeList.includes(goodsInfo.goodsType) ? `卷(1卷=${goodsInfo.convertedValue || 30}米)` : '件' }}
</div>
</div>
......
......@@ -68,7 +68,7 @@
<ul class="orderInfoCom">
<li class="item" v-for="(item, index) in addressInfoList" :key="index">
<span class="label">{{ item.label }}</span>
<span class="conten">{{ addressInfo[item.name] }}</span>
<span class="conten">{{ $$(addressInfo, [item.name]) }}</span>
</li>
</ul>
</div>
......@@ -91,6 +91,7 @@ export default {
},
data() {
return {
// addressInfo: {},
membraneTypeList,
drawer: false,
dialogShow: false,
......@@ -173,7 +174,7 @@ export default {
validateGoodsNumber() {
// 判断 是否有地址
if (!this.addressInfo.id) {
this.$message.warning('请选择地址')
this.$message.warning('请先填写地址')
return
}
// 判断 是否有选中的商品
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!