修改部分已知的代码问题

This commit is contained in:
lemon橪
2021-09-28 17:56:21 +08:00
parent 3b9b2e8ba2
commit c98c5b64e1
4 changed files with 4 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ export default {
face: storage.getUserInfo().face || "/static/missing-face.png", //默认头像 face: storage.getUserInfo().face || "/static/missing-face.png", //默认头像
regionId: [], //地址Id regionId: [], //地址Id
region: storage.getUserInfo().region || [], //地址 region: storage.getUserInfo().region || [], //地址
sex: storage.getUserInfo().sex || 1, //性别 sex: storage.getUserInfo().sex, //性别
___path: storage.getUserInfo().region, ___path: storage.getUserInfo().region,
}, },
birthday: storage.getUserInfo().birthday || "", //生日 birthday: storage.getUserInfo().birthday || "", //生日

View File

@@ -339,9 +339,7 @@ export default {
getAfterSaleReason(serviceType).then((res) => { getAfterSaleReason(serviceType).then((res) => {
if (res.data.success) { if (res.data.success) {
// 1357583466371219456 // 1357583466371219456
this.reason = res.data.result.filter((item) => { this.reason = this.serviceDetail.reason;
return item.id == this.serviceDetail.reason;
})[0].reason;
} }
}); });
}, },

View File

@@ -507,6 +507,7 @@ export default {
// 获取结算参数 // 获取结算参数
getOrderList() { getOrderList() {
this.notSupportFreight = []
// 获取结算参数 // 获取结算参数
API_Trade.getCheckoutParams(this.routerVal.way).then((res) => { API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
res.data.result.cartList.forEach((item, index) => { res.data.result.cartList.forEach((item, index) => {

View File

@@ -155,7 +155,7 @@
<view class="invoice-info-view"> <view class="invoice-info-view">
<view class="ltitle">发票信息</view> <view class="ltitle">发票信息</view>
<view v-if="!order.needReceipt" class="value">无需发票</view> <view v-if="!order.needReceipt" class="value">无需发票</view>
<view v-else class="value" @click="onReceipt(order.receiptVO)">查看发票</view> <view v-else class="value" @click="onReceipt(orderDetail.receipt)">查看发票</view>
</view> </view>
</view> </view>
</view> </view>