订单区分商品订单和虚拟订单
parent
be42bfcf40
commit
861c7f905a
|
@ -94,7 +94,7 @@
|
||||||
<div class="div-item-right">{{ orderInfo.order.remark }}</div>
|
<div class="div-item-right">{{ orderInfo.order.remark }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="div-item">
|
<div class="div-item" v-if="orderInfo.order.orderType != 'VIRTUAL'">
|
||||||
<div class="div-item-left">配送方式:</div>
|
<div class="div-item-left">配送方式:</div>
|
||||||
<div class="div-item-right">
|
<div class="div-item-right">
|
||||||
{{
|
{{
|
||||||
|
@ -521,6 +521,7 @@ export default {
|
||||||
},
|
},
|
||||||
//弹出订单核销框
|
//弹出订单核销框
|
||||||
orderTake() {
|
orderTake() {
|
||||||
|
this.orderTakeForm.qrCode = this.orderInfo.order.verificationCode
|
||||||
this.orderTakeModal = true;
|
this.orderTakeModal = true;
|
||||||
},
|
},
|
||||||
//订单核销提交
|
//订单核销提交
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
<Option value="UNDELIVERED">待发货</Option>
|
<Option value="UNDELIVERED">待发货</Option>
|
||||||
<Option value="DELIVERED">已发货</Option>
|
<Option value="DELIVERED">已发货</Option>
|
||||||
<Option value="COMPLETED">已完成</Option>
|
<Option value="COMPLETED">已完成</Option>
|
||||||
<Option value="TAKE">待核验</Option>
|
|
||||||
<Option value="CANCELLED">已取消</Option>
|
<Option value="CANCELLED">已取消</Option>
|
||||||
</Select>
|
</Select>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
|
@ -27,7 +26,12 @@
|
||||||
<Button @click="handleReset" class="search-btn">重置</Button>
|
<Button @click="handleReset" class="search-btn">重置</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
</Row>
|
||||||
<Table class="padding-row" :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
|
<div>
|
||||||
|
<Button type="primary" class="export" @click="expressOrderDeliver">
|
||||||
|
批量发货
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
|
||||||
<Row type="flex" justify="end" class="page">
|
<Row type="flex" justify="end" class="page">
|
||||||
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
|
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
|
||||||
show-total show-elevator show-sizer></Page>
|
show-total show-elevator show-sizer></Page>
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
<Select v-model="searchForm.orderStatus" placeholder="请选择" clearable style="width: 160px">
|
<Select v-model="searchForm.orderStatus" placeholder="请选择" clearable style="width: 160px">
|
||||||
<Option value="UNPAID">未付款</Option>
|
<Option value="UNPAID">未付款</Option>
|
||||||
<Option value="PAID">已付款</Option>
|
<Option value="PAID">已付款</Option>
|
||||||
<Option value="UNDELIVERED">待发货</Option>
|
|
||||||
<Option value="DELIVERED">已发货</Option>
|
|
||||||
<Option value="COMPLETED">已完成</Option>
|
<Option value="COMPLETED">已完成</Option>
|
||||||
<Option value="TAKE">待核验</Option>
|
<Option value="TAKE">待核验</Option>
|
||||||
<Option value="CANCELLED">已取消</Option>
|
<Option value="CANCELLED">已取消</Option>
|
||||||
|
@ -28,16 +26,12 @@
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
</Row>
|
||||||
<div>
|
<div>
|
||||||
<Button type="primary" class="export" @click="expressOrderDeliver">
|
|
||||||
批量发货
|
|
||||||
<Icon type="ios-arrow-down"></Icon>
|
|
||||||
</Button>
|
|
||||||
<Poptip @keydown.enter.native="orderVerification" placement="bottom-start" width="400">
|
<Poptip @keydown.enter.native="orderVerification" placement="bottom-start" width="400">
|
||||||
<Button class="export">
|
<Button class="export">
|
||||||
核验订单
|
核验订单
|
||||||
</Button>
|
</Button>
|
||||||
<div class="api" slot="content">
|
<div class="api" slot="content">
|
||||||
<h2>核验订单号</h2>
|
<h2>核验码</h2>
|
||||||
<div style="margin:10px 0;">
|
<div style="margin:10px 0;">
|
||||||
<Input v-model="orderCode" style="width:300px; margin-right:10px;" />
|
<Input v-model="orderCode" style="width:300px; margin-right:10px;" />
|
||||||
<Button style="primary" @click="orderVerification">核验</Button>
|
<Button style="primary" @click="orderVerification">核验</Button>
|
||||||
|
@ -214,14 +208,6 @@ export default {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
|
||||||
* 批量发货
|
|
||||||
*/
|
|
||||||
expressOrderDeliver() {
|
|
||||||
this.$router.push({
|
|
||||||
path: "/export-order-deliver",
|
|
||||||
});
|
|
||||||
},
|
|
||||||
init() {
|
init() {
|
||||||
this.getDataList();
|
this.getDataList();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue