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
fukai
vue-gjjs
Commits
788956be
Commit
788956be
authored
Jul 07, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复前端letdav前端check问题
parent
2513f2fd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
48 deletions
+51
-48
check.js
src/business/letdav/model/check.js
+43
-42
index.js
src/business/letdav/model/index.js
+1
-0
index.vue
src/business/letdav/views/index.vue
+7
-6
No files found.
src/business/letdav/model/check.js
View file @
788956be
export
default
{
export
default
{
"bedgrp.rec.advtyp"
:
null
,
"bedgrp.rec.advtyp"
:
null
,
"setmod.dspflg"
:
null
,
//
"setmod.dspflg" :null,
"bedgrp.rec.docprbrol"
:
null
,
"bedgrp.rec.docprbrol"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"betp.ledget.sdamod.dadsnd"
:[
"betp.ledget.sdamod.dadsnd"
:[
...
@@ -36,12 +36,12 @@ export default {
...
@@ -36,12 +36,12 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
3
,
message
:
"长度不能超过3"
}
],
],
"ledgrp.cbs.opn1.amt"
:[
//
"ledgrp.cbs.opn1.amt":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
//
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{
pattern
:
/
(
^-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
//
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
//
],
"bedgrp.apl.pts.nam"
:[
"bedgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
...
@@ -59,17 +59,17 @@ export default {
...
@@ -59,17 +59,17 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
],
],
"ledgrp.rec.opndat"
:[
"ledgrp.rec.opndat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"ledgrp.rec.shpdat"
:[
"ledgrp.rec.shpdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"bedgrp.prb.pts.ref"
:[
"bedgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
}
],
],
"ledgrp.rec.expdat"
:[
"ledgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"ledgrp.rec.expplc"
:[
"ledgrp.rec.expplc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
@@ -96,13 +96,13 @@ export default {
...
@@ -96,13 +96,13 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
],
],
"bedgrp.rec.rcvdat"
:[
"bedgrp.rec.rcvdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"bedgrp.rec.advdat"
:[
"bedgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"bedgrp.rec.disdat"
:[
"bedgrp.rec.disdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"betp.oth.pts.ref"
:[
"betp.oth.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
@@ -255,34 +255,34 @@ export default {
...
@@ -255,34 +255,34 @@ export default {
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
"setmod.ref"
:[
//
"setmod.ref":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
16
,
message
:
"长度不能超过16"
}
//
{max: 16,message:"长度不能超过16"}
],
//
],
"setmod.docamt"
:[
//
"setmod.docamt":[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "number", required: false, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
//
{max: 18,message:"整数位不能超过14位"},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
//
],
"setmod.zmqacc"
:[
//
"setmod.zmqacc":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
20
,
message
:
"长度不能超过20"
}
//
{max: 20,message:"长度不能超过20"}
],
//
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
//
"mtabut.coninf.oitinf.oit.inftxt":[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
//
{type: "string", required: true, message: "必输项"},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{max: 60,message:"长度不能超过60"}
],
//
],
"mtabut.coninf.oitset.oit.inftxt"
:[
//
"mtabut.coninf.oitset.oit.inftxt":[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
//
{type: "string", required: true, message: "必输项"},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{max: 60,message:"长度不能超过60"}
],
//
],
"mtabut.coninf.conexedat"
:[
//
"mtabut.coninf.conexedat":[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
// {
required: false, message: "输入正确的日期"}
],
//
],
"mtabut.coninf.usr.extkey"
:[
//
"mtabut.coninf.usr.extkey":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
8
,
message
:
"长度不能超过8"
}
//
{max: 8,message:"长度不能超过8"}
],
//
],
"trnmod.trndoc.advnam"
:[
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
max
:
50
,
message
:
"长度不能超过50"
}
...
@@ -430,6 +430,6 @@ export default {
...
@@ -430,6 +430,6 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
{
max
:
35
,
message
:
"长度不能超过35"
}
],
],
"bedgrp.rec.totdat"
:[
"bedgrp.rec.totdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
}
}
\ No newline at end of file
src/business/letdav/model/index.js
View file @
788956be
...
@@ -13,6 +13,7 @@ export default class Letdav {
...
@@ -13,6 +13,7 @@ export default class Letdav {
},
},
ledgrp
:
{
ledgrp
:
{
rec
:
{
rec
:
{
inr
:
''
,
revflg
:
''
,
revflg
:
''
,
expdat
:
''
,
expdat
:
''
,
expplc
:
''
,
expplc
:
''
,
...
...
src/business/letdav/views/index.vue
View file @
788956be
...
@@ -67,18 +67,19 @@
...
@@ -67,18 +67,19 @@
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</c-tabs>
</el-form>
</el-form>
<!-- 数据回填效果 -->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleStash=
"handleStash"
>
>
</c-function-btn>
</c-function-btn>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</c-page>
</div>
</div>
</
template
>
</
template
>
...
...
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