Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
183af234
Commit
183af234
authored
Jul 21, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Infbcd优化引入按钮以及Botpay表格数据获取
parent
74251fb0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
408 additions
and
391 deletions
+408
-391
Event.js
src/model/Botpay/Event.js
+179
-204
index.js
src/model/Botpay/index.js
+179
-172
Setp.vue
src/views/Business/Botpay/Setp.vue
+30
-5
index.vue
src/views/Business/Botpay/index.vue
+4
-1
Infsea.vue
src/views/Business/Infbcd/Infsea.vue
+9
-8
index.vue
src/views/Business/Infbcd/index.vue
+7
-1
No files found.
src/model/Botpay/Event.js
View file @
183af234
...
...
@@ -2,209 +2,183 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onColinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"colins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDftinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"dftins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onProinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"proins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthins1Buttxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"othins1.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWhinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"whins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrrpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"drrp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"colp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrepDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"drep.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"colins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDftinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dftins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onProinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"proins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthins1Buttxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othins1.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWhinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"whins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrrpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"drrp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"colp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrepDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"drep.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
// changeFree(){
// if(model.bodgrp.rec.focflg){
// console.log(1);
// // model.setmod.redamt = model.setmod.docamt;
// }else{
// model.setmod.redamt = 0.00;
// }
// }
}
\ No newline at end of file
src/model/Botpay/index.js
View file @
183af234
...
...
@@ -2,181 +2,187 @@ import Api from "~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Botpay
{
constructor
()
{
this
.
data
=
{
bodgrp
:{
rec
:{
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref
:
""
,
// Reference .bodgrp.rec.ownref
nam
:
""
,
// Name .bodgrp.rec.nam
doctypcod
:
""
,
// Collection Condition .bodgrp.rec.doctypcod
docsta
:
""
,
// Document Set Status .bodgrp.rec.docsta
matdat
:
""
,
// Maturity Date .bodgrp.rec.matdat
matpercnt
:
""
,
// Tenor Specification .bodgrp.rec.matpercnt
matperbeg
:
""
,
// Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat
:
""
,
// Order Date .bodgrp.rec.rcvdat
predat
:
""
,
// Presentation Date .bodgrp.rec.predat
focflg
:
""
,
// Free of Payment .bodgrp.rec.focflg
chato
:
""
,
// Our Charges to .bodgrp.rec.chato
waicolcod
:
""
,
// Protest Instructions .bodgrp.rec.waicolcod
wairmtcod
:
""
,
// Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins
:
""
,
// Defer Payment until .bodgrp.rec.othins
lescom
:
""
,
// Warehouse/Insurance .bodgrp.rec.lescom
},
cbs
:{
max
:{
cur
:
""
,
// Document Amount .bodgrp.cbs.max.cur
amt
:
""
,
// Document Amount .bodgrp.cbs.max.amt
},
opn1
:{
cur
:
""
,
// Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .bodgrp.cbs.opn1.amt
},
},
drr
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.drr.namelc
adrelc
:
""
,
// 地址 .bodgrp.drr.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.drr.dbfadrblkcn
},
col
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.col.namelc
adrelc
:
""
,
// 地址 .bodgrp.col.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.col.dbfadrblkcn
},
dre
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.dre.namelc
adrelc
:
""
,
// 地址 .bodgrp.dre.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.dre.dbfadrblkcn
},
blk
:{
colins
:
""
,
// Collection Instructions .bodgrp.blk.colins
colinsflg
:
""
,
// Collection instructions modified .bodgrp.blk.colinsflg
dftins
:
""
,
// Draft Instructions .bodgrp.blk.dftins
proins
:
""
,
// Protest Instructions .bodgrp.blk.proins
othins
:
""
,
// Other Instructions .bodgrp.blk.othins
chgtxt
:
""
,
// Charges Text .bodgrp.blk.chgtxt
delins
:
""
,
// Delivery instructions .bodgrp.blk.delins
},
export
default
class
Botpay
{
constructor
()
{
this
.
data
=
{
// addbcbl1blk: "",
// litbenl1blk: "",
// litapll1blk: "",
// litrmbl1blk: "",
bodgrp
:
{
rec
:
{
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref
:
""
,
// Reference .bodgrp.rec.ownref
nam
:
""
,
// Name .bodgrp.rec.nam
doctypcod
:
""
,
// Collection Condition .bodgrp.rec.doctypcod
docsta
:
""
,
// Document Set Status .bodgrp.rec.docsta
matdat
:
""
,
// Maturity Date .bodgrp.rec.matdat
matpercnt
:
""
,
// Tenor Specification .bodgrp.rec.matpercnt
matperbeg
:
""
,
// Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat
:
""
,
// Order Date .bodgrp.rec.rcvdat
predat
:
""
,
// Presentation Date .bodgrp.rec.predat
focflg
:
""
,
// Free of Payment .bodgrp.rec.focflg
chato
:
""
,
// Our Charges to .bodgrp.rec.chato
waicolcod
:
""
,
// Protest Instructions .bodgrp.rec.waicolcod
wairmtcod
:
""
,
// Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins
:
""
,
// Defer Payment until .bodgrp.rec.othins
lescom
:
""
,
// Warehouse/Insurance .bodgrp.rec.lescom
},
cbs
:
{
max
:
{
cur
:
""
,
// Document Amount .bodgrp.cbs.max.cur
amt
:
""
,
// Document Amount .bodgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .bodgrp.cbs.opn1.amt
},
},
drr
:
{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.drr.namelc
adrelc
:
""
,
// 地址 .bodgrp.drr.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.drr.dbfadrblkcn
},
col
:
{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.col.namelc
adrelc
:
""
,
// 地址 .bodgrp.col.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.col.dbfadrblkcn
},
dre
:
{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bodgrp.dre.namelc
adrelc
:
""
,
// 地址 .bodgrp.dre.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bodgrp.dre.dbfadrblkcn
},
blk
:
{
colins
:
""
,
// Collection Instructions .bodgrp.blk.colins
colinsflg
:
""
,
// Collection instructions modified .bodgrp.blk.colinsflg
dftins
:
""
,
// Draft Instructions .bodgrp.blk.dftins
proins
:
""
,
// Protest Instructions .bodgrp.blk.proins
othins
:
""
,
// Other Instructions .bodgrp.blk.othins
chgtxt
:
""
,
// Charges Text .bodgrp.blk.chgtxt
delins
:
""
,
// Delivery instructions .bodgrp.blk.delins
},
},
botp
:
{
recget
:
{
sdamod
:
{
dadsnd
:
""
,
// Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf
:
""
,
// .botp.recget.sdamod.seainf
},
},
matp
:
{
mattxtlab
:
""
,
// Label for MATTXT .botp.matp.mattxtlab
},
drrp
:
{
ptsget
:
{
sdamod
:
{
seainf
:
""
,
// .botp.drrp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
botp
:{
recget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf
:
""
,
// .botp.recget.sdamod.seainf
},
},
matp
:{
mattxtlab
:
""
,
// Label for MATTXT .botp.matp.mattxtlab
},
drrp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .botp.drrp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .botp.colp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .botp.drep.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp
:{
ptsaddg
:[],
// .botp.ptsaddp.ptsaddg
},
},
},
colp
:
{
ptsget
:
{
sdamod
:
{
seainf
:
""
,
// .botp.colp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
setmod
:{
doccur
:
""
,
// document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
redamt
:
""
,
// Reduction Amount .setmod.redamt
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
ref
:
""
,
// our reference .setmod.ref
dspflg
:
""
,
// Type of settlement .setmod.dspflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
setglg
:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
glemod
:{
gleshwstm
:
""
,
// Booking stream to Display .setmod.glemod.gleshwstm
},
},
},
drep
:
{
ptsget
:
{
sdamod
:
{
seainf
:
""
,
// .botp.drep.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
bptbck
:{
bptbckg
:[],
// .bptbck.bptbckg
dscbckcur
:
""
,
// currency discount paid back .bptbck.dscbckcur
},
},
ptsaddp
:
{
ptsaddg
:
[],
// .botp.ptsaddp.ptsaddg
},
},
// setmod: {
// doccur: "", // document currency .setmod.doccur
// docamt: "", // document amount .setmod.docamt
// redamt: "", // Reduction Amount .setmod.redamt
// docamttyplab: "", // settled amount description as label .setmod.docamttyplab
// retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// ref: "", // our reference .setmod.ref
// dspflg: "", // Type of settlement .setmod.dspflg
// xreflg: "", // Recalculate Rates .setmod.xreflg
// setglg: {
// labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
// glemod: {
// gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
bptbck
:
{
bptbckg
:
[],
// .bptbck.bptbckg
dscbckcur
:
""
,
// currency discount paid back .bptbck.dscbckcur
},
// liaall: {
// tenstm: "", // Tenor Stream .liaall.tenstm
// misamt: "", // Amount not yet assigned .liaall.misamt
// concur: "", // External Booking Amount .liaall.concur
// outpct: "", // Sight Amount Percentage .liaall.outpct
// outamt: "", // Sight Amount .liaall.outamt
// exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
// },
liaall
:
new
Pub
().
data
.
Liaall
,
mtabut
:
{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
coninf
:
{
oitinf
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
liaall
:{
tenstm
:
""
,
// Tenor Stream .liaall.tenstm
misamt
:
""
,
// Amount not yet assigned .liaall.misamt
concur
:
""
,
// External Booking Amount .liaall.concur
outpct
:
""
,
// Sight Amount Percentage .liaall.outpct
outamt
:
""
,
// Sight Amount .liaall.outamt
exttotoldamt
:
""
,
// Old Amount booked externally .liaall.exttotoldamt
exttotamt
:
""
,
// Total booking amount external assinged .liaall.exttotamt
},
oitset
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
mtabut
:{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
coninf
:{
oitinf
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod
:{
trndoc
:{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
rcvatt
:{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
},
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
pageId
:
""
// ctx的key
}
}
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:
{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
// trnmod: {
// trndoc: {
// advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
// advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam: "", // 国内证落款 .trnmod.trndoc.advnam
// amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
// shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt: {
// seainf: "", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv: "", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
pageId
:
""
// ctx的key
}
}
}
\ No newline at end of file
src/views/Business/Botpay/Setp.vue
View file @
183af234
...
...
@@ -194,7 +194,7 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"setmod.docamt"
>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
disabled
></c-input>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
></c-input>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -229,9 +229,18 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"11"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
</c-edit-table>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
</c-edit-table>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
>
</c-istream-table>
</c-col>
</c-col>
<!-- <c-col :span="24">
...
...
@@ -274,6 +283,17 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
stmData
:
{
columns
:
[
'1 1 "Type" 80'
,
'2 2 "Dbt" 80'
,
'3 3 "Cdt" 80'
,
'4 4 "Cur" 80'
,
'5 5 "Amt" 113 2 8 1 4'
,
// '6 6 "Mat.Dat." 80 4 7 1',
{
index
:
6
,
position
:
6
,
width
:
113
,
render
:
(
item
,
scope
)
=>
{
return
scope
.
row
[
item
.
prop
]
===
'null'
?
''
:
scope
.
row
[
item
.
prop
]
},
label
:
'Mat.Dat.'
},
],
},
docgrd
:
{
columns
:
[{
title
:
"Reference"
,
...
...
@@ -305,7 +325,12 @@ export default {
}
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
multipleSelect
()
{
console
.
log
(
111
);
}
},
created
:
function
()
{
}
...
...
src/views/Business/Botpay/index.vue
View file @
183af234
<
template
>
<c-page
title=
"出口托收结算"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</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"
>
...
...
@@ -59,6 +61,7 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils/index"
import
CodeTable
from
"~/config/CodeTable"
import
Botpay
from
"~/model/Botpay"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Botpay/Check"
import
Default
from
"~/model/Botpay/Default"
...
...
@@ -99,7 +102,7 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"setp"
,
...
...
src/views/Business/Infbcd/Infsea.vue
View file @
183af234
...
...
@@ -13,18 +13,19 @@
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<
c-col
:span=
"12
"
>
<
el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
style=
"width: 100%
"
>
<
el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
style=
"width: 100%
"
>
<
c-col
:span=
"11
"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Opening between"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Date to"
prop=
"infcon.opndatto"
style=
"width: 100%"
>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatto"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</
el-form-item
>
</
c-col
>
</
c-col
>
</
el-form-item
>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Reference"
prop=
"infcon.searef"
style=
"width: 100%"
>
...
...
src/views/Business/Infbcd/index.vue
View file @
183af234
...
...
@@ -2,7 +2,12 @@
<div
class=
"eContainer"
>
<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=
"tabClick"
>
<c-content>
<m-infsea
v-show=
"!showPanel"
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000006 -->
<el-tab-pane
label=
"infsea"
name=
"infsea"
>
...
...
@@ -164,6 +169,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
showPanel
:
false
,
codes
:
{
...
CodeTable
},
...
...
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