From dd0838214cd86dcdec93c89687a7e6f457b58dc2 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 02 Jan 2023 11:24:24 +0800
Subject: [PATCH] 修改时间选择变为范围选择;新增发起事务前需完善企业信息
---
src/const/applicationDelay/applicationDelay.js | 40 ++++++++++++++++++++++++++++------------
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/src/const/applicationDelay/applicationDelay.js b/src/const/applicationDelay/applicationDelay.js
index 2605279..7195289 100644
--- a/src/const/applicationDelay/applicationDelay.js
+++ b/src/const/applicationDelay/applicationDelay.js
@@ -42,23 +42,38 @@
},
rules: [{required: true, trigger: ['blur','change'],message:'请输入申请编号'}]
},
+ // {
+ // label: "通行开始时间",
+ // labelWidth:labelWidth,
+ // prop: "delayStartTime",
+ // type: "date",
+ // format:'yyyy-MM-dd',
+ // valueFormat:'yyyy-MM-dd',
+ // disabled:false,
+ // },
+ // {
+ // label: "通行结束时间",
+ // labelWidth:labelWidth,
+ // prop: "delayEndTime",
+ // type: "date",
+ // format:'yyyy-MM-dd',
+ // valueFormat:'yyyy-MM-dd',
+ // disabled:false,
+ // },
{
- label: "通行开始时间",
- labelWidth:labelWidth,
- prop: "delayStartTime",
- type: "date",
+ label: "通行时间段",
+ prop: "passTime",
+ type: "daterange",
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
- disabled:false,
- },
- {
- label: "通行结束时间",
labelWidth:labelWidth,
- prop: "delayEndTime",
- type: "date",
- format:'yyyy-MM-dd',
- valueFormat:'yyyy-MM-dd',
disabled:false,
+ pickerOptions: {
+ disabledDate(time) {
+ return time.getTime() < Date.now();
+ },
+ },
+ rules: [{required: true, trigger: ['blur','change'],message:'请输入通行时间段'}]
},
{
label: "起运机构",
@@ -123,6 +138,7 @@
prop: "remark",
type: "textarea",
minRows:2,
+ hide: true
},
{
label: "办理进度",
--
Gitblit v1.9.3