mahe 2023-02-03 10:22:13 +08:00
commit 4886b53847
4 changed files with 17 additions and 3 deletions

View File

@ -112,7 +112,9 @@ export default {
tracksList(this.params).then((res) => { tracksList(this.params).then((res) => {
this.spinShow = false; this.spinShow = false;
if (res.success && res.result.records.length) { if (res.success && res.result.records.length) {
this.list = res.result.records; this.list = res.result.records.filter(item =>{
return item != null
});
this.total = res.result.total this.total = res.result.total
} else { } else {
this.list = []; this.list = [];

View File

@ -34,7 +34,7 @@ export default {
templatesWay: [ templatesWay: [
{ {
template: "todayHotWords", template: "todayHotWords",
label: "今日热", label: "今日热",
}, },
{ {
template: "historyHotWords", template: "historyHotWords",

View File

@ -117,7 +117,7 @@
</template> </template>
</Col> </Col>
<Col span="12"> <Col span="12">
<div class="div-item"> <div class="div-item" v-if="orderInfo.order.deliveryMethod != 'SELF_PICK_UP'">
<div class="div-item-left">收货信息</div> <div class="div-item-left">收货信息</div>
<div class="div-item-right"> <div class="div-item-right">
{{ orderInfo.order.consigneeName }} {{ orderInfo.order.consigneeName }}
@ -126,6 +126,13 @@
{{ orderInfo.order.consigneeDetail }} {{ orderInfo.order.consigneeDetail }}
</div> </div>
</div> </div>
<div class="div-item" v-if="orderInfo.order.deliveryMethod == 'SELF_PICK_UP'">
<div class="div-item-left">自提信息</div>
<div class="div-item-right">
{{ orderInfo.order.storeAddressPath }}
{{ orderInfo.order.storeAddressMobile }}
</div>
</div>
<div class="div-item"> <div class="div-item">
<div class="div-item-left">支付方式</div> <div class="div-item-left">支付方式</div>
<div class="div-item-right"> <div class="div-item-right">

View File

@ -39,6 +39,7 @@
<Option value="DELIVERED">已发货</Option> <Option value="DELIVERED">已发货</Option>
<Option value="COMPLETED">已完成</Option> <Option value="COMPLETED">已完成</Option>
<Option value="CANCELLED">已取消</Option> <Option value="CANCELLED">已取消</Option>
<Option value="STAY_PICKED_UP">待自提</Option>
</Select> </Select>
</Form-item> </Form-item>
<Form-item label="订单类型" prop="orderType"> <Form-item label="订单类型" prop="orderType">
@ -225,6 +226,10 @@ export default {
return h("div", [ return h("div", [
h("tag", { props: { color: "geekblue" } }, "待发货"), h("tag", { props: { color: "geekblue" } }, "待发货"),
]); ]);
}else if (params.row.orderStatus == "STAY_PICKED_UP") {
return h("div", [
h("tag", { props: { color: "geekblue" } }, "待自提"),
]);
} else if (params.row.orderStatus == "DELIVERED") { } else if (params.row.orderStatus == "DELIVERED") {
return h("div", [ return h("div", [
h("tag", { props: { color: "cyan" } }, "已发货"), h("tag", { props: { color: "cyan" } }, "已发货"),