mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: #10000 订单筛选
This commit is contained in:
parent
660fd24ed0
commit
880b8717d7
@ -85,7 +85,7 @@
|
||||
|
||||
<el-form-item label="下单时间:">
|
||||
<el-date-picker v-model="form.confirm_at" type="datetimerange" range-separator="-" start-placeholder="起"
|
||||
end-placeholder="止" value-format="yyyy-MM-dd HH:mm:ss">
|
||||
end-placeholder="止" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
<el-button type="primary" @click="handleChoose">筛选</el-button>
|
||||
<el-button plain @click="handleReChoose">重置筛选</el-button>
|
||||
</el-form-item>
|
||||
<el-button type="primary" @click="dialogVisible = true">配货单导出</el-button>
|
||||
<el-button type="primary" @click="dialogVisible = true">打印</el-button>
|
||||
</el-form>
|
||||
</el-card>
|
||||
|
||||
@ -182,14 +182,14 @@ export default {
|
||||
// activity_no: "",
|
||||
shipping_status: "",
|
||||
// is_supplier: "",
|
||||
cancel_status: "",
|
||||
after_sales_status: "",
|
||||
cancel_status: "0",
|
||||
after_sales_status: "0",
|
||||
// supply_participate_no: "",
|
||||
// participate_no: "",
|
||||
goods_sku_num: "",
|
||||
print_status: "",
|
||||
print_status: "0",
|
||||
external_sku_ids: [],
|
||||
confirm_at: "",
|
||||
confirm_at: [],
|
||||
},
|
||||
dialogVisible: false,
|
||||
loading: true,
|
||||
@ -217,7 +217,8 @@ export default {
|
||||
end_no: [
|
||||
{ required: true, trigger: 'blur' }
|
||||
],
|
||||
}
|
||||
},
|
||||
confirmAt: [],
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@ -225,7 +226,18 @@ export default {
|
||||
this.getPlatOrderList();
|
||||
this.getShopsList();
|
||||
},
|
||||
created() {
|
||||
this.initConfirmAt();
|
||||
},
|
||||
methods: {
|
||||
initConfirmAt() {
|
||||
const nowTimeDate = new Date();
|
||||
nowTimeDate.setHours(0, 0, 0, 0);
|
||||
this.form.confirm_at[0] = nowTimeDate.toLocaleString('zh', { hour12: false }).replaceAll('/', '-');
|
||||
nowTimeDate.setHours(23, 59, 59, 999);
|
||||
this.form.confirm_at[1] = nowTimeDate.toLocaleString('zh', { hour12: false }).replaceAll('/', '-');
|
||||
this.confirmAt = this.form.confirm_at;
|
||||
},
|
||||
// 店铺列表
|
||||
getPlatOrderList(params = {}) {
|
||||
params.page = this.current_page;
|
||||
@ -276,14 +288,14 @@ export default {
|
||||
// activity_no: "",
|
||||
shipping_status: "",
|
||||
// is_supplier: "",
|
||||
cancel_status: "",
|
||||
after_sales_status: "",
|
||||
cancel_status: "0",
|
||||
after_sales_status: "0",
|
||||
// supply_participate_no: "",
|
||||
// participate_no: "",
|
||||
goods_sku_num: "",
|
||||
print_status: "",
|
||||
print_status: "0",
|
||||
external_sku_ids: [],
|
||||
confirm_at: "",
|
||||
confirm_at: this.confirmAt,
|
||||
};
|
||||
this.getPlatOrderList();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user