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
f250bbd2
Commit
f250bbd2
authored
Nov 15, 2023
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letcan修改
parent
e8cc4de7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
126 additions
and
137 deletions
+126
-137
buildCommons.js
src/business/letcan/event/buildCommons.js
+11
-11
index.js
src/business/letcan/event/index.js
+11
-11
check.js
src/business/letcan/model/check.js
+4
-4
index.js
src/business/letcan/model/index.js
+6
-6
Canp.vue
src/business/letcan/views/Canp.vue
+29
-39
Ovwp.vue
src/business/letcan/views/Ovwp.vue
+4
-5
buildCommons.js
src/business/letrsv/event/buildCommons.js
+11
-11
index.js
src/business/letrsv/event/index.js
+9
-9
check.js
src/business/letrsv/model/check.js
+39
-39
index.js
src/business/letrsv/model/index.js
+2
-2
No files found.
src/business/letcan/event/buildCommons.js
View file @
f250bbd2
export
default
{
buildPtspta
(
ptsptaObj
)
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
let
ptspta
=
{
rol
:
pts
.
rol
,
...
...
@@ -17,7 +17,7 @@ export default {
};
return
ptspta
;
},
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
ledgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apl
));
...
...
@@ -63,7 +63,7 @@ export default {
};
return
dataObj
},
buildSetfeg
(
model
,
trnName
)
{
buildSetfeg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
...
...
@@ -72,7 +72,7 @@ export default {
};
return
params
},
buildSetglg
(
model
,
trnName
)
{
buildSetglg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
...
...
@@ -81,7 +81,7 @@ export default {
};
return
params
},
buildGlentry
(
model
,
trnName
)
{
buildGlentry
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
...
...
@@ -91,20 +91,20 @@ export default {
};
return
params
},
buildEngp
(
model
,
trnName
)
{
buildEngp
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
};
return
params
},
buildDocpan
(
model
,
trnName
)
{
buildDocpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
return
params
},
buildCcvpan
(
model
,
trnName
)
{
buildCcvpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaccvg
:
model
.
liaccv
.
liaccvg
,
...
...
@@ -114,7 +114,7 @@ export default {
};
return
params
},
buildLimitbody
(
model
,
trnName
)
{
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -125,7 +125,7 @@ export default {
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -138,7 +138,7 @@ export default {
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setglg
...
...
src/business/letcan/event/index.js
View file @
f250bbd2
...
...
@@ -20,7 +20,7 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trninr
:
this
.
$route
.
query
.
trninr
,
...
...
@@ -29,12 +29,12 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ledgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
ledgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
}
});
if
(
!
res
.
data
)
{
return
...
...
@@ -45,7 +45,7 @@ export default {
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setglg
,
res
.
data
.
setglg
)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
...
...
@@ -94,7 +94,7 @@ export default {
let
doctreRequest
=
buildFn
.
buildDoctre
(
this
.
model
,
this
.
trnName
);
this
.
processDoctre
(
doctreRequest
);
break
;
default
:
return
;
}
...
...
@@ -171,7 +171,7 @@ export default {
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
buildLiaccv
()
{
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
liaccvg
:
this
.
model
.
liaccv
.
liaccvg
,
...
...
@@ -179,11 +179,11 @@ export default {
chgamt
:
this
.
model
.
liaccv
.
chgamt
,
concur
:
this
.
model
.
liaccv
.
concur
,
};
return
params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel
(
emitParams
)
{
changeSetmodModel
(
emitParams
)
{
let
reqParams
=
{}
switch
(
emitParams
.
code
)
{
case
'processMethods'
:
...
...
@@ -193,7 +193,7 @@ export default {
case
'changeDsp'
:
let
index
=
emitParams
.
index
;
let
setglgRequest
=
buildFn
.
buildSetglg
(
this
.
model
,
this
.
trnName
);
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
this
.
setgllAccts
(
setglgRequest
,
index
);
break
default
:
...
...
src/business/letcan/model/check.js
View file @
f250bbd2
...
...
@@ -62,17 +62,17 @@ export default {
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'ledgrp.rec.opndat'
:
[
{
required
:
false
,
message
:
'输入正确的日期'
},
{
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.rec.shpdat'
:
[
{
required
:
false
,
message
:
'输入正确的日期'
},
{
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.ben.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'ledgrp.rec.expdat'
:
[
{
required
:
false
,
message
:
'输入正确的日期'
},
{
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.rec.expplc'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
...
...
@@ -257,7 +257,7 @@ export default {
{
max
:
35
,
message
:
'长度不能超过35'
},
],
'rmbclm.valdat'
:
[
{
required
:
false
,
message
:
'输入正确的日期'
},
{
required
:
false
,
message
:
'输入正确的日期'
},
],
// 'mtabut.coninf.oitinf.oit.inftxt': [
...
...
src/business/letcan/model/index.js
View file @
f250bbd2
...
...
@@ -4,7 +4,7 @@ export default class Letcan {
constructor
()
{
this
.
data
=
{
letp
:
{
swiftflg
:
''
,
swiftflg
:
''
,
furide
:
''
,
matp
:
{
mattxtlab
:
''
,
...
...
@@ -14,7 +14,7 @@ export default class Letcan {
ledgrp
:
{
con
:
{
pts
:
new
Pts
().
data
,
},
},
avb
:
{
pts
:
new
Pts
().
data
,
},
...
...
@@ -34,7 +34,7 @@ export default class Letcan {
pts
:
new
Pts
().
data
,
},
rec
:
{
inr
:
''
,
inr
:
''
,
revflg
:
''
,
expdat
:
''
,
expplc
:
''
,
...
...
@@ -45,7 +45,7 @@ export default class Letcan {
nam
:
''
,
opndat
:
''
,
redclsflg
:
''
,
branchinr
:
''
,
branchinr
:
''
,
},
cbs
:
{
opn1
:
{
...
...
@@ -67,10 +67,10 @@ export default class Letcan {
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
...
...
src/business/letcan/views/Canp.vue
View file @
f250bbd2
...
...
@@ -4,7 +4,7 @@
<!-- ============================顶部================================ -->
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"padding-right: 20px
;
"
>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<el-form-item
label=
"出口信用证编号"
prop=
"ledgrp.rec.ownref"
>
<c-input
v-model=
"model.ledgrp.rec.ownref"
...
...
@@ -14,7 +14,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
style=
"padding-left: 20px
;
"
>
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<el-form-item
label=
"简略信息"
prop=
"ledgrp.rec.nam"
>
<c-input
text-align=
"middle"
...
...
@@ -29,9 +29,9 @@
</c-col>
</c-row>
<!-- ========================上半部分的左边=========================== -->
<!-- ========================上半部分的左边=========================== -->
<c-row>
<c-col
:span=
"12"
style=
"padding-right: 20px
;
"
>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<!-- L/C Amount -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
...
...
@@ -53,7 +53,6 @@
style=
"text-align: left; width: 100%"
class=
"m-input-currency"
placeholder=
"请输入信用证金额"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
...
...
@@ -70,7 +69,7 @@
</c-col>
</c-col>
<!-- Open Amount -->
<!-- Open Amount -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"信用证余额"
prop=
"ledgrp.cbs.opn1.cur"
>
...
...
@@ -95,9 +94,10 @@
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
style=
"margin-left: 10px"
disabled
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
style=
"margin-left: 10px"
disabled
>
循环信用证
</c-checkbox
>
</c-col>
...
...
@@ -130,14 +130,15 @@
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
style=
"margin-left: 10px"
disabled
>
红/绿条款
</c-checkbox
>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"开立日期"
prop=
"ledgrp.rec.opndat"
>
...
...
@@ -202,11 +203,11 @@
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ========================上半部分的右边======================= -->
<c-col
:span=
"12"
style=
"padding-left: 20px
;
"
>
<!-- ========================上半部分的右边======================= -->
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人参考号"
prop=
"ledgrp.apl.pts.ref"
>
<c-input
...
...
@@ -280,12 +281,11 @@
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- ========================下半部分======================= -->
<!-- ========================下半部分======================= -->
<c-row>
<c-col
:span=
"12"
style=
"padding-right: 20px
;
"
>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"叙述信息"
prop=
"letcanf.strinf"
>
<c-fullbox>
...
...
@@ -299,12 +299,7 @@
></c-input>
<template
slot=
"footer"
>
<!-- @click="onCanletButtxmsel" -->
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-more"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-more"
>
</c-button>
</
template
>
</c-fullbox>
...
...
@@ -314,34 +309,29 @@
<c-checkbox
v-model=
"model.sndmsg"
>
发送信息
</c-checkbox>
</el-form-item>
</c-col>
</c-row>
</div>
</template>
<
script
>
import
event
from
'../event'
import
Ptap
from
'~/views/Public/Ptap'
import
event
from
"../event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
inject
:
[
"root"
],
components
:
{
'c-ptap'
:
Ptap
},
components
:
{
"c-ptap"
:
Ptap
},
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{}
return
{}
;
},
methods
:
{},
created
:
function
()
{},
computed
:{
cnftxt
(){
this
.
model
.
letp0
.
cnftxt
=
"The L/C was canceled "
+
new
Date
()
return
this
.
model
.
letp0
.
cnftxt
}
}
}
computed
:
{
cnftxt
()
{
this
.
model
.
letp0
.
cnftxt
=
"The L/C was canceled "
+
new
Date
();
return
this
.
model
.
letp0
.
cnftxt
;
},
},
};
</
script
>
<
style
></
style
>
src/business/letcan/views/Ovwp.vue
View file @
f250bbd2
...
...
@@ -12,7 +12,7 @@
</div>
</
template
>
<
script
>
import
event
from
'../event'
import
event
from
"../event"
;
import
Canp
from
"./Canp"
;
import
Rcldetp
from
"./Rcldetp"
;
...
...
@@ -27,11 +27,10 @@ export default {
data
()
{
return
{
activeNames
:
[
"canp"
],
}
}
;
},
methods
:
{},
created
:
function
()
{
},
}
created
:
function
()
{},
};
</
script
>
<
style
></
style
>
src/business/letrsv/event/buildCommons.js
View file @
f250bbd2
export
default
{
buildPtspta
(
ptsptaObj
)
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
let
ptspta
=
{
rol
:
pts
.
rol
,
...
...
@@ -17,7 +17,7 @@ export default {
};
return
ptspta
;
},
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
ledgrp
.
a2b
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
a2b
));
...
...
@@ -88,7 +88,7 @@ export default {
};
return
dataObj
},
buildSetfeg
(
model
,
trnName
)
{
buildSetfeg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
...
...
@@ -97,7 +97,7 @@ export default {
};
return
params
},
buildSetglg
(
model
,
trnName
)
{
buildSetglg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
...
...
@@ -106,7 +106,7 @@ export default {
};
return
params
},
buildGlentry
(
model
,
trnName
)
{
buildGlentry
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
...
...
@@ -116,20 +116,20 @@ export default {
};
return
params
},
buildEngp
(
model
,
trnName
)
{
buildEngp
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
};
return
params
},
buildDocpan
(
model
,
trnName
)
{
buildDocpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
return
params
},
buildCcvpan
(
model
,
trnName
)
{
buildCcvpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaccvg
:
model
.
liaccv
.
liaccvg
,
...
...
@@ -139,7 +139,7 @@ export default {
};
return
params
},
buildLimitbody
(
model
,
trnName
)
{
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -150,7 +150,7 @@ export default {
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -163,7 +163,7 @@ export default {
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setglg
...
...
src/business/letrsv/event/index.js
View file @
f250bbd2
...
...
@@ -19,20 +19,20 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trninr
:
this
.
$route
.
query
.
trninr
,
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
params
.
spt
=
null
}
const
res
=
await
Api
.
post
(
'/service/letrsv/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ledgrp
:{
rec
:{
ledgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
},
...
...
@@ -47,7 +47,7 @@ export default {
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setglg
,
res
.
data
.
setglg
)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
...
...
@@ -160,8 +160,8 @@ export default {
};
let
res
=
await
Api
.
post
(
'/service/letrsv/avbwthflg'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
avb
.
pts
.
extkey
=
res
.
data
.
pts
.
extkey
;
this
.
model
.
ledgrp
.
avb
.
pts
.
adrblk
=
res
.
data
.
pts
.
adrblk
;
this
.
model
.
ledgrp
.
avb
.
pts
.
extkey
=
res
.
data
.
pts
.
extkey
;
this
.
model
.
ledgrp
.
avb
.
pts
.
adrblk
=
res
.
data
.
pts
.
adrblk
;
}
},
//最大金额
...
...
@@ -169,7 +169,7 @@ export default {
let
params
=
{
nom1cur
:
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
,
nom1amt
:
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
,
nomtop
:
this
.
model
.
ledgrp
.
rec
.
nomtop
nomtop
:
this
.
model
.
ledgrp
.
rec
.
nomtop
};
let
res
=
await
Api
.
post
(
'/service/letrsv/cbsmax'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -177,6 +177,6 @@ export default {
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
res
.
data
.
maxamt
;
}
},
},
};
src/business/letrsv/model/check.js
View file @
f250bbd2
...
...
@@ -4,17 +4,17 @@ import Utils from '~/utils';
* Letrsv Check规则
*/
let
checkObj
=
{
"setmod.dspflg"
:
null
,
"ledgrp.rec.nomspc"
:
null
,
"ledgrp.cbs.nom1.cur"
:
null
,
"ledgrp.rec.revtyp"
:
null
,
"ledgrp.rec.avbby"
:
null
,
"ledgrp.rec.avbwth"
:
null
,
"ledgrp.rec.stacty"
:
null
,
"ledgrp.rec.lcrtyp"
:
null
,
"ledgrp.rec.apprul"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"ledgrp.rec.cnfdet"
:
null
,
"setmod.dspflg"
:
null
,
"ledgrp.rec.nomspc"
:
null
,
"ledgrp.cbs.nom1.cur"
:
null
,
"ledgrp.rec.revtyp"
:
null
,
"ledgrp.rec.avbby"
:
null
,
"ledgrp.rec.avbwth"
:
null
,
"ledgrp.rec.stacty"
:
null
,
"ledgrp.rec.lcrtyp"
:
null
,
"ledgrp.rec.apprul"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"ledgrp.rec.cnfdet"
:
null
,
"letp.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -59,7 +59,7 @@ let checkObj = {
"ledgrp.ben.namelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.cbs.nom1.amt"
:
[
...
...
@@ -70,24 +70,24 @@ let checkObj = {
"ledgrp.ben.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.ben.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.rec.nomtop"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
],
"ledgrp.rec.nomton"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
],
"ledgrp.ben.adrelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
...
...
@@ -107,10 +107,10 @@ let checkObj = {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ledgrp.rec.opndat"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.rec.preadvdt"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.iss.pts.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -123,24 +123,24 @@ let checkObj = {
"ledgrp.iss.namelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.rec.shpdat"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
// "ledgrp.rec.advdat": [
// { required: false, message: "输入正确的日期" }
// ],
"ledgrp.iss.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.iss.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.rec.expdat"
:
[
{
required
:
true
,
message
:
"输入正确的日期"
}
{
required
:
true
,
message
:
"输入正确的日期"
}
],
"ledgrp.iss.adrelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -179,20 +179,20 @@ let checkObj = {
],
"ledgrp.apl.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.apl.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.apl.adrelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.rec.apprultxt"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
...
...
@@ -222,11 +222,11 @@ let checkObj = {
"ledgrp.avb.namelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.blk.avbwthtxt"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
// "ledgrp.avb.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
...
...
@@ -234,19 +234,19 @@ let checkObj = {
// ],
"ledgrp.avb.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.avb.adrelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.blk.preper"
:
[
{
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.rec.prepers18"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
],
...
...
@@ -305,8 +305,8 @@ let checkObj = {
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"ledgrp.rec.tenmaxday"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过4"
}
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过4"
}
],
"ledgrp.rec.porloa"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -538,7 +538,7 @@ let checkObj = {
// ],
"mtabut.coninf.conexedat"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -594,7 +594,7 @@ let checkObj = {
{
max
:
2
,
message
:
"长度不能超过2"
}
],
"ledgrp.rec.revdat"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.blk.revcls"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/business/letrsv/model/index.js
View file @
f250bbd2
...
...
@@ -37,14 +37,14 @@ export default class Letrsv {
rec
:
{
inr
:
''
,
tenmaxday
:
''
,
nomton
:
''
,
nomton
:
'
0
'
,
expplc
:
''
,
stacty
:
''
,
revtyp
:
''
,
revtimes
:
''
,
resflg
:
''
,
opndat
:
''
,
nomtop
:
''
,
nomtop
:
'
0
'
,
avbwth
:
''
,
revflg
:
''
,
spcbenflg
:
''
,
...
...
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