diff --git a/resources/frontend/src/views/plat/orderList.vue b/resources/frontend/src/views/plat/orderList.vue
index 7164433..40e06c1 100644
--- a/resources/frontend/src/views/plat/orderList.vue
+++ b/resources/frontend/src/views/plat/orderList.vue
@@ -85,7 +85,7 @@
+ end-placeholder="止" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss">
@@ -93,7 +93,7 @@
筛选
重置筛选
- 配货单导出
+ 打印
@@ -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();
},