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
347a4dcf
Commit
347a4dcf
authored
May 25, 2023
by
wanggang_yf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtacp litcan页面调整
parent
8bb3aeff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
341 additions
and
87 deletions
+341
-87
index.js
src/business/brtacp/event/index.js
+1
-6
index.js
src/business/brtacp/model/index.js
+19
-11
buildCommons.js
src/business/litcan/event/buildCommons.js
+33
-1
index.js
src/business/litcan/event/index.js
+15
-2
index.js
src/business/litcan/model/index.js
+273
-60
index.vue
src/business/litcan/views/index.vue
+0
-7
No files found.
src/business/brtacp/event/index.js
View file @
347a4dcf
...
...
@@ -30,12 +30,7 @@ export default {
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// lidInr:'00000013',
// lidInr:'00006821',
lidgrp
:{
rec
:{
// inr:this.$route.query.inr
inr
:
'00006821'
}
}
brtinr
:
this
.
$route
.
query
.
inr
});
if
(
!
res
.
data
)
{
...
...
src/business/brtacp/model/index.js
View file @
347a4dcf
...
...
@@ -11,7 +11,7 @@ export default class Brtacp {
pts
:
new
Pts
().
data
,
},
rec
:
{
branchinr
:
'
00000047
'
,
branchinr
:
''
,
ownref
:
''
,
// Reference .gidgrp.rec.ownref
purposin
:
''
,
// Incoming Purpose .gidgrp.rec.purposin
purpos
:
''
,
// Outgoing Purpose .gidgrp.rec.purpos
...
...
@@ -199,9 +199,7 @@ export default class Brtacp {
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
{
ref
:
'ref'
}
pts
:
new
Pts
().
data
,
},
acb
:
{
...
...
@@ -229,7 +227,7 @@ export default class Brtacp {
docdis
:
''
},
rec
:
{
branchinr
:
'
00000047
'
,
branchinr
:
''
,
totcur
:
''
,
ownref
:
''
,
disdat
:
''
,
...
...
@@ -241,6 +239,19 @@ export default class Brtacp {
docflg
:
''
,
tenmaxday
:
''
,
docsta
:
''
,
prb
:
{
modifySet
:
[],
ptsinr
:
''
,
rol
:
''
,
dbfadrblk
:
''
,
pts
:
{
inr
:
''
,
objtyp
:
''
,
objinr
:
''
,
rol
:
''
,
},
maps
:
{}
},
},
matp
:
{
mattxtlab
:
''
,
...
...
@@ -272,7 +283,7 @@ export default class Brtacp {
},
lidgrp
:
{
rec
:
{
branchinr
:
'
00000047
'
,
branchinr
:
''
,
expdat
:
''
,
ownref
:
''
},
...
...
@@ -315,7 +326,7 @@ export default class Brtacp {
inr
:
''
,
objtyp
:
''
,
objinr
:
''
,
rol
:
'
PRB
'
,
rol
:
''
,
ptainr
:
''
,
ptyinr
:
''
,
extkey
:
''
,
...
...
@@ -352,7 +363,7 @@ export default class Brtacp {
pts
:
new
Pts
().
data
,
},
rec
:
{
branchinr
:
'
00000047
'
,
branchinr
:
''
,
clmdat
:
''
,
ownref
:
''
,
payrol
:
''
,
...
...
@@ -384,9 +395,6 @@ export default class Brtacp {
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
src/business/litcan/event/buildCommons.js
View file @
347a4dcf
...
...
@@ -149,4 +149,35 @@ export default {
};
return
params
;
},
};
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'GID'
,
objinr
:
model
.
gidgrp
.
rec
.
objinr
,
ownref
:
model
.
gidgrp
.
rec
.
ownref
,
},
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'GID'
,
objinr
:
model
.
gidgrp
.
rec
.
objinr
,
ownref
:
model
.
gidgrp
.
rec
.
ownref
,
swiftflg
:
model
.
gitp
.
swiftflg
,
},
};
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setglg
};
return
params
}
}
\ No newline at end of file
src/business/litcan/event/index.js
View file @
347a4dcf
...
...
@@ -50,7 +50,9 @@ export default {
})
},
async
tabClick
(
tab
)
{
console
.
log
(
tab
)
if
(
this
.
isInDisplay
)
{
return
;
}
let
name
=
tab
.
name
;
switch
(
name
)
{
case
'ccvpan'
:
...
...
@@ -61,7 +63,7 @@ export default {
let
engpRequest
=
buildFn
.
buildEngp
(
this
.
model
,
this
.
trnName
);
this
.
processLiaall
(
engpRequest
);
break
;
case
'set
mod
'
:
case
'set
pan
'
:
let
setfegRequest
=
buildFn
.
buildSetfeg
(
this
.
model
,
this
.
trnName
);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this
.
processSetpan
(
setfegRequest
,
()
=>
{
...
...
@@ -76,6 +78,17 @@ export default {
let
glentryRequest
=
buildFn
.
buildGlentry
(
this
.
model
,
this
.
trnName
);
this
.
processGlentry
(
glentryRequest
);
break
;
case
'limitbody'
:
let
limitbodyRequest
=
buildFn
.
buildLimitbody
(
this
.
model
,
this
.
trnName
);
this
.
processLimitbody
(
limitbodyRequest
);
break
;
case
'doctre'
:
let
doctreRequest
=
buildFn
.
buildDoctre
(
this
.
model
,
this
.
trnName
);
this
.
processDoctre
(
doctreRequest
);
break
;
default
:
return
;
}
...
...
src/business/litcan/model/index.js
View file @
347a4dcf
import
Pts
from
'~/components/business/commonModel/Pts'
;
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Litcan
{
constructor
()
{
this
.
data
=
{
litapll1blk
:
''
,
litrmbl3blk
:
''
,
litcanl1blk
:
''
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
docpan
:
new
Pub
().
data
.
Docpan
,
liaall
:
new
Pub
().
data
.
Liaall
,
lidgrp
:{
rec
:{
ownref
:
''
,
// 参考号 .lidgrp.rec.ownref
nam
:
''
,
// 名称 .lidgrp.rec.nam
avbby
:
''
,
// 兑付方式 .lidgrp.rec.avbby
redclsflg
:
''
,
// Red/Green Clause .lidgrp.rec.redclsflg
opndat
:
''
,
// 开立日期 .lidgrp.rec.opndat
shpdat
:
''
,
// Shipment Date .lidgrp.rec.shpdat
expdat
:
''
,
// 到期日 .lidgrp.rec.expdat
expplc
:
''
,
// 到期日 .lidgrp.rec.expplc
lcrtyp
:
''
,
// 信用证类型 .lidgrp.rec.lcrtyp
revflg
:
''
,
// Revolving Flag .lidgrp.rec.revflg
advnam
:
''
,
},
cbs
:{
nom1
:{
cur
:
''
,
// 开证金额 .lidgrp.cbs.nom1.cur
amt
:
''
,
// 开证金额 .lidgrp.cbs.nom1.amt
},
opn1
:{
cur
:
''
,
// 信用证余额 .lidgrp.cbs.opn1.cur
amt
:
''
,
// Balance .lidgrp.cbs.opn1.amt
},
},
apl
:{
pts
:
new
Pts
().
data
,
},
ben
:{
pts
:
new
Pts
().
data
,
},
adv
:{
pts
:
new
Pts
().
data
,
},
avbnam
:
''
,
// 指定银行 .lidgrp.avbnam
},
litp0
:{
aammod
:{
addamtflg
:
''
,
// Add. Amount .litp0.aammod.addamtflg
},
},
litcanf
:{
strinf
:
''
,
// Narrative .litcanf.strinf
},
byinst
:
''
,
// On Applicant instruction .byinst
pageId
:
''
,
// ctx的key
}
}
export
default
class
Litcan
{
constructor
()
{
this
.
data
=
{
sndmsg
:
'X'
,
litapll1blk
:
''
,
litrmbl3blk
:
''
,
litcanl1blk
:
''
,
lidgrp
:
{
rec
:
{
branchinr
:
'00000047'
,
ownref
:
''
,
// 参考号 .lidgrp.rec.ownref
nam
:
''
,
// 名称 .lidgrp.rec.nam
avbby
:
''
,
// 兑付方式 .lidgrp.rec.avbby
redclsflg
:
''
,
// Red/Green Clause .lidgrp.rec.redclsflg
opndat
:
''
,
// 开立日期 .lidgrp.rec.opndat
shpdat
:
''
,
// Shipment Date .lidgrp.rec.shpdat
expdat
:
''
,
// 到期日 .lidgrp.rec.expdat
expplc
:
''
,
// 到期日 .lidgrp.rec.expplc
lcrtyp
:
''
,
// 信用证类型 .lidgrp.rec.lcrtyp
revflg
:
''
,
// Revolving Flag .lidgrp.rec.revflg
advnam
:
''
,
},
cbs
:
{
nom1
:
{
cur
:
''
,
// 开证金额 .lidgrp.cbs.nom1.cur
amt
:
''
,
// 开证金额 .lidgrp.cbs.nom1.amt
},
opn1
:
{
cur
:
''
,
// 信用证余额 .lidgrp.cbs.opn1.cur
amt
:
''
,
// Balance .lidgrp.cbs.opn1.amt
},
},
apl
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
avbnam
:
''
,
// 指定银行 .lidgrp.avbnam
},
litp0
:
{
aammod
:
{
addamtflg
:
''
,
// Add. Amount .litp0.aammod.addamtflg
},
},
litcanf
:
{
strinf
:
''
,
// Narrative .litcanf.strinf
},
gcdgrp
:
{
prb
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
rec
:
{
clmdat
:
''
,
ownref
:
''
,
payrol
:
''
,
nam
:
''
,
docprbrol
:
''
,
},
oth
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
},
max
:
{
cur
:
''
,
amt
:
''
}
},
ben
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
},
gidgrp
:
{
rec
:
{
expdat
:
''
,
liadat
:
''
,
ownref
:
''
,
gartyp
:
''
},
ghd
:
{
wahnum
:
''
,
remark
:
''
,
bustyp
:
''
,
segtyp
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
}
},
ctr
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
atb
:
{
pts
:
new
Pts
().
data
,
},
avc
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
},
liaall
:
{
concur
:
''
,
liaccv
:
{
concur
:
''
,
newamt
:
''
,
dnfmod
:
{
zhruzh
:
''
,
kehuzh
:
''
,
intdsp
:
''
,
lxzyzh
:
''
,
pridsp
:
''
,
yewudh
:
''
,
qicuje
:
''
,
ccvtyp
:
''
,
tizamt
:
''
,
zhqtyp
:
''
,
stm8023
:
''
,
zhhuye
:
''
,
zhqucs
:
''
},
relcshpct
:
''
,
gleflg
:
''
,
addinf
:
''
,
newresamt
:
''
,
chgcurflg
:
''
,
pctresamt
:
''
,
cshpct
:
''
,
totcovamt
:
''
},
outpct
:
''
,
exttotamt
:
''
,
exttotoldamt
:
''
,
outamt
:
''
,
misamt
:
''
,
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
atb
:
{
pts
:
new
Pts
().
data
,
},
avc
:
{
pts
:
new
Pts
().
data
,
},
},
trnmod
:
{
trndia
:
{
usrget
:
{
sdamod
:
{
seainf
:
''
}
},
atpget
:
{
sdamod
:
{
seainf
:
''
,
dadsnd
:
''
}
},
usr
:
{
extkey
:
''
},
diamodflg
:
''
,
dspstm
:
''
,
atp
:
{
cod
:
''
},
diarec
:
{
prechkdat
:
''
,
inftxt
:
''
,
usr
:
''
,
ptyextkey
:
''
,
paycur
:
''
,
dat
:
''
,
ownusg
:
''
,
cod
:
''
,
donflg
:
''
,
nam
:
''
,
payamt
:
''
,
ptynam
:
''
},
atptxt
:
''
},
ptsmod
:
{
adrp
:
{
prtpanblk
:
''
}
},
trndoc
:
{
condocstm
:
''
,
filrecv
:
''
,
amdapl
:
''
,
doclbl
:
''
,
doctrestm
:
''
,
shwout
:
''
,
shwinc
:
''
,
amdnam
:
''
,
advnam
:
''
,
advdoc
:
''
,
advlabel
:
''
,
rcvatt
:
{
seainf
:
''
}
},
docimm
:
{
xmldocblk
:
''
,
prtswtpblk
:
''
,
ascin
:
''
,
prtswtrpblk
:
''
},
ctr
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
},
byinst
:
''
,
// On Applicant instruction .byinst
pageId
:
''
,
// ctx的key
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
}
}
}
\ No newline at end of file
src/business/litcan/views/index.vue
View file @
347a4dcf
...
...
@@ -20,7 +20,6 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -45,10 +44,6 @@
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
...
...
@@ -61,8 +56,6 @@
<
script
>
import
event
from
'../event'
;
import
operationFunc
from
'~/mixin/operationFunc'
;
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
import
Litcan
from
"../model"
import
Check
from
"../model/check"
...
...
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