Commit ce8c64da by liushikai

清算模式-other

parent 59e30579
...@@ -986,12 +986,12 @@ ...@@ -986,12 +986,12 @@
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox> <c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</el-col> </el-col>
<el-col :span="24" style="margin-top:15px"> <el-col :span="24" style="margin-top: 15px">
<el-form-item label="收款直参行号"> <el-form-item label="收款直参行号">
<c-input <c-input
v-model="model.cptp.reconebch" v-model="model.cptp.reconebch"
maxlength="35" maxlength="35"
style="width:80%" style="width: 80%"
placeholder="请输入收款直参行号" placeholder="请输入收款直参行号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -1002,14 +1002,13 @@ ...@@ -1002,14 +1002,13 @@
type="textarea" type="textarea"
v-model="model.cptp.reconebchnam" v-model="model.cptp.reconebchnam"
maxlength="35" maxlength="35"
style="width:80%" style="width: 80%"
show-word-limit show-word-limit
placeholder="请输入收款直参名称" placeholder="请输入收款直参名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24" <el-col :span="24"
><el-form-item label="业务种类"> ><el-form-item label="业务种类">
<c-select <c-select
...@@ -1082,6 +1081,196 @@ ...@@ -1082,6 +1081,196 @@
</el-col> </el-col>
</el-col> </el-col>
<!-- ======================清算模式-Other================ -->
<el-col
:span="24"
v-if="model.cptp.liqtyp === 'O'"
style="margin-top: 20px"
>
<!-- ================左================= -->
<el-col :span="11" style="margin-top: 20px">
<el-col :span="24">
<el-form-item
label="Ordering institution (52a)"
prop="cpdgrp.ori.pts.ref"
>
<c-input
v-model="model.cpdgrp.ori.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet">
Details
</c-button>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
readonly
rows="9"
style="width: 90%"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="帐号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
readonly
rows="9"
style="width: 90%"
></c-input>
</el-form-item>
</el-col>
</el-col>
<!-- ==============右================== -->
<el-col :span="11" :offset="1">
<el-col :span="24">
<el-col :span="17">
<el-form-item label="发报行">
<c-input placeholder="" readonly></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24">
<el-form-item label="">
<c-input type="textarea" placeholder="" readonly style="width: 90%" rows="7"></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="付款详情">
<c-input type="textarea" placeholder="" readonly style="width: 90%" rows="5"></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="收款人 Ref." prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="帐号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
readonly
rows="9"
style="width: 90%"
></c-input>
</el-form-item>
</el-col>
</el-col>
</el-col>
<!-- <el-col><div style="height: 100px"></div></el-col> <!-- <el-col><div style="height: 100px"></div></el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -1832,7 +2021,8 @@ ...@@ -1832,7 +2021,8 @@
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<c-grid-ety-prompt-dialog ref="etyDialog" <c-grid-ety-prompt-dialog
ref="etyDialog"
:title="gridPromptDialog.title" :title="gridPromptDialog.title"
:columnStr="gridPromptDialog.columnStr" :columnStr="gridPromptDialog.columnStr"
:data="gridPromptDialog.data" :data="gridPromptDialog.data"
...@@ -1848,7 +2038,7 @@ import Api from "~/service/Api"; ...@@ -1848,7 +2038,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
import Utils from "~/utils" import Utils from "~/utils";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -1856,77 +2046,75 @@ export default { ...@@ -1856,77 +2046,75 @@ export default {
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return { return {
model3:'', model3: "",
trntyp:[ trntyp: [
{value:'0',label:'贸易'}, { value: "0", label: "贸易" },
{value:'1',label:'非贸易'}, { value: "1", label: "非贸易" },
{value:'2',label:'资本'}, { value: "2", label: "资本" },
{value:'3',label:'其他'}, { value: "3", label: "其他" },
], ],
liqtypOptions:[ liqtypOptions: [
{value:'B',label:'人行支付系统'}, { value: "B", label: "人行支付系统" },
{value:'C',label:'代理行模式'}, { value: "C", label: "代理行模式" },
{value:'O',label:'Other'}, { value: "O", label: "Other" },
{value:'S',label:'CIPS系统'}, { value: "S", label: "CIPS系统" },
], ],
gridPromptDialog: { gridPromptDialog: {
title: '', title: "",
columnStr: '', columnStr: "",
data: [], data: [],
type: '', type: "",
rulePath: '' rulePath: "",
} },
}; };
}, },
methods: { methods: {
payeecountcodeEvent() { payeecountcodeEvent() {
this.executeRule("cptp.payeecountcode").then((res) => { this.executeRule("cptp.payeecountcode").then((res) => {
if (res.respCode = "AAAAAA"){ if ((res.respCode = "AAAAAA")) {
if (res.data.params) { if (res.data.params) {
this.updateModel(res.data); this.updateModel(res.data);
} else { } else {
this.$refs.etyDialog.show = true this.$refs.etyDialog.show = true;
this.gridPromptDialog.title = res.data.title this.gridPromptDialog.title = res.data.title;
this.gridPromptDialog.columnStr = res.data.columns this.gridPromptDialog.columnStr = res.data.columns;
this.gridPromptDialog.data = res.data.vals.rows this.gridPromptDialog.data = res.data.vals.rows;
this.gridPromptDialog.type = 'extkey' this.gridPromptDialog.type = "extkey";
this.gridPromptDialog.rulePath = 'cptp.payeecountcode' this.gridPromptDialog.rulePath = "cptp.payeecountcode";
}
} }
} }
) });
}, },
pyebchkeyEvent() { pyebchkeyEvent() {
this.executeRule("cptp.pyebchkey").then((res) => { this.executeRule("cptp.pyebchkey").then((res) => {
if (res.respCode = "AAAAAA"){ if ((res.respCode = "AAAAAA")) {
if (res.data.params) { if (res.data.params) {
this.updateModel(res.data); this.updateModel(res.data);
} else { } else {
this.$refs.etyDialog.show = true this.$refs.etyDialog.show = true;
this.gridPromptDialog.title = res.data.title this.gridPromptDialog.title = res.data.title;
this.gridPromptDialog.columnStr = res.data.columns this.gridPromptDialog.columnStr = res.data.columns;
this.gridPromptDialog.data = res.data.vals.rows this.gridPromptDialog.data = res.data.vals.rows;
this.gridPromptDialog.type = 'extkey' this.gridPromptDialog.type = "extkey";
this.gridPromptDialog.rulePath = 'cptp.pyebchkey' this.gridPromptDialog.rulePath = "cptp.pyebchkey";
} }
} }
} });
)
}, },
selectEty(val, rulePath) { selectEty(val, rulePath) {
const props = rulePath.replaceAll(".", "_") const props = rulePath.replaceAll(".", "_");
const obj = {} const obj = {};
obj[props] = val; obj[props] = val;
Utils.copyValueFromVO(this.model, obj); Utils.copyValueFromVO(this.model, obj);
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode = "AAAAAA"){ if ((res.respCode = "AAAAAA")) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
}); });
}, },
onCptpGetmod() {}, onCptpGetmod() {},
...Event ...Event,
}, },
created: function () {}, created: function () {},
}; };
......
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