修改部分已知的代码问题

master
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>