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
802a668b
Commit
802a668b
authored
Aug 26, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitset
parent
714375fb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
153 additions
and
26 deletions
+153
-26
Event.js
src/model/Gitset/Event.js
+3
-0
index.js
src/model/Gitset/index.js
+100
-14
Basp.vue
src/views/Business/Gitset/Basp.vue
+1
-0
Gitsetp.vue
src/views/Business/Gitset/Gitsetp.vue
+21
-9
Gitsetp1.vue
src/views/Business/Gitset/Gitsetp1.vue
+1
-0
Wg.vue
src/views/Business/Gitset/Wg.vue
+19
-1
index.vue
src/views/Business/Gitset/index.vue
+8
-2
No files found.
src/model/Gitset/Event.js
View file @
802a668b
...
@@ -2,6 +2,9 @@ import Api from "~/service/Api"
...
@@ -2,6 +2,9 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
import
Utils
from
"~/utils"
export
default
{
export
default
{
async
onSeainf
(){
},
async
onGctpGetrefbut
(){
async
onGctpGetrefbut
(){
let
rtnmsg
=
await
this
.
executeRule
(
"gctp.getrefbut"
)
let
rtnmsg
=
await
this
.
executeRule
(
"gctp.getrefbut"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
...
...
src/model/Gitset/index.js
View file @
802a668b
...
@@ -213,22 +213,108 @@ export default class Gitset{
...
@@ -213,22 +213,108 @@ export default class Gitset{
// },
// },
// },
// },
trnmod
:{
trnmod
:{
trndoc
:{
swiadd
:
{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
amedat
:
""
,
// Amendment Date .trnmod.swiadd.amedat
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
amenbr
:
""
,
// Amend. No Received .trnmod.swiadd.amenbr
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
amecur
:
""
,
// Amended .trnmod.swiadd.amecur
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
ameamt
:
""
,
// Amended .trnmod.swiadd.ameamt
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
newcur
:
""
,
// New Data .trnmod.swiadd.newcur
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
newamt
:
""
,
// New Data .trnmod.swiadd.newamt
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
newnomtop
:
""
,
// New positive tolerance .trnmod.swiadd.newnomtop
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
newnomton
:
""
,
// New negative tolerance .trnmod.swiadd.newnomton
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
nomspc
:
""
,
// Amount Specification .trnmod.swiadd.nomspc
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
newexpdat
:
""
,
// New Expiry Date .trnmod.swiadd.newexpdat
rcvatt
:{
newshpdat
:
""
,
// New Shipment Date .trnmod.swiadd.newshpdat
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
shpper
:
""
,
// Shipment Period .trnmod.swiadd.shpper
shpfro
:
""
,
// Dispatch from .trnmod.swiadd.shpfro
porloa
:
""
,
// Air-/Port of Loading .trnmod.swiadd.porloa
pordis
:
""
,
// Air-/Port of Discharge .trnmod.swiadd.pordis
purpos
:
""
,
// Purpose of message trnmod.swiadd.purpos
shpto
:
""
,
// Final Destination .trnmod.swiadd.shpto
addamtcov
:
""
,
// Amounts Covered .trnmod.swiadd.addamtcov
addamt
:
""
,
// Amounts Covered .trnmod.swiadd.addamt
insbnk
:
""
,
// Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt
:
""
,
newnomtopame
:
""
,
newnomtoname
:
""
,
prepers18
:
""
,
//New Presentation Period
strinf
:
""
,
// Narrative of Maturity .trnmod.swiadd.strinf
newmatpercnt
:
""
,
// New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp
:
""
,
// Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg
:
""
,
// Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat
:
""
,
// New Maturity Date .trnmod.swiadd.newmatdat
ametxt
:
""
,
// Further Amendments .trnmod.swiadd.ametxt
shptoelc
:
""
,
// 货物目的地/交货地(港) .trnmod.swiadd.shptoelc
shpfroelc
:
""
,
// Shipment from .trnmod.swiadd.shpfroelc
//nartxtflg: "", // Narrative modified .trnmod.swiadd.nartxtflg
lcrgod
:
""
,
// Description of Goods amendment .trnmod.swiadd.lcrgod
lcrdoc
:
""
,
// Documents Required amendment .trnmod.swiadd.lcrdoc
//adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd
purposamein
:
""
,
// Inc. Purpose of amend. .trnmod.swiadd.purposamein
purposame
:
""
,
// Purpose of amend. .trnmod.swiadd.purposame
amedat
:
""
,
// Amendment Date .trnmod.swiadd.amedat
orddat
:
""
,
// Order from .trnmod.swiadd.orddat
amenbr
:
""
,
// Amend. No Receiv. .trnmod.swiadd.amenbr
amecur
:
""
,
// Amended .trnmod.swiadd.amecur
ameamt
:
""
,
// Amended Amount .trnmod.swiadd.ameamt
newcur
:
""
,
// Guarantee Amount .trnmod.swiadd.newcur
newamt
:
""
,
// New amount .trnmod.swiadd.newamt
ameblk
:
""
,
// Text for Amendments .trnmod.swiadd.ameblk
reqcan
:
""
,
// Cancellation Request .trnmod.swiadd.reqcan
amemsgdonflg
:
""
,
// Create Amendment Message .trnmod.swiadd.amemsgdonflg
addamtflg
:
""
,
// Add. Amount Flag .trnmod.swiadd.addamtflg
addcur
:
""
,
// Additional Currency .trnmod.swiadd.addcur
addamt
:
""
,
// Additional Amount .trnmod.swiadd.addamt
addamtcovs20
:
""
,
// Additional Amount Covered .trnmod.swiadd.addamtcovs20
redrea
:
""
,
// Reason for Reduce / Discharge .trnmod.swiadd.redrea
exptyp
:
""
,
// New Expiry Type .trnmod.swiadd.exptyp
newexpdat
:
""
,
// New Expiry Date .trnmod.swiadd.newexpdat
exptxt
:
""
,
// New Expiry Condition .trnmod.swiadd.exptxt
liatypc
:
""
,
// New Liability Type .trnmod.swiadd.liatypc
newliadat
:
""
,
// New Liability Date .trnmod.swiadd.newliadat
liatxtc
:
""
,
// New Liability Condition .trnmod.swiadd.liatxtc
newdtaappexpdat
:
""
,
// New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat
ameblkc
:
""
,
// Text for Amendments .trnmod.swiadd.ameblkc
amecurc
:
""
,
// Amended Amount .trnmod.swiadd.amecurc
ameamtc
:
""
,
// Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc
newcurc
:
""
,
// Local Undertaking .trnmod.swiadd.newcurc
newamtc
:
""
,
// New Amount Local Guarantee .trnmod.swiadd.newamtc
addamtflgc
:
""
,
// Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc
addcurc
:
""
,
// Additional Currency Seq. C .trnmod.swiadd.addcurc
addamtc
:
""
,
// Additional Amount Seq. C .trnmod.swiadd.addamtc
addamtcovc
:
""
,
// Add. Amount Covered .trnmod.swiadd.addamtcovc
newexpflg
:
""
,
// Unlimited Validity .trnmod.swiadd.newexpflg
newliaflg
:
""
,
// Unlimited Liability .trnmod.swiadd.newliaflg
addamtcov
:
""
,
// Amounts Covered .trnmod.swiadd.addamtcov
},
trndoc
:
{
nar754
:
""
,
// Narrative :77A: .trnmod.trndoc.nar754
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
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
doceot
:
[],
addstr750
:
""
//trnmod.trndoc.addstr750
},
docimm
:{
ascin
:
""
,
// Message as stream .trnmod.docimm.ascin
prtswtrpblk
:
""
,
// XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk
:
""
,
// XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
prtswtpblk
:
""
,
// XMLPanel prtswtp的内置block .trnmod.docimm.prtswtpblk
},
},
cmttag
:
""
,
// 跨境人民币清算模式 .trnmod.cmttag
cmttag
:
""
,
// 跨境人民币清算模式 .trnmod.cmttag
swfflg
:
""
,
// 报文类型 .trnmod.swfflg
swfflg
:
""
,
// 报文类型 .trnmod.swfflg
cmtflg
:
""
,
// CMT100 报文 .trnmod.cmtflg
cmtflg
:
""
,
// CMT100 报文 .trnmod.cmtflg
...
...
src/views/Business/Gitset/Basp.vue
View file @
802a668b
...
@@ -221,6 +221,7 @@
...
@@ -221,6 +221,7 @@
<c-checkbox
<c-checkbox
style=
"margin: 0px 0 10px 150px"
style=
"margin: 0px 0 10px 150px"
v-model=
"model.bopmod.dbfp.baspp.baspp"
v-model=
"model.bopmod.dbfp.baspp.baspp"
checked
>
确认
</c-checkbox
>
确认
</c-checkbox
>
>
</c-col>
</c-col>
...
...
src/views/Business/Gitset/Gitsetp.vue
View file @
802a668b
...
@@ -105,6 +105,7 @@
...
@@ -105,6 +105,7 @@
<c-button
<c-button
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
disabled
v-model=
"model.gctp.getrefbut"
v-model=
"model.gctp.getrefbut"
@
click=
"onGctpGetrefbut"
@
click=
"onGctpGetrefbut"
>
>
...
@@ -405,7 +406,7 @@
...
@@ -405,7 +406,7 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
<c-checkbox
v-model=
"model.mtabut.clsflg"
checked
:disabled=
"flag2"
:disabled=
"flag2"
>
Close Contract
>
Close Contract
</c-checkbox>
</c-checkbox>
...
@@ -428,7 +429,7 @@
...
@@ -428,7 +429,7 @@
<c-col
<c-col
:span=
"12"
:span=
"12"
class=
"centerLable marginLable"
class=
"centerLable marginLable"
v-if=
"model.gcdgrp.cbs.max.cur
!
= 'CNY'"
v-if=
"model.gcdgrp.cbs.max.cur
=
= 'CNY'"
>
>
<c-checkbox
v-model=
"model.gidgrp.rec.cmtflg"
<c-checkbox
v-model=
"model.gidgrp.rec.cmtflg"
>
跨境人民币保函
</c-checkbox
>
跨境人民币保函
</c-checkbox
...
@@ -445,7 +446,7 @@
...
@@ -445,7 +446,7 @@
<c-select
<c-select
v-model=
"model.trnmod.cmtflg"
v-model=
"model.trnmod.cmtflg"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"
Other
"
placeholder=
""
:disabled=
"model.gcdgrp.rec.frepaylg=='X'"
:disabled=
"model.gcdgrp.rec.frepaylg=='X'"
>
>
<el-option
<el-option
...
@@ -462,10 +463,13 @@
...
@@ -462,10 +463,13 @@
<el-form-item
<el-form-item
label=
"报文类型"
label=
"报文类型"
prop=
"trnmod.swftyp"
prop=
"trnmod.swftyp"
v-if=
"model.trnmod.cmtflg ==
3
&&model.gidgrp.rec.cmtflg"
v-if=
"model.trnmod.cmtflg ==
'P'
&&model.gidgrp.rec.cmtflg"
>
>
<c-input
v-model=
"model.trnmod.swftyp"
disabled
placeholder=
""
>
<c-select
v-model=
"model.trnmod.swftyp"
disabled
placeholder=
""
</c-input>
:code=
"codes.swftyp1"
style=
"width: 100%"
>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -731,14 +735,22 @@ export default {
...
@@ -731,14 +735,22 @@ export default {
data
()
{
data
()
{
return
{
return
{
cmtflg
:
[
cmtflg
:
[
{
label
:
"代理行模式"
,
value
:
"
1
"
},
{
label
:
"代理行模式"
,
value
:
"
C
"
},
{
label
:
"Other"
,
value
:
"
2
"
},
{
label
:
"Other"
,
value
:
"
O
"
},
{
label
:
"CIPS系统"
,
value
:
"
3
"
},
{
label
:
"CIPS系统"
,
value
:
"
P
"
},
],
],
};
};
},
},
watch
:{
watch
:{
"model.trnmod.cmtflg"
:{
immediate
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
trnmod
.
cmtflg
==
"P"
){
this
.
model
.
trnmod
.
swftyp
=
"CIV"
}
}
},
"model.gcdgrp.rec.frepayflg"
:
{
"model.gcdgrp.rec.frepayflg"
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
val
,
oldval
)
{
handler
(
val
,
oldval
)
{
...
...
src/views/Business/Gitset/Gitsetp1.vue
View file @
802a668b
...
@@ -107,6 +107,7 @@
...
@@ -107,6 +107,7 @@
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
v-model=
"model.gctp.getrefbut"
v-model=
"model.gctp.getrefbut"
disabled
@
click=
"onGctpGetrefbut"
@
click=
"onGctpGetrefbut"
>
>
Get ref.
Get ref.
...
...
src/views/Business/Gitset/Wg.vue
View file @
802a668b
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<el-form-item
label=
"地区机构号"
>
<el-form-item
label=
"地区机构号"
>
<c-select
<c-select
v-model=
"model.bopmod.ownextkey"
v-model=
"model.bopmod.ownextkey"
:code=
"codes.ownextkey"
:code=
"codes.ownextkey
1
"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择地区机构号"
placeholder=
"请选择地区机构号"
:disabled=
"model.bopmod.szflg == 3 || model.bopmod.szflg == ''"
:disabled=
"model.bopmod.szflg == 3 || model.bopmod.szflg == ''"
...
@@ -79,6 +79,24 @@ export default {
...
@@ -79,6 +79,24 @@ export default {
data
()
{
data
()
{
return
{};
return
{};
},
},
watch
:{
"model.bopmod.szflg"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
if
(
val
==
"3"
){
this
.
model
.
bopmod
.
ownextkey
=
''
}
if
(
val
==
"2"
){
this
.
model
.
bopmod
.
ownextkey
=
'08350012'
}
if
(
val
==
"1"
){
this
.
model
.
bopmod
.
ownextkey
=
'08350012'
}
},
}
},
methods
:
{
...
Event
},
methods
:
{
...
Event
},
created
:
function
()
{},
created
:
function
()
{},
};
};
...
...
src/views/Business/Gitset/index.vue
View file @
802a668b
...
@@ -43,7 +43,9 @@
...
@@ -43,7 +43,9 @@
<!--PD000000 -->
<!--PD000000 -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000001 -->
<!--PD000001 -->
...
@@ -76,7 +78,9 @@
...
@@ -76,7 +78,9 @@
name=
"basp"
name=
"basp"
v-if=
"model.bopmod.basflg && model.bopmod.szflg == '2'"
v-if=
"model.bopmod.basflg && model.bopmod.szflg == '2'"
>
>
<c-content>
<m-basp
:model=
"model"
:codes=
"codes"
/>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
<el-tab-pane
...
@@ -84,7 +88,9 @@
...
@@ -84,7 +88,9 @@
name=
"basp"
name=
"basp"
v-if=
"model.bopmod.basflg && model.bopmod.szflg == '1'"
v-if=
"model.bopmod.basflg && model.bopmod.szflg == '1'"
>
>
<c-content>
<m-basp
:model=
"model"
:codes=
"codes"
/>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000002 -->
<!--PD000002 -->
...
@@ -105,7 +111,7 @@
...
@@ -105,7 +111,7 @@
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"Cips"
name=
"cips"
v-if=
"model.trnmod.cmtflg == '
3
'&&model.gidgrp.rec.cmtflg"
>
<el-tab-pane
label=
"Cips"
name=
"cips"
v-if=
"model.trnmod.cmtflg == '
P
'&&model.gidgrp.rec.cmtflg"
>
<c-content>
<c-content>
<m-cips
:model=
"model"
:codes=
"codes"
/>
<m-cips
:model=
"model"
:codes=
"codes"
/>
</c-content>
</c-content>
...
@@ -114,7 +120,7 @@
...
@@ -114,7 +120,7 @@
<el-tab-pane
<el-tab-pane
label=
"Cips2"
label=
"Cips2"
name=
"cips2"
name=
"cips2"
v-if=
"model.trnmod.cmtflg == '
3
'&&model.gidgrp.rec.cmtflg"
v-if=
"model.trnmod.cmtflg == '
P
'&&model.gidgrp.rec.cmtflg"
>
>
<m-cips2
:model=
"model"
:codes=
"codes"
/>
<m-cips2
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
...
...
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