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
2106598a
Commit
2106598a
authored
Jan 24, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇出汇款汇款信息调整
parent
5c57e73c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
202 additions
and
85 deletions
+202
-85
Event.js
src/model/Cptopn/Event.js
+18
-2
Opnp1.vue
src/views/Business/Cptopn/Opnp1.vue
+5
-5
Payment103.vue
src/views/Business/Cptopn/Payment103.vue
+0
-26
index.vue
src/views/Business/Cptopn/index.vue
+5
-5
CptOpnp1Common.vue
src/views/Public/CptOpnp1Common.vue
+174
-47
No files found.
src/model/Cptopn/Event.js
View file @
2106598a
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
export
default
{
async
onCptpGetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
...
...
@@ -218,10 +219,25 @@ export default {
},
async
onOpnpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"
ditp.but
getref"
)
let
rtnmsg
=
await
this
.
executeRule
(
"
cptp.
getref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
didgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
didgrp_rec_ownref
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
swftypChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cpdgrp.rec.swftyp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
...
...
src/views/Business/Cptopn/Opnp1.vue
View file @
2106598a
...
...
@@ -13,12 +13,12 @@
<c-col
:span=
"11"
>
<el-form-item
label=
"业务编号"
prop=
"cp
tp.recget.sdamod.dadsnd
"
prop=
"cp
dgrp.rec.ownref
"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.cp
tp.recget.sdamod.dadsnd
"
v-model=
"model.cp
dgrp.rec.ownref
"
maxlength=
"16"
placeholder=
"请输入Reference"
disabled
...
...
@@ -322,6 +322,7 @@
:disabled=
"
model.cpdgrp.cbs.nom1.amt === '0.000'
"
@
change=
"swftypChange"
>
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option
...
...
@@ -465,14 +466,13 @@ export default {
...
Event
,
onCptpGetref
()
{},
onCptpGetmod
()
{},
},
created
:
function
()
{},
computed
:
{
flag
()
{
return
(
this
.
model
.
cpdgrp
.
orc
.
pts
.
extkey
==
""
||
this
.
model
.
cpdgrp
.
rec
.
ownref
!=
""
this
.
model
.
cpdgrp
.
orc
.
pts
.
extkey
==
""
// &&
this.model.cpdgrp.rec.ownref != ""
);
},
},
...
...
src/views/Business/Cptopn/Payment103.vue
View file @
2106598a
...
...
@@ -383,21 +383,6 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"Details of Charges(Tag 71a)"
label-width=
"35%"
>
<c-select
v-model=
"model.cptp.liqtyp"
style=
"width: 100%"
placeholder=
"请选择清算模式"
:disabled=
"
model.cpdgrp.cbs.nom1.amt === '0.000'
"
>
<el-option
v-for=
"item in liqtypOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -426,20 +411,9 @@ import Event from "~/model/Cptopn/Event";
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
watch
:
{
"model.cptp.qsfysd"
:
function
()
{
if
(
this
.
model
.
cptp
.
qsfysd
==
""
)
{
this
.
model
.
cptp
.
fwtgyh
==
""
;
}
else
{
this
.
model
.
cptp
.
fwtgyh
=
"CHASUS33XXX"
;
console
.
log
(
this
.
model
.
cptp
.
fwtgyh
);
}
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
...
...
src/views/Business/Cptopn/index.vue
View file @
2106598a
...
...
@@ -11,7 +11,7 @@
:validate-on-rule-change=
"false"
>
<el-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"
Overview
"
name=
"opnp1"
>
<el-tab-pane
label=
"
汇款信息
"
name=
"opnp1"
>
<!--PD000020 -->
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -23,7 +23,7 @@
<m-AdditionalInfo
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"
Settlement
"
name=
"setpan"
>
<el-tab-pane
label=
"
账务
"
name=
"setpan"
>
<!--PD000000 -->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -33,17 +33,17 @@
<m-glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan"
/>
</el-tab-pane>
<el-tab-pane
label=
"
Completion
"
name=
"coninfp"
>
<el-tab-pane
label=
"
附言
"
name=
"coninfp"
>
<!--PD000000 -->
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"
Messages
"
name=
"docpan"
>
<el-tab-pane
label=
"
报文及面函
"
name=
"docpan"
>
<!--PD000529 -->
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"
Attachments
"
name=
"doctre"
>
<el-tab-pane
label=
"
附件
"
name=
"doctre"
>
<!--PD000546 -->
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
src/views/Public/CptOpnp1Common.vue
View file @
2106598a
...
...
@@ -11,7 +11,6 @@
v-model=
"model.cpdgrp.ori.pts.ref"
maxlength=
"16"
placeholder=
""
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -19,7 +18,10 @@
<c-col
:span=
"24"
>
<c-col
:span=
"18"
>
<el-form-item
label=
""
>
<c-input
placeholder=
""
disabled
></c-input>
<c-input
v-model=
"model.cpdgrp.ori.pts.extkey"
placeholder=
""
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
...
...
@@ -34,7 +36,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -62,7 +69,6 @@
v-model=
"model.cpdgrp.orc.pts.ref"
maxlength=
"16"
placeholder=
""
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -73,7 +79,6 @@
v-model=
"model.cpdgrp.rec.orcact"
maxlength=
"35"
placeholder=
"汇款人账号"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -83,8 +88,10 @@
<el-form-item
label=
""
>
<c-input
v-model=
"model.cpdgrp.orc.pts.extkey"
disabled
placeholder=
"请输入汇款人客户号"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
>
</c-input>
</el-form-item>
...
...
@@ -101,7 +108,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -129,11 +141,12 @@
:span=
"11"
:offset=
"1"
v-if=
"
trnName() === 'cptopn' ? (
model.cpdgrp.rec.swftyp === '' ||
root.trnName === 'cptopn'
?
model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
) : (model.cpdgrp.rec.swftyp === '' || model.cpdgrp.rec.swftyp === '103')
: model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103'
"
style=
"margin-top: 20px"
>
...
...
@@ -155,7 +168,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -197,7 +215,11 @@
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.rec.amtf33b"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.rec.amtf33b"
>
<c-input
v-model=
"model.cpdgrp.rec.amtf33b"
placeholder=
"请输入原始金额"
...
...
@@ -208,13 +230,19 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"汇率"
prop=
"cpdgrp.rec.f36"
>
<c-input
v-model=
"model.cpdgrp.rec.f36"
placeholder=
""
></c-input>
<c-input
v-model=
"model.cpdgrp.rec.f36"
placeholder=
""
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"14"
>
<el-form-item
label=
"发报行扣费金额"
prop=
"cpdgrp.rec.cur71f"
>
<el-form-item
label=
"发报行扣费金额"
prop=
"cpdgrp.rec.cur71f"
>
<c-select
v-model=
"model.cpdgrp.rec.cur71f"
placeholder=
""
...
...
@@ -230,7 +258,11 @@
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.rec.amt71f"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.rec.amt71f"
>
<c-input
v-model=
"model.cpdgrp.rec.amt71f"
placeholder=
"请输入发报行扣费金额"
...
...
@@ -261,13 +293,13 @@
<c-col
:span=
"24"
>
<c-col
:span=
"18"
>
<el-form-item
label=
"收款人"
prop=
"cpdgrp.orc
.pts.extkey"
>
<el-form-item
label=
"收款人"
prop=
"cpdgrp.pye
.pts.extkey"
>
<c-input
v-model=
"model.cpdgrp.orc
.pts.extkey"
v-model=
"model.cpdgrp.pye
.pts.extkey"
maxlength=
"14"
placeholder=
"请输入收款人"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.orc
.pts.extkey')
showGridPromptDialog('cpdgrp.pye
.pts.extkey')
"
></c-input>
</el-form-item>
...
...
@@ -284,7 +316,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -309,7 +346,12 @@
<c-col
:span=
"11"
:offset=
"1"
v-if=
"trnName() === 'cptopn' ? model.cpdgrp.rec.swftyp === '200' : (model.cpdgrp.rec.swftyp === '202' || model.cpdgrp.rec.swftyp === '200')"
v-if=
"
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '200'
: model.cpdgrp.rec.swftyp === '202' ||
model.cpdgrp.rec.swftyp === '200'
"
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
>
...
...
@@ -330,7 +372,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -357,7 +404,9 @@
v-model=
"model.cpdgrp.orc.pts.extkey"
maxlength=
"14"
placeholder=
"请输入收款人"
@
keyup
.
enter
.
native=
"showGridPromptDialog('cpdgrp.orc.pts.extkey')"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -394,7 +443,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -440,7 +494,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -463,7 +522,12 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"付款详情"
>
<c-input
type=
"textarea"
placeholder=
""
readonly
rows=
"3"
></c-input>
<c-input
type=
"textarea"
placeholder=
""
readonly
rows=
"3"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -509,7 +573,12 @@
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
...
...
@@ -532,7 +601,11 @@
</c-col>
<!-- ====================清算模式-人行支付系统===================== -->
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'B'"
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'B'"
style=
"margin-top: 10px"
>
<!-- =========左========== -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
...
...
@@ -607,7 +680,9 @@
@
click=
"onCptpGetInfpta"
icon=
"el-icon-search"
></c-button>
<c-button
size=
"small"
type=
"primary"
disabled
>
详情
</c-button>
<c-button
size=
"small"
type=
"primary"
disabled
>
详情
</c-button
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -649,7 +724,9 @@
</el-form-item>
</c-col>
<c-col
:span=
"2"
:offset=
"1"
>
<c-checkbox
v-model=
"model.cptp.flg"
>
电汇凭证
</c-checkbox>
<c-checkbox
v-model=
"model.cptp.flg"
>
电汇凭证
</c-checkbox
>
</c-col>
</c-col>
...
...
@@ -702,7 +779,11 @@
</el-form-item>
</c-col>
<c-col
:span=
"2"
><c-button
size=
"small"
type=
"primary"
@
click=
"onCptpGetmod"
>
><c-button
size=
"small"
type=
"primary"
@
click=
"onCptpGetmod"
>
获取
</c-button></c-col
>
...
...
@@ -746,7 +827,9 @@
@
click=
"onCptpGetInfpta"
icon=
"el-icon-search"
></c-button>
<c-button
size=
"small"
type=
"primary"
>
详情
</c-button>
<c-button
size=
"small"
type=
"primary"
>
详情
</c-button
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -766,7 +849,11 @@
</c-col>
<!-- ====================清算模式-CIPS系统===================== -->
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'S'"
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'S'"
style=
"margin-top: 10px"
>
<!-- =========左========== -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
...
...
@@ -841,7 +928,9 @@
@
click=
"onCptpGetInfpta"
icon=
"el-icon-search"
></c-button>
<c-button
size=
"small"
type=
"primary"
disabled
>
详情
</c-button>
<c-button
size=
"small"
type=
"primary"
disabled
>
详情
</c-button
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -947,7 +1036,9 @@
@
click=
"onCptpGetInfpta"
icon=
"el-icon-search"
></c-button>
<c-button
size=
"small"
type=
"primary"
>
详情
</c-button>
<c-button
size=
"small"
type=
"primary"
>
详情
</c-button
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -967,7 +1058,11 @@
</c-col>
<!-- ======================清算模式-Other================ -->
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'O'"
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'O'"
style=
"margin-top: 10px"
>
<!-- ================左================= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
...
...
@@ -999,7 +1094,11 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
>
详情
</c-button>
</el-form-item>
...
...
@@ -1056,7 +1155,12 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
...
...
@@ -1094,7 +1198,12 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
...
...
@@ -1159,7 +1268,12 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
...
...
@@ -1182,7 +1296,11 @@
</c-col>
<!-- ====================清算模式-代理行模式=================== -->
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'C'"
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
v-if=
"model.cptp.liqtyp === 'C'"
style=
"margin-top: 10px"
>
<!-- ==============左============== -->
<c-col
:span=
"24"
>
<el-form-item
...
...
@@ -1213,7 +1331,11 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
>
详情
</c-button>
</el-form-item>
...
...
@@ -1270,7 +1392,12 @@
icon=
"el-icon-search"
>
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
...
...
@@ -2232,19 +2359,19 @@
</
template
>
<
script
>
import
CommonProcess
from
"~/mixin/CommonProcess"
;
export
default
{
props
:
[
'model'
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{
infptaVisible
:
false
,
};
},
methods
:
{
trnName
()
{
return
this
.
$parent
.
root
.
trnName
},
onSndpDet
()
{
this
.
$emit
(
'onSndpDet'
)
this
.
$emit
(
"onSndpDet"
);
},
onCptpGetInfpta
()
{
this
.
infptaVisible
=
true
;
...
...
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