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
ca4a071d
Commit
ca4a071d
authored
2 years ago
by
liyixun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitpop bug(860) 及bttset页面布局
parent
0beebc02
revert-594e4a5c
…
development-202206
No related merge requests found
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
300 additions
and
124 deletions
+300
-124
index.js
src/model/Bttrcl/index.js
+5
-5
index.js
src/model/Bttset/index.js
+0
-0
Setp.vue
src/views/Business/Bttset/Setp.vue
+0
-0
index.vue
src/views/Business/Bttset/index.vue
+123
-102
Ovwp.vue
src/views/Business/Gitpop/Ovwp.vue
+99
-3
Ptypc.vue
src/views/Business/Gitpop/Ptypc.vue
+61
-11
index.vue
src/views/Business/Gitpop/index.vue
+12
-3
No files found.
src/model/Bttrcl/index.js
View file @
ca4a071d
...
...
@@ -127,11 +127,11 @@ export default class Bttrcl{
utlamt2
:
""
,
// Add. Amount utilized/settled .aamset.utlamt2
utlamt
:
""
,
// Doc. Amount utilized/settled .aamset.utlamt
},
trnmod
:{
trndoc
:{
nar754
:
""
,
// Narrative :77A: .trnmod.trndoc.nar754
},
},
//
trnmod:{
//
trndoc:{
//
nar754:"", // Narrative :77A: .trnmod.trndoc.nar754
//
},
//
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
...
...
This diff is collapsed.
Click to expand it.
src/model/Bttset/index.js
View file @
ca4a071d
This diff is collapsed.
Click to expand it.
src/views/Business/Bttset/Setp.vue
View file @
ca4a071d
This diff is collapsed.
Click to expand it.
src/views/Business/Bttset/index.vue
View file @
ca4a071d
<
template
>
<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=
"myTabClick"
>
<!--bttset PD000034 Funds Settlement -->
<el-tab-pane
:label=
"$t('bttset.PD000034')"
name=
"setp"
>
<m-setp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane
:label=
"$t('lendoc.PD000001')"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane
:label=
"$t('bopgat.PD000006')"
name=
"wg"
>
<m-wg
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane
:label=
"$t('dbdp.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane
:label=
"$t('dbap.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane
:label=
"$t('cnybop.PD000002')"
name=
"cnyp"
>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane
:label=
"$t('cnybop.PD000001')"
name=
"incp"
>
<m-incp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane
:label=
"$t('limmod.PD001139')"
name=
"shisuan"
>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
<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>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
<!--
<el-button
size=
"small"
>
使用模板
</el-button>
-->
<el-button
size=
"small"
>
制裁信息
</el-button>
<!--
<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"
>
<!--bttset PD000034 Funds Settlement -->
<el-tab-pane
label=
"Funds Settlement"
name=
"setp"
>
<c-content>
<m-setp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane
label=
"$t('lendoc.PD000001')"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane
label=
"$t('bopgat.PD000006')"
name=
"wg"
>
<m-wg
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane
label=
"$t('dbdp.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<!--
<el-tab-pane
label=
"$t('dbap.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane
label=
"$t('cnybop.PD000002')"
name=
"cnyp"
>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane
label=
"$t('cnybop.PD000001')"
name=
"incp"
>
<m-incp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane
label=
"$t('limmod.PD001139')"
name=
"shisuan"
>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bttset
from
"~/model/Bttset"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Bttset/Check"
import
Default
from
"~/model/Bttset/Default"
import
Pattern
from
"~/model/Bttset/Pattern"
import
Setp
from
"./Setp"
import
Docpan
from
"./Docpan"
import
Wg
from
"./Wg"
import
Basp
from
"./Basp"
import
Cnyp
from
"./Cnyp"
import
Incp
from
"./Incp"
import
Shisuan
from
"./Shisuan"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Bttset
from
"~/model/Bttset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Bttset/Check"
;
import
Default
from
"~/model/Bttset/Default"
;
import
Pattern
from
"~/model/Bttset/Pattern"
;
import
Setp
from
"./Setp"
;
import
Docpan
from
"./Docpan"
;
import
Wg
from
"./Wg"
;
import
Basp
from
"./Basp"
;
import
Cnyp
from
"./Cnyp"
;
import
Incp
from
"./Incp"
;
import
Shisuan
from
"./Shisuan"
;
export
default
{
name
:
"Bttset"
,
components
:{
"m-setp"
:
Setp
,
"m-docpan"
:
Docpan
,
"m-wg"
:
Wg
,
"m-basp"
:
Basp
,
"m-cnyp"
:
Cnyp
,
"m-incp"
:
Incp
,
"m-shisuan"
:
Shisuan
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
trnName
:
"bttset"
,
trnType
:
""
,
model
:
new
Bttset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
}
name
:
"Bttset"
,
components
:
{
"m-setp"
:
Setp
,
"m-docpan"
:
Docpan
,
"m-wg"
:
Wg
,
"m-basp"
:
Basp
,
"m-cnyp"
:
Cnyp
,
"m-incp"
:
Incp
,
"m-shisuan"
:
Shisuan
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"setp"
,
trnName
:
"bttset"
,
trnType
:
""
,
model
:
new
Bttset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入bttset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入bttset交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
This diff is collapsed.
Click to expand it.
src/views/Business/Gitpop/Ovwp.vue
View file @
ca4a071d
...
...
@@ -215,7 +215,27 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<el-form-item
v-if=
"model.gitp.swiftflg == ''"
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<c-select
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
:code=
"codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'N'"
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<c-select
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
...
...
@@ -233,6 +253,78 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == ''"
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<c-select
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp2"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == 'ISSU'
"
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<c-select
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp3"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO')
"
label=
"Handling Type"
prop=
"gidgrp.rec.hndtyp"
>
<c-select
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp4"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Type of Undertaking"
prop=
"gidgrp.rec.gartyp"
>
<c-select
v-model=
"model.gidgrp.rec.gartyp"
...
...
@@ -1233,7 +1325,9 @@
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
v-show=
"model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == ''"
v-show=
"
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''
"
label=
"Expiry Condition/ Evt."
prop=
"gidgrp.blk.exptxt"
>
...
...
@@ -1248,7 +1342,9 @@
></c-input>
</el-form-item>
<el-form-item
v-show=
"model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == 'X'"
v-show=
"
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label=
"Expiry Condition/ Evt."
prop=
"gidgrp.blk.atxexptxt"
>
...
...
This diff is collapsed.
Click to expand it.
src/views/Business/Gitpop/Ptypc.vue
View file @
ca4a071d
...
...
@@ -46,17 +46,60 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"
{
title: 'Issuing Bank',
grp: 'gidgrp',
rol: 'iss',
}"
:disabled="true"
@onAplpDet="onCtcpDet"
>
</c-ptap>
<el-form-item
label=
"Issuing Bnak's Ref."
prop=
"gidgrp.iss.pts.ref"
>
<c-input
v-model=
"model.gidgrp.iss.pts.ref"
maxlength=
"16"
placeholder=
"请输入Issuing Bnak's Ref."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Issuing Bank"
prop=
"gidgrp.iss.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.gidgrp.iss.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
@
blur=
"issBlur"
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
<c-button
:disabled=
"model.gidgrp.iss.pts.adrblk == ''"
size=
"small"
type=
"primary"
@
click=
"onIsspDet"
>
Details
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"地址名称"
prop=
"gidgrp.iss.pts.adrblk"
>
<c-input
:disabled=
"model.gidgrp.iss.pts.adrblk != ''"
rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.iss.pts.adrblk"
maxlength=
"140"
show-word-limit
placeholder=
"请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -137,6 +180,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Gitpop/Event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Utils
from
"~/utils"
;
export
default
{
components
:
{
"c-ptap"
:
Ptap
},
...
...
@@ -148,6 +192,12 @@ export default {
},
methods
:
{
...
Event
,
async
issBlur
()
{
let
rtnmsg
=
await
this
.
executeDefault
(
"gidgrp.rec.sndto"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
},
created
:
function
()
{},
};
...
...
This diff is collapsed.
Click to expand it.
src/views/Business/Gitpop/index.vue
View file @
ca4a071d
...
...
@@ -319,9 +319,18 @@ export default {
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
let
name
=
tab
.
name
;
let
rulePath
;
if
(
name
===
"ptypc"
){
rulePath
=
"gitp.ptypc"
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
},
...
...
This diff is collapsed.
Click to expand it.
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