mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
feat: #10000 订单筛选
This commit is contained in:
parent
660fd24ed0
commit
880b8717d7
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
<el-form-item label="下单时间:">
|
<el-form-item label="下单时间:">
|
||||||
<el-date-picker v-model="form.confirm_at" type="datetimerange" range-separator="-" start-placeholder="起"
|
<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-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
@ -93,7 +93,7 @@
|
|||||||
<el-button type="primary" @click="handleChoose">筛选</el-button>
|
<el-button type="primary" @click="handleChoose">筛选</el-button>
|
||||||
<el-button plain @click="handleReChoose">重置筛选</el-button>
|
<el-button plain @click="handleReChoose">重置筛选</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-button type="primary" @click="dialogVisible = true">配货单导出</el-button>
|
<el-button type="primary" @click="dialogVisible = true">打印</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
@ -182,14 +182,14 @@ export default {
|
|||||||
// activity_no: "",
|
// activity_no: "",
|
||||||
shipping_status: "",
|
shipping_status: "",
|
||||||
// is_supplier: "",
|
// is_supplier: "",
|
||||||
cancel_status: "",
|
cancel_status: "0",
|
||||||
after_sales_status: "",
|
after_sales_status: "0",
|
||||||
// supply_participate_no: "",
|
// supply_participate_no: "",
|
||||||
// participate_no: "",
|
// participate_no: "",
|
||||||
goods_sku_num: "",
|
goods_sku_num: "",
|
||||||
print_status: "",
|
print_status: "0",
|
||||||
external_sku_ids: [],
|
external_sku_ids: [],
|
||||||
confirm_at: "",
|
confirm_at: [],
|
||||||
},
|
},
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
loading: true,
|
loading: true,
|
||||||
@ -217,7 +217,8 @@ export default {
|
|||||||
end_no: [
|
end_no: [
|
||||||
{ required: true, trigger: 'blur' }
|
{ required: true, trigger: 'blur' }
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
|
confirmAt: [],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -225,7 +226,18 @@ export default {
|
|||||||
this.getPlatOrderList();
|
this.getPlatOrderList();
|
||||||
this.getShopsList();
|
this.getShopsList();
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.initConfirmAt();
|
||||||
|
},
|
||||||
methods: {
|
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 = {}) {
|
getPlatOrderList(params = {}) {
|
||||||
params.page = this.current_page;
|
params.page = this.current_page;
|
||||||
@ -276,14 +288,14 @@ export default {
|
|||||||
// activity_no: "",
|
// activity_no: "",
|
||||||
shipping_status: "",
|
shipping_status: "",
|
||||||
// is_supplier: "",
|
// is_supplier: "",
|
||||||
cancel_status: "",
|
cancel_status: "0",
|
||||||
after_sales_status: "",
|
after_sales_status: "0",
|
||||||
// supply_participate_no: "",
|
// supply_participate_no: "",
|
||||||
// participate_no: "",
|
// participate_no: "",
|
||||||
goods_sku_num: "",
|
goods_sku_num: "",
|
||||||
print_status: "",
|
print_status: "0",
|
||||||
external_sku_ids: [],
|
external_sku_ids: [],
|
||||||
confirm_at: "",
|
confirm_at: this.confirmAt,
|
||||||
};
|
};
|
||||||
this.getPlatOrderList();
|
this.getPlatOrderList();
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user