Authored by 张文文

购买订单不显示删除地址

... ... @@ -68,7 +68,7 @@
checked="model.is_default"
v-model="model.is_default"
></Radio>
<div v-if="isUpdate && !isSeller" class="del-address" @click="delAddress">删除地址</div>
<div v-if="isUpdate && !isBuyerOrSeller" class="del-address" @click="delAddress">删除地址</div>
</div>
</div>
<div :class="submitClass" @touchend="onSubmit">确 认</div>
... ... @@ -116,7 +116,7 @@ export default {
},
isShowProvince: false,
isUpdate: false,
isSeller: false,
isBuyerOrSeller: false,
updateMobileNum: '',
isMobileNumEdit: false,
title: '',
... ... @@ -319,7 +319,7 @@ export default {
let addressInfo = this.updateAddressInfo;
//判断是否是出售订单,出售订单不显示“删除地址”
this.isSeller = this.$route.query.fromPage === 'OrderSellConfirm' ? true : false;
this.isBuyerOrSeller = this.$route.query.fromPage === 'OrderSellConfirm' || this.$route.query.fromPage === 'OrderBuyConfirm' ? true : false;
this.isUpdate = addressInfo.isUpdate;
this.orderCode = addressInfo.orderCode;
... ...