Commit 2106598a by liuxin

汇出汇款汇款信息调整

parent 5c57e73c
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.butgetref")
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: '获取成功!'
......
......@@ -13,12 +13,12 @@
<c-col :span="11">
<el-form-item
label="业务编号"
prop="cptp.recget.sdamod.dadsnd"
prop="cpdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.cptp.recget.sdamod.dadsnd"
v-model="model.cpdgrp.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 != ""
);
},
},
......
......@@ -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 () {},
};
......
......@@ -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>
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment