Browse Source

财务审核增加导入时间筛选

master
zhouhongjun 1 year ago
parent
commit
9ab6487606
  1. 23
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js

23
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/commerce.js

@ -1,4 +1,5 @@
import businessType, { state2 } from "../_options.js"; import businessType, { state2 } from "../_options.js";
import { dayjs } from "element-plus";
const state = Object.assign({}, state2); const state = Object.assign({}, state2);
state.input = "tabs"; state.input = "tabs";
@ -12,7 +13,7 @@ const schema = {
}, },
creationTime: { creationTime: {
title: "导入时间", title: "导入时间",
type: "DateTime", type: "datetime"
}, },
invbillNum: { invbillNum: {
title: "系统发票号", title: "系统发票号",
@ -140,6 +141,26 @@ export default function (businessType, type) {
value: null, value: null,
readOnly: true, 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: { skipCount: {

Loading…
Cancel
Save