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
c89d8dfd
Commit
c89d8dfd
authored
Jun 11, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规则校验
parent
854557dc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
166 additions
and
143 deletions
+166
-143
commonProcess.js
src/mixin/commonProcess.js
+34
-13
Check.js
src/model/Ditopn/Check.js
+120
-118
Default.js
src/model/Ditopn/Default.js
+3
-3
Pattern.js
src/model/Ditopn/Pattern.js
+4
-3
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+4
-1
index.vue
src/views/Business/Ditopn/index.vue
+1
-5
No files found.
src/mixin/commonProcess.js
View file @
c89d8dfd
...
...
@@ -8,10 +8,10 @@ export default {
defFlag
:
true
}
},
// created: function () {},
created
()
{
mounted
()
{
if
(
!
this
.
isInDisplay
){
this
.
ruleWatcher
()
// this.ruleWatcher()
this
.
changeFormValidateDisabled
(
true
);
this
.
ruleCheck
()
}
},
...
...
@@ -25,7 +25,7 @@ export default {
const
that
=
this
;
Object
.
keys
(
that
.
defaultRules
).
forEach
(
key
=>
{
let
func
=
function
(){
if
(
!
that
.
defFlag
){
if
(
that
.
defFlag
){
that
.
defaultRules
[
key
].
apply
(
that
)
}
}
...
...
@@ -35,26 +35,47 @@ export default {
ruleCheck
()
{
if
(
!
this
.
pattern
)
return
const
keySet
=
new
Set
(
Object
.
keys
(
this
.
pattern
).
concat
(
Object
.
keys
(
this
.
checkRules
)))
const
keySet
=
new
Set
(
Object
.
keys
(
this
.
pattern
).
concat
(
Object
.
keys
(
this
.
checkRules
)
.
concat
(
Object
.
keys
(
this
.
defaultRules
))
))
const
res
=
{};
const
that
=
this
;
for
(
let
key
of
keySet
.
keys
())
{
const
rule
=
[]
if
(
this
.
pattern
[
key
]){
rule
.
push
(...
this
.
pattern
[
key
])
}
if
(
this
.
checkRules
[
key
]){
for
(
let
j
=
0
;
j
<
this
.
checkRules
[
key
].
length
;
j
++
)
{
const
check
=
this
.
checkRules
[
key
][
j
];
if
(
that
.
pattern
[
key
]){
rule
.
push
(...
that
.
pattern
[
key
])
}
const
triggerType
=
that
.
getTriggerType
(
key
)
if
(
that
.
checkRules
[
key
]){
for
(
let
j
=
0
;
j
<
that
.
checkRules
[
key
].
length
;
j
++
)
{
const
check
=
that
.
checkRules
[
key
][
j
];
rule
.
push
({
validator
:
check
.
bind
(
this
)
validator
:
check
.
bind
(
that
),
trigger
:
triggerType
})
}
}
if
(
that
.
defaultRules
[
key
])
{
rule
.
push
({
validator
:
that
.
defaultRules
[
key
].
bind
(
that
),
trigger
:
triggerType
})
}
if
(
rule
.
length
>
0
)
{
res
[
key
]
=
rule
;
}
}
this
.
rules
=
res
;
that
.
rules
=
res
;
},
getTriggerType
(
prop
)
{
const
fields
=
this
.
$refs
.
modelForm
.
fields
;
for
(
let
i
=
0
;
i
<
fields
.
length
;
i
++
)
{
const
field
=
fields
[
i
];
if
(
field
.
prop
===
prop
)
{
if
(
field
.
$children
[
1
].
$children
[
0
].
$el
.
className
.
startsWith
(
"el-select"
))
{
return
"change"
;
}
return
"blur"
;
}
}
},
changeFormValidateDisabled
(
flag
)
{
const
fields
=
this
.
$refs
.
modelForm
.
fields
...
...
src/model/Ditopn/Check.js
View file @
c89d8dfd
...
...
@@ -106,43 +106,43 @@ export default {
* source:liaall.@0019.script
* liaall
*/
function
checkLiaallMisamtN100
()
{
function
checkLiaallMisamtN100
(
rule
,
value
,
callback
)
{
}
/**
* source:limmod.@0005.script
* liaall.limmod
*/
function
checkLiaallLimmodLimptsOthPtsExtkeyN100
()
{
function
checkLiaallLimmodLimptsOthPtsExtkeyN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0009.script
* liaall.limmod.othp.ptsget
*/
function
checkLiaallLimmodLimptsOthPtsExtkeyN950
()
{
function
checkLiaallLimmodLimptsOthPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* liaall.limmod.othp
*/
function
checkLiaallLimmodLimptsOthPtsExtkeyN960
()
{
function
checkLiaallLimmodLimptsOthPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0104.script
*
*/
function
checkDidgrpAplPtsRefN100
()
{
function
checkDidgrpAplPtsRefN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0121.script
*
*/
function
checkDidgrpAplPtsYouzbmN100
()
{
function
checkDidgrpAplPtsYouzbmN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0092.script
*
*/
function
checkAmeadvrmkN100
()
{
function
checkAmeadvrmkN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"ameadvrmk"
).
then
(
res
=>
{
})
...
...
@@ -151,31 +151,31 @@ function checkAmeadvrmkN100() {
* source:limmod.@0097.script
* liaall.limmod
*/
function
checkLiaallLimmodOwnrefN100
()
{
function
checkLiaallLimmodOwnrefN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0027.script
* ditp
*/
function
checkDidgrpRecExpplcN900
()
{
function
checkDidgrpRecExpplcN900
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0088.script
* ditp
*/
function
checkDidgrpRecFqtimeN100
()
{
function
checkDidgrpRecFqtimeN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.advp
*/
function
checkDidgrpAdvPtsBanknoN100
()
{
function
checkDidgrpAdvPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0106.script
*
*/
function
checkDidgrpRecTratypN100
()
{
function
checkDidgrpRecTratypN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.tratyp"
).
then
(
res
=>
{
//TODO
...
...
@@ -185,43 +185,43 @@ function checkDidgrpRecTratypN100() {
* source:limmod.@0085.script
* liaall.limmod
*/
function
checkLiaallLimmodEcifnoN100
()
{
function
checkLiaallLimmodEcifnoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0001.script
* ditp.benp.ptsget
*/
function
checkDitpBenpPtsgetSdamodDadsndN100
()
{
function
checkDitpBenpPtsgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0040.script
* ditp
*/
function
checkDidgrpRecRevdatN100
()
{
function
checkDidgrpRecRevdatN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0009.script
* ditp.issp.ptsget
*/
function
checkDidgrpIssPtsExtkeyN950
()
{
function
checkDidgrpIssPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* ditp.issp
*/
function
checkDidgrpIssPtsExtkeyN960
()
{
function
checkDidgrpIssPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0092.script
* ditp
*/
function
checkDidgrpRecSdsrfsN100
()
{
function
checkDidgrpRecSdsrfsN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0124.script
*
*/
function
checkDidgrpIssPtsYouzbmN1001
()
{
function
checkDidgrpIssPtsYouzbmN1001
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.iss.pts.youzbm"
).
then
(
res
=>
{
//TODO
...
...
@@ -231,49 +231,49 @@ function checkDidgrpIssPtsYouzbmN1001() {
* source:ditp.@0082.script
* ditp
*/
function
checkDidgrpRecFqzytgfwN100
()
{
function
checkDidgrpRecFqzytgfwN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0029.script
* ditp
*/
function
checkDidgrpRecConamtN100
()
{
function
checkDidgrpRecConamtN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.apcp
*/
function
checkDidgrpApcPtsBanknoN100
()
{
function
checkDidgrpApcPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0091.script
* ditp
*/
function
checkDidgrpRecShpproN100
()
{
function
checkDidgrpRecShpproN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0090.script
* ditp
*/
function
checkDidgrpRecShptoN100
()
{
function
checkDidgrpRecShptoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0038.script
* ditp.benp
*/
function
checkDidgrpBenNamelcN100
()
{
function
checkDidgrpBenNamelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.cmbp
*/
function
checkDidgrpCmbPtsBanknoN100
()
{
function
checkDidgrpCmbPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0108.script
*
*/
function
checkDidgrpRecShpparN100
()
{
function
checkDidgrpRecShpparN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.shppar"
).
then
(
res
=>
{
//TODO
...
...
@@ -283,115 +283,115 @@ function checkDidgrpRecShpparN100() {
* source:ptsget.@0001.script
* liaall.limmod.othp.ptsget
*/
function
checkLiaallLimmodOthpPtsgetSdamodDadsndN100
()
{
function
checkLiaallLimmodOthpPtsgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0039.script
* ditp.rmbp
*/
function
checkDidgrpRmbAdrelcN100
()
{
function
checkDidgrpRmbAdrelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0009.script
* ditp.aplp.ptsget
*/
function
checkDidgrpAplPtsExtkeyN950
()
{
function
checkDidgrpAplPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* ditp.aplp
*/
function
checkDidgrpAplPtsExtkeyN960
()
{
function
checkDidgrpAplPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.apbp
*/
function
checkDidgrpApbPtsBanknoN100
()
{
function
checkDidgrpApbPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0035.script
* ditp
*/
function
checkDidgrpRecRmbchaN100
()
{
function
checkDidgrpRecRmbchaN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0001.script
* ditp.aplp.ptsget
*/
function
checkDitpAplpPtsgetSdamodDadsndN100
()
{
function
checkDitpAplpPtsgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.avbp
*/
function
checkDidgrpAvbPtsBanknoN100
()
{
function
checkDidgrpAvbPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0009.script
* ditp.rmbp.ptsget
*/
function
checkDidgrpRmbPtsExtkeyN950
()
{
function
checkDidgrpRmbPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* ditp.rmbp
*/
function
checkDidgrpRmbPtsExtkeyN960
()
{
function
checkDidgrpRmbPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:setmod.@0076.script
* setmod
*/
function
checkSetmodDspflgN100
()
{
function
checkSetmodDspflgN100
(
rule
,
value
,
callback
)
{
}
/**
* source:setmod.@0090.script
* setmod
*/
function
checkSetmodDspflgN1100
()
{
function
checkSetmodDspflgN1100
(
rule
,
value
,
callback
)
{
}
/**
* source:setmod.@0146.script
* setmod
*/
function
checkSetmodDspflgN1200
()
{
function
checkSetmodDspflgN1200
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.revclause
*/
function
checkDidgrpBlkRevclsN100
()
{
function
checkDidgrpBlkRevclsN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.rmbp
*/
function
checkDidgrpRmbPtsBanknoN100
()
{
function
checkDidgrpRmbPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0039.script
* ditp.benp
*/
function
checkDidgrpBenAdrelcN100
()
{
function
checkDidgrpBenAdrelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0043.script
* ditp
*/
function
checkDidgrpRecApprulrmbN100
()
{
function
checkDidgrpRecApprulrmbN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0122.script
*
*/
function
checkDidgrpAplPtsDihdigN100
()
{
function
checkDidgrpAplPtsDihdigN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0112.script
*
*/
function
checkDidgrpRecConnoN100
()
{
function
checkDidgrpRecConnoN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.conno"
).
then
(
res
=>
{
//TODO
...
...
@@ -401,85 +401,85 @@ function checkDidgrpRecConnoN100() {
* source:ditp.@0103.script
* ditp
*/
function
checkDidgrpRecConnoN1001
()
{
function
checkDidgrpRecConnoN1001
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.defdet
*/
function
checkDidgrpBlkDefdetN100
()
{
function
checkDidgrpBlkDefdetN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0047.script
* ditp
*/
function
checkDidgrpBlkDefdetN100
()
{
function
checkDidgrpBlkDefdetN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0104.script
* ditp
*/
function
checkDidgrpBlkDefdetN1001
()
{
function
checkDidgrpBlkDefdetN1001
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0118.script
*
*/
function
checkDidgrpRecElcflgN100
()
{
function
checkDidgrpRecElcflgN100
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.insbnk
*/
function
checkDidgrpBlkInsbnkN100
()
{
function
checkDidgrpBlkInsbnkN100
(
rule
,
value
,
callback
)
{
}
/**
* source:liaccv.@0016.script
* liaall.liaccv
*/
function
checkLiaallLiaccvTotcovamtN100
()
{
function
checkLiaallLiaccvTotcovamtN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.bebp
*/
function
checkDidgrpBebPtsBanknoN100
()
{
function
checkDidgrpBebPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0014.script
* ditp.aplp
*/
function
checkDidgrpAplPtsAdrblkN950
()
{
function
checkDidgrpAplPtsAdrblkN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0026.script
* ditp
*/
function
checkDidgrpRecLcrtypN900
()
{
function
checkDidgrpRecLcrtypN900
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0089.script
* ditp
*/
function
checkDidgrpRecShpfroN100
()
{
function
checkDidgrpRecShpfroN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0079.script
*
*/
function
checkDidgrpRecGuaflgN100
()
{
function
checkDidgrpRecGuaflgN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0031.script
* ditp.issp
*/
function
checkDidgrpIssPtsBanknoN100
()
{
function
checkDidgrpIssPtsBanknoN100
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.lcrgod
*/
function
checkDidgrpBlkLcrgodN100
()
{
function
checkDidgrpBlkLcrgodN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.blk.lcrgod"
).
then
(
res
=>
{
that
.
model
.
didgrp
.
blk
.
lcrgod
=
res
.
data
.
didgrp_blk_lcrgod
;
...
...
@@ -489,25 +489,25 @@ function checkDidgrpBlkLcrgodN100() {
* source:ditopn.@0109.script
*
*/
// function checkDidgrpBlkLcrgodN100() {
// function checkDidgrpBlkLcrgodN100(
rule, value, callback
) {
// }
/**
* source:ditp.@0100.script
* ditp
*/
function
checkDidgrpBlkLcrgodN1001
()
{
function
checkDidgrpBlkLcrgodN1001
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0115.script
*
*/
function
checkDidgrpRecIdcodeN100
()
{
function
checkDidgrpRecIdcodeN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0111.script
*
*/
function
checkDidgrpRecFenctgN100
()
{
function
checkDidgrpRecFenctgN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.fenctg"
).
then
(
res
=>
{
//TODO
...
...
@@ -517,25 +517,25 @@ function checkDidgrpRecFenctgN100() {
* source:limmod.@0099.script
* liaall.limmod
*/
function
checkLiaallLimmodLimptsWrkPtsExtkeyN100
()
{
function
checkLiaallLimmodLimptsWrkPtsExtkeyN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0009.script
* liaall.limmod.wrkp.ptsget
*/
function
checkLiaallLimmodLimptsWrkPtsExtkeyN950
()
{
function
checkLiaallLimmodLimptsWrkPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* liaall.limmod.wrkp
*/
function
checkLiaallLimmodLimptsWrkPtsExtkeyN960
()
{
function
checkLiaallLimmodLimptsWrkPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0131.script
*
*/
function
checkDidgrpBenPtsDihdigN1004
()
{
function
checkDidgrpBenPtsDihdigN1004
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0107.script
...
...
@@ -550,25 +550,26 @@ function checkDidgrpRecShpdatN100(rule, value, callback) {
}
}
// function checkDidgrpRecShpdatN100() {
// function checkDidgrpRecShpdatN100(
rule, value, callback
) {
// }
/**
* source:ditopn.@0002.script
*
*/
function
checkDidgrpRecShpdatN999
()
{
function
checkDidgrpRecShpdatN999
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0005.script
*
*/
function
checkDidgrpCbsNom1CurN100
()
{
function
checkDidgrpCbsNom1CurN100
(
rule
,
value
,
callback
)
{
callback
()
}
/**
* source:ditopn.@0125.script
*
*/
function
checkDidgrpIssPtsDihdigN1001
()
{
function
checkDidgrpIssPtsDihdigN1001
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.iss.pts.dihdig"
).
then
(
res
=>
{
//TODO
...
...
@@ -578,31 +579,31 @@ function checkDidgrpIssPtsDihdigN1001() {
* source:ptsp.@0038.script
* ditp.aplp
*/
function
checkDidgrpAplNamelcN100
()
{
function
checkDidgrpAplNamelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0039.script
* ditp
*/
function
checkDidgrpRecRevtypN100
()
{
function
checkDidgrpRecRevtypN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0014.script
* ditp.rmbp
*/
function
checkDidgrpRmbPtsAdrblkN950
()
{
function
checkDidgrpRmbPtsAdrblkN950
(
rule
,
value
,
callback
)
{
}
/**
* source:coninf.@0014.script
* mtabut.coninf
*/
function
checkMtabutConinfConexedatN100
()
{
function
checkMtabutConinfConexedatN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0128.script
*
*/
function
checkDidgrpAdvPtsYouzbmN1003
()
{
function
checkDidgrpAdvPtsYouzbmN1003
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.adv.pts.youzbm"
).
then
(
res
=>
{
//TODO
...
...
@@ -612,49 +613,49 @@ function checkDidgrpAdvPtsYouzbmN1003() {
* source:ditopn.@0123.script
*
*/
function
checkDidgrpAplPtsExtactN100
()
{
function
checkDidgrpAplPtsExtactN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0014.script
* ditp.benp
*/
function
checkDidgrpBenPtsAdrblkN950
()
{
function
checkDidgrpBenPtsAdrblkN950
(
rule
,
value
,
callback
)
{
}
/**
* source:limpts.@0000.script
* liaall.limmod.limpts
*/
function
checkLiaallLimmodLimptsNonrevflg1N100
()
{
function
checkLiaallLimmodLimptsNonrevflg1N100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0126.script
*
*/
function
checkDidgrpApcPtsYouzbmN1002
()
{
function
checkDidgrpApcPtsYouzbmN1002
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0130.script
*
*/
function
checkDidgrpBenPtsYouzbmN1004
()
{
function
checkDidgrpBenPtsYouzbmN1004
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0027.script
*
*/
function
checkDidgrpRecOpndatN100
()
{
function
checkDidgrpRecOpndatN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0028.script
* ditp
*/
function
checkDidgrpRecOpndatN950
()
{
function
checkDidgrpRecOpndatN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0030.script
*
*/
function
checkDidgrpRecAvbbyN100
()
{
function
checkDidgrpRecAvbbyN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.avbby"
).
then
(
res
=>
{
//TODO
...
...
@@ -664,37 +665,37 @@ function checkDidgrpRecAvbbyN100() {
* source:ditp.@0077.script
* ditp
*/
function
checkDidgrpRecMytypeN100
()
{
function
checkDidgrpRecMytypeN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0012.script
* ditp
*/
function
checkDitpUsrExtkeyN100
()
{
function
checkDitpUsrExtkeyN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0001.script
* liaall.limmod.wrkp.ptsget
*/
function
checkLiaallLimmodWrkpPtsgetSdamodDadsndN100
()
{
function
checkLiaallLimmodWrkpPtsgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:didget.@0001.script
* ditp.recget
*/
function
checkDitpRecgetSdamodDadsndN100
()
{
function
checkDitpRecgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0127.script
*
*/
function
checkDidgrpApcPtsDihdigN1002
()
{
function
checkDidgrpApcPtsDihdigN1002
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0022.script
*
*/
function
checkDidgrpAdvPtsExtkeyN100
()
{
function
checkDidgrpAdvPtsExtkeyN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.adv.pts.extkey"
).
then
(
res
=>
{
//TODO
...
...
@@ -704,37 +705,37 @@ function checkDidgrpAdvPtsExtkeyN100() {
* source:ptsget.@0009.script
* ditp.advp.ptsget
*/
function
checkDidgrpAdvPtsExtkeyN950
()
{
function
checkDidgrpAdvPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* ditp.advp
*/
function
checkDidgrpAdvPtsExtkeyN960
()
{
function
checkDidgrpAdvPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0038.script
* ditp.rmbp
*/
function
checkDidgrpRmbNamelcN100
()
{
function
checkDidgrpRmbNamelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:setmod.@0016.script
* setmod
*/
function
checkSetmodDocamtN100
()
{
function
checkSetmodDocamtN100
(
rule
,
value
,
callback
)
{
}
/**
* source:liaall.@0036.script
* liaall
*/
function
checkSetmodDocamtN15000
()
{
function
checkSetmodDocamtN15000
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0129.script
*
*/
function
checkDidgrpAdvPtsDihdigN1003
()
{
function
checkDidgrpAdvPtsDihdigN1003
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.adv.pts.dihdig"
).
then
(
res
=>
{
//TODO
...
...
@@ -758,37 +759,37 @@ function checkDidgrpRecExpdatN100(rule, value, callback) {
* source:ptsget.@0009.script
* ditp.benp.ptsget
*/
function
checkDidgrpBenPtsExtkeyN950
()
{
function
checkDidgrpBenPtsExtkeyN950
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0013.script
* ditp.benp
*/
function
checkDidgrpBenPtsExtkeyN960
()
{
function
checkDidgrpBenPtsExtkeyN960
(
rule
,
value
,
callback
)
{
}
/**
* source:liaccv.@0025.script
* liaall.liaccv
*/
function
checkLiaallLiaccvCshpctN100
()
{
function
checkLiaallLiaccvCshpctN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0024.script
* ditp
*/
function
checkDidgrpRecAvbwthN100
()
{
function
checkDidgrpRecAvbwthN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0046.script
* ditp
*/
function
checkDidgrpRecAvbwthN900
()
{
function
checkDidgrpRecAvbwthN900
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.lcrdoc
*/
function
checkDidgrpBlkLcrdocN100
()
{
function
checkDidgrpBlkLcrdocN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.blk.lcrdoc"
).
then
(
res
=>
{
that
.
model
.
didgrp
.
blk
.
lcrdoc
=
res
.
data
.
didgrp_blk_lcrdoc
;
...
...
@@ -798,19 +799,19 @@ function checkDidgrpBlkLcrdocN100() {
* source:ditopn.@0110.script
*
*/
// function checkDidgrpBlkLcrdocN100() {
// function checkDidgrpBlkLcrdocN100(
rule, value, callback
) {
// }
/**
* source:ditp.@0101.script
* ditp
*/
function
checkDidgrpBlkLcrdocN1001
()
{
function
checkDidgrpBlkLcrdocN1001
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0044.script
*
*/
function
checkDidgrpRecTenmaxdayN1000
()
{
function
checkDidgrpRecTenmaxdayN1000
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.tenmaxday"
).
then
(
res
=>
{
//TODO
...
...
@@ -820,61 +821,62 @@ function checkDidgrpRecTenmaxdayN1000() {
* source:ditp.@0049.script
* ditp
*/
function
checkDidgrpRecTenmaxdayN1050
()
{
function
checkDidgrpRecTenmaxdayN1050
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0006.script
*
*/
function
checkDidgrpCbsNom1AmtN100
()
{
function
checkDidgrpCbsNom1AmtN100
(
rule
,
value
,
callback
)
{
callback
()
}
/**
* source:txmmod.@0009.script
* ditp.preper
*/
function
checkDidgrpBlkPreperN100
()
{
function
checkDidgrpBlkPreperN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0083.script
* ditp
*/
function
checkDidgrpBlkPreperN100
()
{
function
checkDidgrpBlkPreperN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsp.@0039.script
* ditp.aplp
*/
function
checkDidgrpAplAdrelcN100
()
{
function
checkDidgrpAplAdrelcN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ptsget.@0001.script
* ditp.rmbp.ptsget
*/
function
checkDitpRmbpPtsgetSdamodDadsndN100
()
{
function
checkDitpRmbpPtsgetSdamodDadsndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0132.script
*
*/
function
checkDidgrpBenPtsExtactN1001
()
{
function
checkDidgrpBenPtsExtactN1001
(
rule
,
value
,
callback
)
{
}
/**
* source:txmmod.@0009.script
* ditp.adlcnd
*/
function
checkDidgrpBlkAdlcndN100
()
{
function
checkDidgrpBlkAdlcndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditp.@0102.script
* ditp
*/
function
checkDidgrpBlkAdlcndN100
()
{
function
checkDidgrpBlkAdlcndN100
(
rule
,
value
,
callback
)
{
}
/**
* source:ditopn.@0090.script
*
*/
function
checkLitameadvN100
()
{
function
checkLitameadvN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
exeuteCheck
(
"litameadv"
).
then
(
res
=>
{
})
...
...
@@ -884,11 +886,11 @@ function checkLitameadvN100() {
* source:liaccv.@0024.script
* liaall.liaccv
*/
function
checkLiaallLiaccvRelcshpctN100
()
{
function
checkLiaallLiaccvRelcshpctN100
(
rule
,
value
,
callback
)
{
}
function
ruleLitameadvN100
()
{
function
ruleLitameadvN100
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
executeRule
(
"litameadv"
).
then
(
res
=>
{
})
...
...
src/model/Ditopn/Default.js
View file @
c89d8dfd
...
...
@@ -214,16 +214,16 @@ function defaultLiaallButmissig() {
}
function
defaultDitpRevclauseButtxmsel
()
{
}
function
defaultDidgrpCbsNom1Cur
(
newVal
,
oldVal
)
function
defaultDidgrpCbsNom1Cur
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
model
.
didgrp
.
cbs
.
max
.
cur
=
newVal
;
// 摘要
that
.
executeDefault
(
"didgrp.rec.nam"
).
then
(
res
=>
{
that
.
model
.
didgrp
.
cbs
.
max
.
cur
=
value
;
that
.
model
.
didgrp
.
rec
.
nam
=
res
.
data
.
didgrp_rec_nam
;
})
}
function
defaultDidgrpCbsNom1Amt
(
newVal
,
oldVal
)
{
function
defaultDidgrpCbsNom1Amt
(
rule
,
value
,
callback
)
{
const
that
=
this
;
// 信用证最大金额
caculateMaxAmt
(
that
)
...
...
src/model/Ditopn/Pattern.js
View file @
c89d8dfd
...
...
@@ -41,8 +41,9 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"didgrp.cbs.nom1.cur"
:
[
{
required
:
true
,
message
:
"必输项"
},
],
"didgrp.cbs.nom1.amt"
:[
{
required
:
true
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
...
...
@@ -88,7 +89,7 @@ export default {
"didgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
//
{max: 18,message:"整数位不能超过14位"},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"didgrp.apb.pts.bankno"
:[
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
c89d8dfd
...
...
@@ -54,7 +54,7 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
:readonly=
"true"
placeholder=
"请选择Currency
"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
placeholder=
"请选择Currency"
@
blur=
"selectBlur
"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -417,6 +417,9 @@ export default {
this
.
model
.
didgrp
.
ben
.
adrelc
=
data
.
didgrp_ben_adrelc
;
this
.
model
.
didgrp
.
ben
.
pts
.
extkey
=
data
.
didgrp_ben_pts_extkey
;
})
},
selectBlur
(
e
)
{
console
.
log
(
e
)
}
},
created
:
function
(){
...
...
src/views/Business/Ditopn/index.vue
View file @
c89d8dfd
...
...
@@ -198,8 +198,8 @@ export default {
}
},
mounted
:
async
function
(){
this
.
changeFormValidateDisabled
(
true
);
console
.
log
(
"进入ditopn交易"
);
this
.
changeFormValidateDisabled
(
true
);
let
rtnmsg
=
await
this
.
init
()
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -210,10 +210,6 @@ export default {
if
(
this
.
isInDisplay
){
this
.
restoreDisplay
()
}
const
that
=
this
;
this
.
$nextTick
(()
=>
{
that
.
openWatch
(
false
);
})
}
else
{
...
...
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