fix: 代码优化

This commit is contained in:
黄泽群
2026-07-22 15:48:18 +08:00
parent c764781fff
commit a971f06267
8 changed files with 46 additions and 19 deletions
@@ -128,7 +128,11 @@ export default {
onItemSelect(item,xItem){
this.curSelectList.push(xItem);
this.curSelect++;
this.getAddressList(xItem.id);
this.getAddressList(xItem.id).then(() => {
if (!this.addressList.length) {
this.onOk();
}
});
},
onSelect(item,index){
this.curSelectList.splice(index + 1);
@@ -417,4 +421,4 @@ export default {
};
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped></style>
@@ -30,6 +30,12 @@
" class="order_item_header_right" :style="{ color: ORDER_STATUS_CSS[item.status] }">
{{ getValue(ORDER_STATUS, item.status) }}
</view>
<!-- 售后显示订单状态 -->
<view v-if="
form.type == MINE_ORDER_TYPE.AFTER_SALE
" class="order_item_header_right" :style="{ color: ORDER_STATUS_CSS[item.status] }">
{{ getValue(ORDER_STATUS, item.status) }}
</view>
<!-- 待付款 -->
<view v-if="