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
f7038188
Commit
f7038188
authored
Sep 22, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Booking页面添加,trtopn定价系统页面添加
parent
165d8b82
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
1249 additions
and
490 deletions
+1249
-490
Check.js
src/model/Trtame/Check.js
+1
-0
Default.js
src/model/Trtame/Default.js
+2
-0
Pattern.js
src/model/Trtame/Pattern.js
+5
-0
index.js
src/model/Trtame/index.js
+3
-1
Default.js
src/model/Trtcan/Default.js
+1
-0
Pattern.js
src/model/Trtcan/Pattern.js
+5
-0
index.js
src/model/Trtcan/index.js
+3
-1
Check.js
src/model/Trtopn/Check.js
+9
-1
Default.js
src/model/Trtopn/Default.js
+1
-0
Event.js
src/model/Trtopn/Event.js
+127
-60
Pattern.js
src/model/Trtopn/Pattern.js
+224
-113
index.js
src/model/Trtopn/index.js
+31
-1
Check.js
src/model/Trtrcl/Check.js
+2
-0
Default.js
src/model/Trtrcl/Default.js
+3
-0
Pattern.js
src/model/Trtrcl/Pattern.js
+6
-1
index.js
src/model/Trtrcl/index.js
+4
-1
Check.js
src/model/Trtset/Check.js
+1
-0
Default.js
src/model/Trtset/Default.js
+2
-0
Pattern.js
src/model/Trtset/Pattern.js
+4
-0
index.js
src/model/Trtset/index.js
+1
-1
index.vue
src/views/Business/Trtame/index.vue
+83
-53
index.vue
src/views/Business/Trtcan/index.vue
+81
-56
Dinpan.vue
src/views/Business/Trtopn/Dinpan.vue
+377
-0
index.vue
src/views/Business/Trtopn/index.vue
+103
-85
index.vue
src/views/Business/Trtrcl/index.vue
+89
-61
index.vue
src/views/Business/Trtset/index.vue
+81
-55
No files found.
src/model/Trtame/Check.js
View file @
f7038188
...
...
@@ -30,6 +30,7 @@ let checkObj = {
"trtmod.finmod.ovdintrat"
:
null
,
"trtmod.finmod.intdat"
:
null
,
"trtmod.finmod.ratchgdat"
:
null
,
"trtfipl1blk"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Trtame/Default.js
View file @
f7038188
...
...
@@ -31,6 +31,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"trtmod.finmod.ratchgtyp"
:
Utils
.
defaultFunction
,
"trdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"trtmod.finmod.intdat"
:
Utils
.
defaultFunction
,
"trtmod.finmod.flttyp"
:
Utils
.
defaultFunction
,
"trdgrp.fip.pts.nam"
:
Utils
.
defaultFunction
,
...
...
@@ -45,5 +46,6 @@ export default {
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"trtmod.finmod.dinmod.jzllgz"
:
Utils
.
defaultFunction
,
"trtfipl1blk"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Trtame/Pattern.js
View file @
f7038188
...
...
@@ -330,4 +330,8 @@ export default {
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/model/Trtame/index.js
View file @
f7038188
...
...
@@ -96,7 +96,8 @@ export default class Trtame{
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
pageId
:
""
,
// ctx的key
trtfipl1blk
:
""
,
}
}
}
\ No newline at end of file
src/model/Trtcan/Default.js
View file @
f7038188
...
...
@@ -23,6 +23,7 @@ export default {
"liaall.limmod.comamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.ccvamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"trdgrp.fip.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
...
...
src/model/Trtcan/Pattern.js
View file @
f7038188
...
...
@@ -252,4 +252,8 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/model/Trtcan/index.js
View file @
f7038188
...
...
@@ -71,7 +71,8 @@ export default class Trtcan{
mtabut
:
new
Pub
().
data
.
Mtabut
,
setmod
:
new
Pub
().
data
.
Setmod
,
pageId
:
""
// ctx的key
pageId
:
""
,
// ctx的key
trtfipl1blk
:
""
,
}
}
}
\ No newline at end of file
src/model/Trtopn/Check.js
View file @
f7038188
...
...
@@ -8,6 +8,7 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey"
:
null
,
"trtmod.finmod.flttyp"
:
null
,
"dftcre.dfdgrp.rec.matdat"
:
null
,
"trtmod.finmod.dinmod.chapdm"
:
null
,
"liaall.limmod.ownref"
:
null
,
"dftcre.dfdgrp.rec.dfuflg"
:
null
,
"dftcre.dfdgrp.rec.resamt"
:
null
,
...
...
@@ -15,12 +16,14 @@ let checkObj = {
"dftcre.dfdgrp.apl.namelc"
:
null
,
"trdgrp.rec.stttendat"
:
null
,
"liaall.limmod.ecifno"
:
null
,
"trtmod.finmod.dinmod.shpjgh"
:
null
,
"dftcre.dfdgrp.rec.bankcn"
:
null
,
"dftcre.dfdgrp.cbs.max.cur"
:
null
,
"dftcre.dfdgrp.cbs.max.amt"
:
null
,
"trdgrp.rec.actrat"
:
null
,
"cfatrt.cfaflg"
:
null
,
"trdgrp.rec.invtyp"
:
null
,
"cfatrt.cfaflg"
:
null
,
"dftcre.dfdgrp.rec.trntyp"
:
null
,
"trtp.usr.extkey"
:
null
,
"cfadft.cfaflg"
:
null
,
...
...
@@ -38,6 +41,7 @@ let checkObj = {
"trtmod.finmod.dinmod.rmbsbs"
:
null
,
"trtmod.finmod.dinjdm"
:
null
,
"trtmod.finmod.ratchgtyp"
:
null
,
"trdgrp.rec.oppacc"
:
null
,
"dftcre.dfdgrp.dff.pts.adrblk"
:
null
,
"trdgrp.rec.oppacc"
:
null
,
"trdgrp.rec.stagod"
:
null
,
...
...
@@ -51,6 +55,7 @@ let checkObj = {
"trdgrp.cbs.max.amt"
:
null
,
"trdgrp.rec.lprtyp"
:
null
,
"liaall.limmod.limpts.wrk.pts.nam"
:
null
,
"trtmod.finmod.dinmod.ockhdm"
:
null
,
"dftcre.dfdgrp.apl.pts.adrblk"
:
null
,
"trdgrp.fip.pts.adrblk"
:
null
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
null
,
...
...
@@ -64,12 +69,15 @@ let checkObj = {
"trtmod.finmod.ovdinttyp"
:
null
,
"dftcre.dfdgrp.rec.stttendat"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"trtmod.finmod.dinmod.hxkhdm"
:
null
,
"trtmod.finmod.fltval"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"trdgrp.cbs.max.cur"
:
null
,
"trdgrp.rec.mycontno"
:
null
,
"trdgrp.cbs.max.cur"
:
null
,
"trdgrp.fip.pts.extkey"
:
null
,
"cfadft.ownextkey"
:
null
,
"trtmod.finmod.dinmod.shpijg"
:
null
,
"trdgrp.fip.namelc"
:
null
,
"cfatrt.cda.cfeogudcurr"
:
null
,
"setmod.docamt"
:
null
,
...
...
@@ -79,13 +87,13 @@ let checkObj = {
"trtp.act"
:
null
,
"trdgrp.rec.issdat"
:
null
,
"trtmod.finmod.intdat"
:
null
,
"trdgrp.rec.issdat"
:
null
,
"dftcre.dfdgrp.dff.adrelc"
:
null
,
"trdgrp.rec.tenday"
:
null
,
"trtmod.finmod.ratchgdat"
:
null
,
"dftcre.dfdgrp.rec.fintyp"
:
null
,
"trdgrp.rec.flowflag"
:
null
,
"trdgrp.rec.fintyp1"
:
null
,
// "trdgrp.rec.sndto" :null,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Trtopn/Default.js
View file @
f7038188
...
...
@@ -58,6 +58,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"cfadft.basflg"
:
Utils
.
defaultFunction
,
"trtmod.finmod.ratchgtyp"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"cfatrt.cfaflg"
:
Utils
.
defaultFunction
,
"trdgrp.fip.pts.adrblk"
:
Utils
.
defaultFunction
,
"trtmod.finmod.accbch"
:
Utils
.
defaultFunction
,
...
...
src/model/Trtopn/Event.js
View file @
f7038188
...
...
@@ -12,7 +12,10 @@ export default {
message
:
"获取成功!"
,
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onFippDet
()
{
...
...
@@ -20,7 +23,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onFinmodButget
()
{
...
...
@@ -28,7 +34,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onFinmodButcal
()
{
...
...
@@ -36,7 +45,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onCodselSelbut
()
{
...
...
@@ -44,7 +56,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onDinmodDget
()
{
...
...
@@ -52,76 +67,76 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
onDftpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dftp.butgetref"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$message
({
type
:
"success"
,
message
:
"获取成功!"
,
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
onDffp
Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dffp
.det"
);
async
onSetmod
Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod
.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det
"
);
async
onDftpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dftp.butgetref
"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onOth
pDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"oth
p.det"
);
async
onApl
pDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"apl
p.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1
"
);
async
onDffpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dffp.det
"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2
"
);
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt
"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal
"
);
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig
"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButshw
()
{
...
...
@@ -129,7 +144,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButadd
()
{
...
...
@@ -137,7 +155,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButnew
()
{
...
...
@@ -145,7 +166,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButattto
()
{
...
...
@@ -153,7 +177,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButdel
()
{
...
...
@@ -161,7 +188,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onTrndocButatt
()
{
...
...
@@ -169,34 +199,71 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onSetmod
Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod
.det"
);
async
onWrkp
Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp
.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
);
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig
"
);
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2
"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
onSeainf
()
{},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
onSeainf
(
data
)
{
this
.
$emit
(
"onSeainf"
,
data
);
},
async
onExtkey
(
e
)
{},
/**
* 计算两个日期相差的天数
...
...
src/model/Trtopn/Pattern.js
View file @
f7038188
...
...
@@ -215,6 +215,151 @@ export default {
"setmod.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.amdapl"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.advdoc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trtmod.finmod.dinmod.dinjdm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.dinjls"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"trtmod.finmod.dinmod.ockhdm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.hxkhdm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.sxpfdm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"trtmod.finmod.dinmod.djhtno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"trtmod.finmod.dinmod.sxlexi"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.spzhta"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.chapdm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.chapmc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"trtmod.finmod.dinmod.dakaje"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
24
,
message
:
"长度不能超过24"
}
],
"trtmod.finmod.dinmod.shuilv"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.maxdje"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
24
,
message
:
"长度不能超过24"
}
],
"trtmod.finmod.dinmod.shpjgh"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"trtmod.finmod.dinmod.mindje"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
24
,
message
:
"长度不能超过24"
}
],
"trtmod.finmod.dinmod.shpdch"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"trtmod.finmod.dinmod.bizhog"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"trtmod.finmod.dinmod.shpijg"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
24
,
message
:
"长度不能超过24"
}
],
"trtmod.finmod.dinmod.dakaqx"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.spjgdc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"trtmod.finmod.dinmod.maxqix"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.dinjlb"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"trtmod.finmod.dinmod.minqix"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.sheplb"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"trtmod.finmod.dinmod.qixndw"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
10
,
message
:
"长度不能超过10"
}
],
"trtmod.finmod.dinmod.libor"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
26
,
message
:
"长度不能超过26"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"dftcre.dfdgrp.rec.pntref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -366,31 +511,64 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"financ.acc"
:[
"liaall.outamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.outpct"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"liaall.concur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.misamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"financ.ref2"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
"liaall.exttotoldamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"financ.ref5"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
"liaall.exttotamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"
financ.ref3
"
:[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过2
0"
}
"
mtabut.coninf.oitinf.oit.inftxt
"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过6
0"
}
],
"financ.ref4"
:[
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20
"
}
{
max
:
8
,
message
:
"长度不能超过8
"
}
],
"trnmod.trndoc.filrecv"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"trnmod.trndoc.doctrestm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
...
...
@@ -399,16 +577,38 @@ export default {
"trnmod.trndoc.condocstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.rcvatt.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"financ.acc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"
cfatrt.cda.cfeogudamount
"
:[
"
financ.ref2
"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
2
,
message
:
"长度不能超过22
"
}
{
max
:
2
0
,
message
:
"长度不能超过20
"
}
],
"cfatrt.cda.cfeogudad"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
"financ.ref5"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"financ.ref3"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"financ.ref4"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"liaall.limmod.ecifno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -479,14 +679,6 @@ export default {
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"trnmod.trndoc.filrecv"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"trnmod.trndoc.doctrestm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
...
...
@@ -496,96 +688,14 @@ export default {
"trnmod.trndoc.condocstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.rcvatt.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.amdapl"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"
trnmod.trndoc.advdoc
"
:[
"
cfatrt.cda.cfeogudamount
"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
"cfatrt.cda.cfeogudad"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"setmod.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"liaall.outamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.outpct"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"liaall.concur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.misamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotoldamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
max
:
32
,
message
:
"长度不能超过32"
}
],
}
\ No newline at end of file
src/model/Trtopn/index.js
View file @
f7038188
...
...
@@ -25,7 +25,7 @@ export default class Trtopn{
trntyp
:
""
,
// 交易性质 .trdgrp.rec.trntyp
oppacc
:
""
,
// 对方账号 .trdgrp.rec.oppacc
flowflag
:
""
,
// 是否定向收付 .trdgrp.rec.flowflag
invtyp
:
""
,
//
发票类型
.trdgrp.rec.invtyp
invtyp
:
""
,
//
审批流程发起标识
.trdgrp.rec.invtyp
lprtyp
:
""
,
// 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno
:
""
,
// 交易合同号 .trdgrp.rec.mycontno
branchinr
:
""
,
...
...
@@ -136,6 +136,34 @@ export default class Trtopn{
dinmod
:{
jzllgz
:
""
,
// 基准利率规则 .trtmod.finmod.dinmod.jzllgz
rmbsbs
:
""
,
// 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs
dinjdm
:
""
,
// 定价审批代码 .trtmod.finmod.dinmod.dinjdm
dinjls
:
""
,
// 定价流水号 .trtmod.finmod.dinmod.dinjls
ockhdm
:
""
,
// OC客户代码 .trtmod.finmod.dinmod.ockhdm
hxkhdm
:
""
,
// 核心客户代码 .trtmod.finmod.dinmod.hxkhdm
sxpfdm
:
""
,
// 授信批复代码 .trtmod.finmod.dinmod.sxpfdm
djhtno
:
""
,
// 合同号 .trtmod.finmod.dinmod.djhtno
sxlexi
:
""
,
// 授信类型 .trtmod.finmod.dinmod.sxlexi
spzhta
:
""
,
// 审批状态 .trtmod.finmod.dinmod.spzhta
chapdm
:
""
,
// 产品代码 .trtmod.finmod.dinmod.chapdm
shpijg
:
""
,
// 审批价格(不含税) .trtmod.finmod.dinmod.shpijg
dakaje
:
""
,
// 贷款金额 .trtmod.finmod.dinmod.dakaje
bizhog
:
""
,
// 币种 .trtmod.finmod.dinmod.bizhog
dakaqx
:
""
,
// 贷款期限 .trtmod.finmod.dinmod.dakaqx
qixndw
:
""
,
// 期限单位 .trtmod.finmod.dinmod.qixndw
maxqix
:
""
,
// 最大贷款期限 .trtmod.finmod.dinmod.maxqix
minqix
:
""
,
// 最小贷款期限 .trtmod.finmod.dinmod.minqix
maxdje
:
""
,
// 最大贷款金额 .trtmod.finmod.dinmod.maxdje
mindje
:
""
,
// 最小贷款金额 .trtmod.finmod.dinmod.mindje
chapmc
:
""
,
// 产品名称 .trtmod.finmod.dinmod.chapmc
spjgdc
:
""
,
// 审批价格点差(不含税) .trtmod.finmod.dinmod.spjgdc
sheplb
:
""
,
// 审批LIBOR .trtmod.finmod.dinmod.sheplb
libor
:
""
,
// 最新LIBOR .trtmod.finmod.dinmod.libor
dinjlb
:
""
,
// 定价LIBOR .trtmod.finmod.dinmod.dinjlb
ndjgbs
:
""
,
// 拟定价格标识 .trtmod.finmod.dinmod.ndjgbs
shpdch
:
""
,
// 审批价格点差(含税) .trtmod.finmod.dinmod.shpdch
shpjgh
:
""
,
// 审批价格(含税) .trtmod.finmod.dinmod.shpjgh
shuilv
:
""
,
// 增值税税率 .trtmod.finmod.dinmod.shuilv
lprtyp
:
""
,
// 市场LPR期限品种 .trtmod.finmod.dinmod.lprtyp
},
},
},
...
...
@@ -250,6 +278,7 @@ export default class Trtopn{
setmod
:
new
Pub
().
data
.
Setmod
,
pageId
:
""
,
// ctx的key
roldsc
:
""
,
trtfipl1blk
:
""
,
}
}
}
\ No newline at end of file
src/model/Trtrcl/Check.js
View file @
f7038188
...
...
@@ -37,6 +37,8 @@ let checkObj = {
"trdgrp.rmb.adrelc"
:
null
,
"rmbclm.rmbrmb.namelc"
:
null
,
"rmbclm.bebbeb.pts.extkey"
:
null
,
"trtissl1blk"
:
null
,
"trtrmbl1blk"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Trtrcl/Default.js
View file @
f7038188
...
...
@@ -49,6 +49,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"rmbclm.rmbrmb.pts.adrblk"
:
Utils
.
defaultFunction
,
"trdgrp.rmb.pts.adrblk"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"trdgrp.fip.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
...
...
@@ -62,5 +63,7 @@ export default {
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"trdgrp.rec.pntnam"
:
Utils
.
defaultFunction
,
"trtissl1blk"
:
Utils
.
defaultFunction
,
"trtrmbl1blk"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Trtrcl/Pattern.js
View file @
f7038188
...
...
@@ -97,7 +97,7 @@ export default {
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"trnmod.trndoc.nar754"
:[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"liaall.tenstm"
:[
...
...
@@ -443,4 +443,8 @@ export default {
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/model/Trtrcl/index.js
View file @
f7038188
...
...
@@ -144,7 +144,9 @@ export default class Trtrcl{
rmbrol
:
""
,
// 偿付行 .rmbclm.rmbrol
valdat
:
""
,
// value date .rmbclm.valdat
},
pageId
:
""
// ctx的key
pageId
:
""
,
// ctx的key
trtissl1blk
:
""
,
trtrmbl1blk
:
""
,
}
}
}
\ No newline at end of file
src/model/Trtset/Check.js
View file @
f7038188
...
...
@@ -22,6 +22,7 @@ let checkObj = {
"pager.liaall_limmod_limpfp_clmcbe.total"
:
null
,
"pager.liaall_limmod_limpfp_clmpty.total"
:
null
,
"pager.liaall_limmod_limpfp_clmcbb.total"
:
null
,
"trtfipl1blk"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Trtset/Default.js
View file @
f7038188
...
...
@@ -35,6 +35,7 @@ export default {
"liaall.limmod.comamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.ccvamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"trdgrp.fip.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
...
...
@@ -49,5 +50,6 @@ export default {
"trtmod.finmod.cbs.cbb.amt"
:
Utils
.
defaultFunction
,
"mtabut.clsflg"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"trtfipl1blk"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Trtset/Pattern.js
View file @
f7038188
...
...
@@ -245,6 +245,10 @@ export default {
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/model/Trtset/index.js
View file @
f7038188
...
...
@@ -105,7 +105,7 @@ export default class Trtset{
liaall
:
new
Pub
().
data
.
Liaall
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
,
// ctx的key
trtfipl1blk
:
""
,
// pager:{
// liaall_limmod_limpfp_clmcbe:{
// total:"",
...
...
src/views/Business/Trtame/index.vue
View file @
f7038188
<
template
>
<c-page
title=
"融资开立"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<el-button
size=
"small"
>
保存模板
</el-button>
...
...
@@ -10,35 +14,67 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--trtame PD000020 Amendment -->
<el-tab-pane
label=
"Amendment"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane
label=
"&Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
...
...
@@ -46,42 +82,43 @@
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Trtame
from
"~/model/Trtame"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtame
from
"~/model/Trtame"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Trtame/Check"
import
Default
from
"~/model/Trtame/Default"
import
Pattern
from
"~/model/Trtame/Pattern"
import
Check
from
"~/model/Trtame/Check"
;
import
Default
from
"~/model/Trtame/Default"
;
import
Pattern
from
"~/model/Trtame/Pattern"
;
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Trtame"
,
components
:{
"m-ovwp"
:
Ovwp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
components
:
{
"m-ovwp"
:
Ovwp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"trtame"
,
...
...
@@ -91,37 +128,30 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
codes
:
{
...
CodeTable
},
};
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入trtame交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
},
}
;
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Trtcan/index.vue
View file @
f7038188
<
template
>
<c-page
title=
"融资业务注销"
>
<c-page
title=
"融资业务注销"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
...
...
@@ -14,72 +14,104 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-tab-pane
label=
"Cancelation"
name=
"canp"
>
<m-canp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"&Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"试算结果"
name=
"shisuan"
>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Trtcan
from
"~/model/Trtcan"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtcan
from
"~/model/Trtcan"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Trtcan/Check"
import
Default
from
"~/model/Trtcan/Default"
import
Pattern
from
"~/model/Trtcan/Pattern"
import
Canp
from
"./Canp"
import
Shisuan
from
"./Shisuan"
import
Check
from
"~/model/Trtcan/Check"
;
import
Default
from
"~/model/Trtcan/Default"
;
import
Pattern
from
"~/model/Trtcan/Pattern"
;
import
Canp
from
"./Canp"
;
import
Shisuan
from
"./Shisuan"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Trtcan"
,
components
:{
"m-canp"
:
Canp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-shisuan"
:
Shisuan
,
"m-limitbody"
:
Limitbody
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
components
:
{
"m-canp"
:
Canp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-shisuan"
:
Shisuan
,
"m-limitbody"
:
Limitbody
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"canp"
,
trnName
:
"trtcan"
,
...
...
@@ -89,37 +121,30 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入trtcan交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
},
}
;
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Trtopn/Dinpan.vue
0 → 100644
View file @
f7038188
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!--=================顶部================= -->
<c-col
:span=
"24"
>
<!-- S0000002 : 定价审批代码 -->
<c-col
:span=
"11"
>
<c-form-item
label=
"定价审批代码"
prop=
"trtmod.finmod.dinmod.dinjdm"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.dinjdm"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000039 : 审批流程发起标识 -->
<c-col
:span=
"11"
>
<el-form-item
label=
"审批流程发起标识"
prop=
"trtmod.finmod.dinmod.rmbsbs"
>
<c-select
v-model=
"model.trtmod.finmod.dinmod.rmbsbs"
style=
"width: 100%"
:disabled=
"true"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 定价流水号 -->
<c-col
:span=
"11"
>
<c-form-item
label=
"定价流水号"
prop=
"trtmod.finmod.dinmod.dinjls"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.dinjls"
maxlength=
"40"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000042 : 市场LPR期限品种 -->
<c-col
:span=
"11"
>
<el-form-item
label=
"市场LPR期限品种"
prop=
"trtmod.finmod.dinmod.lprtyp"
>
<c-select
v-model=
"model.trtmod.finmod.dinmod.lprtyp"
style=
"width: 100%"
:disabled=
"true"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--=================中部================= -->
<c-col
:span=
"15"
>
<!-- S0000004 : OC客户代码 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"OC客户代码"
prop=
"trtmod.finmod.dinmod.ockhdm"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.ockhdm"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 核心客户代码 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"核心客户代码"
prop=
"trtmod.finmod.dinmod.hxkhdm"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.hxkhdm"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : 授信批复代码 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"授信批复代码"
prop=
"trtmod.finmod.dinmod.sxpfdm"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.sxpfdm"
maxlength=
"40"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000007 : 合同号 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"合同号"
prop=
"trtmod.finmod.dinmod.djhtno"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.djhtno"
maxlength=
"40"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000008 : 授信类型 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"授信类型"
prop=
"trtmod.finmod.dinmod.sxlexi"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.sxlexi"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : 审批状态 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批状态"
prop=
"trtmod.finmod.dinmod.spzhta"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.spzhta"
maxlength=
"10"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000010 : 产品代码 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"产品代码"
prop=
"trtmod.finmod.dinmod.chapdm"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.chapdm"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000021 : 产品名称 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"产品名称"
prop=
"trtmod.finmod.dinmod.chapmc"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.chapmc"
maxlength=
"40"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 拟定价格标识 -->
<c-col
:span=
"24"
>
<el-form-item
label=
"拟定价格标识"
prop=
"trtmod.finmod.dinmod.ndjgbs"
>
<c-select
v-model=
"model.trtmod.finmod.dinmod.ndjgbs"
style=
"width: 100%"
:disabled=
"true"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--=================左下================= -->
<c-col
:span=
"11"
>
<!-- S0000012 : 贷款金额 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"贷款金额"
prop=
"trtmod.finmod.dinmod.dakaje"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.dakaje"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 最大贷款金额 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"最大贷款金额"
prop=
"trtmod.finmod.dinmod.maxdje"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.maxdje"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 最小贷款金额 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"最小贷款金额"
prop=
"trtmod.finmod.dinmod.mindje"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.mindje"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 最小贷款期限 -->
<c-col
:span=
"12"
>
<c-form-item
label=
"最小贷款期限"
prop=
"trtmod.finmod.dinmod.minqix"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.minqix"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 币种 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"币种"
prop=
"trtmod.finmod.dinmod.bizhog"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.bizhog"
maxlength=
"20"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 贷款期限 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"贷款期限"
prop=
"trtmod.finmod.dinmod.dakaqx"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.dakaqx"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000016 : 最大贷款期限 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"最大贷款期限"
prop=
"trtmod.finmod.dinmod.maxqix"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.maxqix"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 期限单位 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"期限单位"
prop=
"trtmod.finmod.dinmod.qixndw"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.qixndw"
maxlength=
"10"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!--=================右下================= -->
<c-col
:span=
"11"
>
<!-- S0000038 : 增值税税率 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"增值税税率"
prop=
"trtmod.finmod.dinmod.shuilv"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.shuilv"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000037 : 审批价格(含税) -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批价格(含税)"
prop=
"trtmod.finmod.dinmod.shpjgh"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.shpjgh"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000022 : 审批价格点差(含税) -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批价格点差(含税)"
prop=
"trtmod.finmod.dinmod.shpdch"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.shpdch"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 审批价格(不含税) -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批价格(不含税)"
prop=
"trtmod.finmod.dinmod.shpijg"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.shpijg"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000036 : 审批价格点差(不含税) -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批价格点差(不含税)"
prop=
"trtmod.finmod.dinmod.spjgdc"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.spjgdc"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000025 : 定价LIBOR -->
<c-col
:span=
"24"
>
<c-form-item
label=
"定价LIBOR"
prop=
"trtmod.finmod.dinmod.dinjlb"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.dinjlb"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000023 : 审批LIBOR -->
<c-col
:span=
"24"
>
<c-form-item
label=
"审批LIBOR"
prop=
"trtmod.finmod.dinmod.sheplb"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.sheplb"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000024 : 最新LIBOR -->
<c-col
:span=
"24"
>
<c-form-item
label=
"最新LIBOR"
prop=
"trtmod.finmod.dinmod.libor"
>
<c-input
v-model=
"model.trtmod.finmod.dinmod.libor"
:disabled=
"true"
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-row>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Trtopn/Event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
></
style
>
src/views/Business/Trtopn/index.vue
View file @
f7038188
<
template
>
<c-page
title=
"融资开立"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<el-button
size=
"small"
>
保存模板
</el-button>
...
...
@@ -12,10 +15,16 @@
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--Ovwp PD000026 Financing Details -->
<el-tab-pane
label=
"Financing Details"
name=
"ovwp"
>
<c-content>
...
...
@@ -23,7 +32,6 @@
</c-content>
</el-tab-pane>
<!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!--
<el-tab-pane
...
...
@@ -38,111 +46,126 @@
<!--dftcre PD000001 同业代付 -->
<el-tab-pane
label=
"同业代付"
name=
"dftcrep"
v-if=
"model.trtp.dfflag"
>
<c-content>
<m-dftcrep
:model=
"model"
:codes=
"codes"
/>
<m-dftcrep
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Liability"
name=
"E
ngp"
>
<el-tab-pane
label=
"Liability"
name=
"e
ngp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
.
</c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane
label=
"融资款项"
name=
"rzkx"
>
<c-content>
<m-rzkx
:model=
"model"
:codes=
"codes"
/>
</c-content>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
.
</c-content>
</el-tab-pane>
<!--trtopn PD000304 资本项目 -->
<el-tab-pane
label=
"资本项目"
name=
"cfactl
p"
>
<el-tab-pane
label=
"附言"
name=
"coninf
p"
>
<c-content>
<m-cfactlp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<el-tab-pane
label=
"面函"
name=
"docpan"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附件"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"面函"
name=
"docpan"
>
<!--financ PD000004 融资款项 -->
<el-tab-pane
label=
"融资款项"
name=
"rzkx"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-rzkx
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<!--trtopn PD000304 资本项目 -->
<el-tab-pane
label=
"资本项目"
name=
"cfactlp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-cfactlp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用及账务"
name=
"Setpan"
>
<el-tab-pane
label=
"定价系统"
name=
"dinpan"
v-if=
"model.trtmod.finmod.dinjdm != ''"
>
<c-content
:height=
"300"
>
<m-dinpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
.
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
import
Trtopn
from
"~/model/Trtopn"
import
commonProcess
from
"~/mixin/commonProcess"
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtopn
from
"~/model/Trtopn"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Trtopn/Check"
import
Default
from
"~/model/Trtopn/Default"
import
Pattern
from
"~/model/Trtopn/Pattern"
import
Check
from
"~/model/Trtopn/Check"
;
import
Default
from
"~/model/Trtopn/Default"
;
import
Pattern
from
"~/model/Trtopn/Pattern"
;
import
Event
from
"~/model/Trtopn/Event"
;
import
Ovwp
from
"./Ovwp"
import
Dftcrep
from
"./Dftcrep"
import
Rzkx
from
"./Rzkx"
import
Cfactlp
from
"./Cfactlp"
import
Limitbody
from
"~/views/Public/Limitbody"
import
Doctre
from
"~/views/Public/Doctre"
import
Docpan
from
"~/views/Public/Docpan"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Setpan
from
"~/views/Public/Setpan"
import
Ovwp
from
"./Ovwp"
;
import
Dftcrep
from
"./Dftcrep"
;
import
Rzkx
from
"./Rzkx"
;
import
Cfactlp
from
"./Cfactlp"
;
import
Dinpan
from
"./Dinpan"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Trtopn"
,
components
:{
"m-ovwp"
:
Ovwp
,
"m-dftcrep"
:
Dftcrep
,
"m-rzkx"
:
Rzkx
,
"m-cfactlp"
:
Cfactlp
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-docpan"
:
Docpan
,
"m-coninfp"
:
Coninfp
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
components
:
{
"m-ovwp"
:
Ovwp
,
"m-dftcrep"
:
Dftcrep
,
"m-rzkx"
:
Rzkx
,
"m-cfactlp"
:
Cfactlp
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-docpan"
:
Docpan
,
"m-coninfp"
:
Coninfp
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-dinpan"
:
Dinpan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"trtopn"
,
...
...
@@ -151,28 +174,28 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
buildSndto
(
data
)
{
buildSndto
(
data
)
{
var
result
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
var
temp
=
data
[
i
].
split
(
'
\
t'
);
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
var
temp
=
data
[
i
].
split
(
"
\
t"
);
let
newList
=
{
value
:
temp
[
0
],
label
:
temp
[
1
],
}
};
result
.
push
(
newList
);
}
this
.
sndto
=
result
;
console
.
log
(
this
.
sndto
)
console
.
log
(
this
.
sndto
);
},
},
// initPanel(val) {
...
...
@@ -190,26 +213,21 @@ export default {
// goBack() {
// this.showPanel = false;
// },
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入trtopn交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
console
.
log
(
rtnmsg
.
codeSet
[
'trdgrp.rec.sndto'
])
this
.
buildSndto
(
rtnmsg
.
codeSet
[
'trdgrp.rec.sndto'
]
||
[]);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
console
.
log
(
rtnmsg
.
codeSet
[
"trdgrp.rec.sndto"
]);
this
.
buildSndto
(
rtnmsg
.
codeSet
[
"trdgrp.rec.sndto"
]
||
[]);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Trtrcl/index.vue
View file @
f7038188
<
template
>
<c-page
title=
"融资索汇"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<el-button
size=
"small"
>
保存模板
</el-button>
...
...
@@ -10,86 +14,116 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-tab-pane
label=
"Claim Reimb"
name=
"rclp"
>
<c-content
:height=
"300"
>
<m-rclp
:model=
"model"
:codes=
"codes"
/>
<m-rclp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
.
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"&Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Reimbursement Details"
name=
"remp"
>
<c-content
:height=
"300"
>
<m-remp
:model=
"model"
:codes=
"codes"
/>
<m-remp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Trtrcl
from
"~/model/Trtrcl"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtrcl
from
"~/model/Trtrcl"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Trtrcl/Check"
import
Default
from
"~/model/Trtrcl/Default"
import
Pattern
from
"~/model/Trtrcl/Pattern"
import
Check
from
"~/model/Trtrcl/Check"
;
import
Default
from
"~/model/Trtrcl/Default"
;
import
Pattern
from
"~/model/Trtrcl/Pattern"
;
import
Rclp
from
"./Rclp"
import
Remp
from
"./Remp"
import
Rclp
from
"./Rclp"
;
import
Remp
from
"./Remp"
;
import
Limitbody
from
"~/views/Public/Limitbody"
import
Doctre
from
"~/views/Public/Doctre"
import
Docpan
from
"~/views/Public/Docpan"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Setpan
from
"~/views/Public/Setpan"
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Trtrcl"
,
components
:{
"m-rclp"
:
Rclp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-remp"
:
Remp
,
"m-limitbody"
:
Limitbody
,
components
:
{
"m-rclp"
:
Rclp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-remp"
:
Remp
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"rclp"
,
trnName
:
"trtrcl"
,
...
...
@@ -99,36 +133,30 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入trtrcl交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Trtset/index.vue
View file @
f7038188
<
template
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<el-button
size=
"small"
>
保存模板
</el-button>
...
...
@@ -10,55 +13,84 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--trtset PD000015 Settle -->
<el-tab-pane
label=
"Settle"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane
label=
"账务"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane
label=
"&Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane
label=
"附件"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane
label=
"试算结果"
name=
"shisuan"
>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Trtset
from
"~/model/Trtset"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtset
from
"~/model/Trtset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Trtset/Check"
import
Default
from
"~/model/Trtset/Default"
import
Pattern
from
"~/model/Trtset/Pattern"
import
Check
from
"~/model/Trtset/Check"
;
import
Default
from
"~/model/Trtset/Default"
;
import
Pattern
from
"~/model/Trtset/Pattern"
;
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
;
import
Shisuan
from
"./Shisuan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
...
...
@@ -66,28 +98,28 @@ import Coninfp from "~/views/Public/Coninfp";
import
Docpan
from
"~/views/Public/Docpan"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Trtset"
,
components
:{
"m-ovwp"
:
Ovwp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-shisuan"
:
Shisuan
,
"m-limitbody"
:
Limitbody
,
components
:
{
"m-ovwp"
:
Ovwp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-shisuan"
:
Shisuan
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"trtset"
,
...
...
@@ -96,36 +128,30 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入trtset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
},
}
;
</
script
>
<
style
>
</
style
>
<
style
></
style
>
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