From 9ab6487606699a0d17e09868db1e5d4b7709cf66 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Thu, 16 Nov 2023 14:24:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E5=AE=A1=E6=A0=B8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AF=BC=E5=85=A5=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/models/settle/commerce.js | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js index 0d393fd3..71e473de 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js @@ -1,4 +1,5 @@ import businessType, { state2 } from "../_options.js"; +import { dayjs } from "element-plus"; const state = Object.assign({}, state2); state.input = "tabs"; @@ -12,7 +13,7 @@ const schema = { }, creationTime: { title: "导入时间", - type: "DateTime", + type: "datetime" }, invbillNum: { title: "系统发票号", @@ -140,6 +141,26 @@ export default function (businessType, type) { value: null, readOnly: true, }, + { + logic: "and", + column: "creationTime", + action: "biggerThanOrEqual", + value: null, + readOnly: true, + title: "导入时间开始", + default: dayjs().subtract(1, "month").startOf("day").format("YYYY-MM-DD HH:mm:ss"), + clearable: false, + }, + { + logic: "and", + column: "creationTime", + action: "smallThan", + value: null, + readOnly: true, + title: "导入时间结束", + default: dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss"), + clearable: false, + }, ], }, skipCount: {