Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
bb7d0028
Commit
bb7d0028
authored
Oct 11, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litopn提交期限天数pattern改为-999到999
parent
744a2720
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
Pattern.js
src/model/Litopn/Pattern.js
+7
-4
Detp.vue
src/views/Business/Litopn/Detp.vue
+2
-2
Engp.vue
src/views/Public/Engp.vue
+1
-0
No files found.
src/model/Litopn/Pattern.js
View file @
bb7d0028
...
@@ -219,8 +219,9 @@ export default {
...
@@ -219,8 +219,9 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
{
max
:
35
,
message
:
"长度不能超过35"
}
],
],
"lidgrp.rec.prepers18"
:[
"lidgrp.rec.prepers18"
:[
{
required
:
false
,
},
{
type
:
"number"
,
required
:
false
,
message
:
"请输入数字"
},
{
type
:
"number"
,
max
:
999
,
message
:
"不能超过999"
},
{
pattern
:
/^-
?[
1-9
][
0-9
]{0,2}
$/
,
message
:
"应在-999至999之间"
}
],
],
"litp.avbp.ptsget.sdamod.dadsnd"
:[
"litp.avbp.ptsget.sdamod.dadsnd"
:[
...
@@ -320,8 +321,10 @@ export default {
...
@@ -320,8 +321,10 @@ export default {
{
max
:
65
,
message
:
"长度不能超过65"
}
{
max
:
65
,
message
:
"长度不能超过65"
}
],
],
"lidgrp.rec.tenmaxday"
:[
"lidgrp.rec.tenmaxday"
:[
{
required
:
true
,
},
{
type
:
"number"
,
required
:
false
,
message
:
"请输入数字"
},
{
type
:
"number"
,
max
:
999
,
message
:
"不能超过999"
},
{
pattern
:
/
(
^-
?[
1-9
][
0-9
]{0,2}
$
)
|0/
,
message
:
"-999至999之间"
}
// ^-?[1-9]\d*$ //匹配整数
],
],
"lidgrp.rec.porloa"
:[
"lidgrp.rec.porloa"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Litopn/Detp.vue
View file @
bb7d0028
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"提交期限(天)"
prop=
"lidgrp.rec.prepers18"
>
<el-form-item
label=
"提交期限(天)"
prop=
"lidgrp.rec.prepers18"
>
<c-input
<c-input
v-model=
"model.lidgrp.rec.prepers18"
v-model
.
number
=
"model.lidgrp.rec.prepers18"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请输入天数"
placeholder=
"请输入天数"
></c-input>
></c-input>
...
@@ -449,7 +449,7 @@
...
@@ -449,7 +449,7 @@
>
>
<c-input
<c-input
:disabled=
"!!(this.model.lidgrp.rec.avbby == 'P')"
:disabled=
"!!(this.model.lidgrp.rec.avbby == 'P')"
v-model=
"model.lidgrp.rec.tenmaxday"
v-model
.
number
=
"model.lidgrp.rec.tenmaxday"
placeholder=
"请输入天数"
placeholder=
"请输入天数"
></c-input>
></c-input>
</el-form-item>
</el-form-item>
...
...
src/views/Public/Engp.vue
View file @
bb7d0028
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
label-width=
"0"
label-width=
"0"
:prop=
"'liaall.liaallg.' + scope.$index + '.acc'"
:prop=
"'liaall.liaallg.' + scope.$index + '.acc'"
>
>
{{
scope
.
row
.
acc
}}
<!--
<c-input
<!--
<c-input
v-model=
"scope.row.acc"
v-model=
"scope.row.acc"
style=
"width: 100%"
style=
"width: 100%"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment