Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
uplus-fapai-mp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e0ddba7e
authored
Apr 27, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
移除牌证信息表单配置,优化过户次数输入验证规则
1 parent
cb17215e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
100 deletions
packageIndex/pages/editOrder/components/constant/firstData.js
packageIndex/pages/editOrder/components/constant/secondData.js
packageIndex/pages/editOrder/components/constant/firstData.js
View file @
e0ddba7
...
@@ -191,103 +191,7 @@ const firstObj = {
...
@@ -191,103 +191,7 @@ const firstObj = {
],
],
};
};
// 第二步:牌证信息表单配置
const
licenseObj
=
{
licenseFormList
:
[
{
label
:
"钥匙数"
,
name
:
"keyCount"
,
type
:
"input"
,
maxlength
:
"1"
,
fieldType
:
"number"
,
inputType
:
"number"
,
inputLimit
:
{
type
:
"number"
,
minVal
:
0
,
maxVal
:
9
,
},
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"过户次数"
,
name
:
"transferCount"
,
type
:
"input"
,
maxlength
:
"1"
,
fieldType
:
"number"
,
inputType
:
"number"
,
inputLimit
:
{
type
:
"number"
,
minVal
:
0
,
maxVal
:
9
,
},
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"交强险到期"
,
name
:
"compulsoryInsuranceExpiry"
,
type
:
"pickerTime"
,
start
:
Util
.
tsFormatTime
(
new
Date
(),
"Y-M-D"
),
haveArrow
:
true
,
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"年审到期"
,
name
:
"annualInspectionExpiry"
,
type
:
"pickerTime"
,
start
:
Util
.
tsFormatTime
(
new
Date
(),
"Y-M-D"
),
haveArrow
:
true
,
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"商业险到期"
,
name
:
"commercialInsuranceExpiry"
,
type
:
"pickerTime"
,
start
:
Util
.
tsFormatTime
(
new
Date
(),
"Y-M-D"
),
haveArrow
:
true
,
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"原车主名称"
,
name
:
"previousOwnerName"
,
type
:
"input"
,
maxlength
:
"20"
,
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"原车主电话"
,
name
:
"previousOwnerPhone"
,
type
:
"input"
,
maxlength
:
"11"
,
fieldType
:
"number"
,
inputType
:
"number"
,
inputLimit
:
{
type
:
"number"
,
},
required
:
true
,
requiredAfter
:
true
,
},
{
label
:
"原车主住址"
,
name
:
"previousOwnerAddress"
,
type
:
"slot"
,
maxlength
:
"52"
,
fieldType
:
"textarea"
,
noCellHeight
:
true
,
cellStyle
:
"flex-direction: column; align-items: flex-start;"
,
required
:
true
,
requiredAfter
:
true
,
},
],
};
export
default
{
export
default
{
formRule
,
formRule
,
firstObj
,
firstObj
licenseObj
,
};
};
packageIndex/pages/editOrder/components/constant/secondData.js
View file @
e0ddba7
...
@@ -20,9 +20,9 @@ const formRule = {
...
@@ -20,9 +20,9 @@ const formRule = {
{
{
validator
:
(
rule
,
value
)
=>
{
validator
:
(
rule
,
value
)
=>
{
if
(
!
value
)
return
null
;
if
(
!
value
)
return
null
;
return
/^
[
0-9
]
$/
.
test
(
value
)
return
/^
(\d
|
[
1-9
]\d)
$/
.
test
(
value
)
?
null
?
null
:
{
message
:
"过户次数只
允许输入1位数字
"
};
:
{
message
:
"过户次数只
能输入2位整数
"
};
}
}
}
}
]
]
...
@@ -68,7 +68,7 @@ const secondObj = {
...
@@ -68,7 +68,7 @@ const secondObj = {
inputLimit
:
{
inputLimit
:
{
type
:
"number"
,
type
:
"number"
,
},
},
maxlength
:
1
,
maxlength
:
2
,
placeholder
:
"请输入"
,
placeholder
:
"请输入"
,
inputAlign
:
"left"
,
inputAlign
:
"left"
,
suffix
:
"次"
,
suffix
:
"次"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment