Commit 2106598a by liuxin

汇出汇款汇款信息调整

parent 5c57e73c
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index"
export default { export default {
async onCptpGetref() { async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp_getref")
...@@ -218,10 +219,25 @@ export default { ...@@ -218,10 +219,25 @@ export default {
}, },
async onOpnpButgetref() { async onOpnpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref") let rtnmsg = await this.executeRule("cptp.getref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //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({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="业务编号" label="业务编号"
prop="cptp.recget.sdamod.dadsnd" prop="cpdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cptp.recget.sdamod.dadsnd" v-model="model.cpdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled disabled
...@@ -322,6 +322,7 @@ ...@@ -322,6 +322,7 @@
:disabled=" :disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' model.cpdgrp.cbs.nom1.amt === '0.000'
" "
@change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option <el-option
...@@ -465,14 +466,13 @@ export default { ...@@ -465,14 +466,13 @@ export default {
...Event, ...Event,
onCptpGetref() {}, onCptpGetref() {},
onCptpGetmod() {}, onCptpGetmod() {},
}, },
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
return ( return (
this.model.cpdgrp.orc.pts.extkey == "" || this.model.cpdgrp.orc.pts.extkey == ""
this.model.cpdgrp.rec.ownref != "" // && this.model.cpdgrp.rec.ownref != ""
); );
}, },
}, },
......
...@@ -383,21 +383,6 @@ ...@@ -383,21 +383,6 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Details of Charges(Tag 71a)" label-width="35%"> <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> </el-form-item>
</c-col> </c-col>
...@@ -426,20 +411,9 @@ import Event from "~/model/Cptopn/Event"; ...@@ -426,20 +411,9 @@ import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; 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 }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> <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 --> <!--PD000020 -->
<c-content> <c-content>
<m-opnp1 :model="model" :codes="codes" /> <m-opnp1 :model="model" :codes="codes" />
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<m-AdditionalInfo :model="model" :codes="codes" /> <m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="账务" name="setpan">
<!--PD000000 --> <!--PD000000 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -33,17 +33,17 @@ ...@@ -33,17 +33,17 @@
<m-glepan :model="model" :codes="codes" ref="glepan"/> <m-glepan :model="model" :codes="codes" ref="glepan"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<!--PD000000 --> <!--PD000000 -->
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<!--PD000529 --> <!--PD000529 -->
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="附件" name="doctre">
<!--PD000546 --> <!--PD000546 -->
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
......
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