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
0d1be79f
Commit
0d1be79f
authored
Jul 14, 2021
by
孙杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加规则
parent
75059cef
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
10 deletions
+33
-10
Check.js
src/model/Ditopn/Check.js
+20
-0
Pattern.js
src/model/Ditopn/Pattern.js
+8
-4
Detp1.vue
src/views/Business/Ditopn/Detp1.vue
+4
-4
index.vue
src/views/Business/Ditopn/index.vue
+1
-2
No files found.
src/model/Ditopn/Check.js
View file @
0d1be79f
...
...
@@ -101,6 +101,7 @@ export default {
"didgrp.blk.adlcnd"
:
[
checkDidgrpBlkAdlcndN100
,
checkDidgrpBlkAdlcndN100
,],
"litameadv"
:
[
checkLitameadvN100
,
ruleLitameadvN100
,],
"liaall.liaccv.relcshpct"
:
[
checkLiaallLiaccvRelcshpctN100
,],
"didgrp.rec.bdflg"
:[
resetDidgrpRecBdflg
,],
}
/**
* source:liaall.@0019.script
...
...
@@ -512,6 +513,10 @@ function checkDidgrpAplPtsAdrblkN950(rule, value, callback) {
*/
function
checkDidgrpRecLcrtypN900
(
rule
,
value
,
callback
)
{
callback
()
//清空转让行相关字段
this
.
model
.
didgrp
.
cmb
.
pts
.
bankno
=
""
;
this
.
model
.
didgrp
.
cmb
.
pts
.
jigomc
=
""
;
this
.
model
.
didgrp
.
cmb
.
pts
.
dizhii
=
""
;
}
/**
* source:ditp.@0089.script
...
...
@@ -575,6 +580,11 @@ function checkDidgrpRecFenctgN100(rule, value, callback) {
//TODO
callback
()
})
//清空议付行相关字段
this
.
model
.
didgrp
.
rec
.
avbwth
=
""
;
this
.
model
.
didgrp
.
avb
.
pts
.
bankno
=
""
;
this
.
model
.
didgrp
.
avb
.
pts
.
jigomc
=
""
;
this
.
model
.
didgrp
.
avb
.
pts
.
dizhii
=
""
;
}
/**
* source:limmod.@0099.script
...
...
@@ -991,6 +1001,8 @@ function checkLitameadvN100(rule, value, callback) {
that
.
exeuteCheck
(
"litameadv"
).
then
(
res
=>
{
callback
()
})
this
.
model
.
ameadvrmk
=
""
}
/**
...
...
@@ -1008,3 +1020,11 @@ function ruleLitameadvN100(rule, value, callback) {
callback
()
})
}
function
resetDidgrpRecBdflg
(
rule
,
value
,
callback
){
callback
()
this
.
model
.
didgrp
.
rmb
.
pts
.
bankno
=
""
;
this
.
model
.
didgrp
.
rmb
.
pts
.
jigomc
=
""
;
this
.
model
.
didgrp
.
rmb
.
pts
.
dizhii
=
""
;
}
src/model/Ditopn/Pattern.js
View file @
0d1be79f
export
default
{
//转让行
// 银行明细
//议付行
"didgrp.rec.fenctg"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ditp.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -589,11 +593,11 @@ export default {
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
...
...
src/views/Business/Ditopn/Detp1.vue
View file @
0d1be79f
...
...
@@ -184,7 +184,7 @@
<el-form-item
label=
"议付行地址"
prop=
"didgrp.avb.pts.dizhii"
>
<c-input
disabled
:disabled=
"model.didgrp.rec.fenctg != 'Y'"
type=
"textarea"
v-model=
"model.didgrp.avb.pts.dizhii"
maxlength=
"35"
...
...
@@ -232,7 +232,7 @@
</el-form-item>
<el-form-item
label=
"保兑行地址"
prop=
"didgrp.rmb.pts.dizhii"
>
<c-input
disabled
:disabled=
"model.didgrp.rec.bdflg != 'Y'"
type=
"textarea"
v-model=
"model.didgrp.rmb.pts.dizhii"
maxlength=
"35"
...
...
@@ -279,7 +279,7 @@
</el-form-item>
<el-form-item
label=
"转让行地址"
prop=
"didgrp.cmb.pts.dizhii"
>
<c-input
disabled
:disabled=
"model.didgrp.rec.lcrtyp != 'IT'"
type=
"textarea"
v-model=
"model.didgrp.cmb.pts.dizhii"
maxlength=
"35"
...
...
@@ -345,7 +345,7 @@ export default {
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{}
,
created
:
function
()
{}
};
</
script
>
<
style
>
...
...
src/views/Business/Ditopn/index.vue
View file @
0d1be79f
...
...
@@ -240,8 +240,7 @@ export default {
},
watch
:{
flg
(){
this
.
pattern
[
"didgrp.avb.pts.bankno"
][
0
].
required
=
this
.
model
.
didgrp
.
rec
.
elcflg
==
"Y"
;
console
.
log
(
this
.
pattern
[
"didgrp.avb.pts.bankno"
][
0
].
required
);
this
.
pattern
[
"didgrp.rec.fenctg"
][
0
].
required
=
this
.
model
.
didgrp
.
rec
.
elcflg
==
"Y"
;
},
...
...
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