This commit is contained in:
Gdpao 2020-09-07 17:10:24 +08:00
parent 571489743a
commit 3e8caffe19

View File

@ -51,7 +51,7 @@
</view>
<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 @click="showInvoice">
<view class="title">开具发票</view>
@ -234,6 +234,7 @@ export default {
is_invoice: 0, //
invoice_type: null,
invoiceList: {}, //
users_type: "", // type
};
},
onLoad(option) {
@ -515,7 +516,9 @@ export default {
});
} else {
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.is_invoice = this.invoiceList.invoice_id || false;
this.invoice_type = this.invoiceList.invoice_type;