gyh #92

Merged
gyh merged 2 commits from gyh into master 2020-09-10 01:58:33 +00:00
Showing only changes of commit 3e8caffe19 - Show all commits

View File

@@ -51,7 +51,7 @@
</view> </view>
<view> <view>
<view class="title">派送方式</view> <view class="title">派送方式</view>
<view class="value u-line-1">{{ cur == 0 ? "快递" : cur == 1 ? "骑手" : "自提" }}</view> <view class="value u-line-1">{{ users_type == 0 ? "-" : users_type == 1 ? "快递" : users_type == 2 ? "骑手" : "自提" }}</view>
</view> </view>
<view @click="showInvoice"> <view @click="showInvoice">
<view class="title">开具发票</view> <view class="title">开具发票</view>
@@ -234,6 +234,7 @@ export default {
is_invoice: 0, // 判断发票 is_invoice: 0, // 判断发票
invoice_type: null, invoice_type: null,
invoiceList: {}, // 发票数据 invoiceList: {}, // 发票数据
users_type: "", // 用户选择发货type
}; };
}, },
onLoad(option) { onLoad(option) {
@@ -515,7 +516,9 @@ export default {
}); });
} else { } else {
this.info = res.data; this.info = res.data;
this.cur = res.data.is_selfraising; this.cur = res.data.member_deliver_type;
// console.log(res.data.member_deliver_type);
this.users_type = res.data.member_deliver_type;
this.invoiceList = res.data.extend_order_common.invoice_info; this.invoiceList = res.data.extend_order_common.invoice_info;
this.is_invoice = this.invoiceList.invoice_id || false; this.is_invoice = this.invoiceList.invoice_id || false;
this.invoice_type = this.invoiceList.invoice_type; this.invoice_type = this.invoiceList.invoice_type;