Commit ce8c64da by liushikai

清算模式-other

parent 59e30579
......@@ -986,12 +986,12 @@
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</el-col>
<el-col :span="24" style="margin-top:15px">
<el-col :span="24" style="margin-top: 15px">
<el-form-item label="收款直参行号">
<c-input
v-model="model.cptp.reconebch"
maxlength="35"
style="width:80%"
style="width: 80%"
placeholder="请输入收款直参行号"
></c-input>
</el-form-item>
......@@ -1002,14 +1002,13 @@
type="textarea"
v-model="model.cptp.reconebchnam"
maxlength="35"
style="width:80%"
style="width: 80%"
show-word-limit
placeholder="请输入收款直参名称"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24"
><el-form-item label="业务种类">
<c-select
......@@ -1082,6 +1081,196 @@
</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 :span="12">
......@@ -1832,7 +2021,8 @@
</el-form-item>
</el-col> -->
<c-grid-ety-prompt-dialog ref="etyDialog"
<c-grid-ety-prompt-dialog
ref="etyDialog"
:title="gridPromptDialog.title"
:columnStr="gridPromptDialog.columnStr"
:data="gridPromptDialog.data"
......@@ -1848,7 +2038,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Cptopn/Event";
import Utils from "~/utils"
import Utils from "~/utils";
export default {
inject: ["root"],
......@@ -1856,77 +2046,75 @@ export default {
mixins: [CommonProcess],
data() {
return {
model3:'',
trntyp:[
{value:'0',label:'贸易'},
{value:'1',label:'非贸易'},
{value:'2',label:'资本'},
{value:'3',label:'其他'},
model3: "",
trntyp: [
{ value: "0", label: "贸易" },
{ value: "1", label: "非贸易" },
{ value: "2", label: "资本" },
{ value: "3", label: "其他" },
],
liqtypOptions:[
{value:'B',label:'人行支付系统'},
{value:'C',label:'代理行模式'},
{value:'O',label:'Other'},
{value:'S',label:'CIPS系统'},
liqtypOptions: [
{ value: "B", label: "人行支付系统" },
{ value: "C", label: "代理行模式" },
{ value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" },
],
gridPromptDialog: {
title: '',
columnStr: '',
title: "",
columnStr: "",
data: [],
type: '',
rulePath: ''
}
type: "",
rulePath: "",
},
};
},
methods: {
payeecountcodeEvent() {
this.executeRule("cptp.payeecountcode").then((res) => {
if (res.respCode = "AAAAAA"){
if ((res.respCode = "AAAAAA")) {
if (res.data.params) {
this.updateModel(res.data);
} else {
this.$refs.etyDialog.show = true
this.gridPromptDialog.title = res.data.title
this.gridPromptDialog.columnStr = res.data.columns
this.gridPromptDialog.data = res.data.vals.rows
this.gridPromptDialog.type = 'extkey'
this.gridPromptDialog.rulePath = 'cptp.payeecountcode'
}
this.$refs.etyDialog.show = true;
this.gridPromptDialog.title = res.data.title;
this.gridPromptDialog.columnStr = res.data.columns;
this.gridPromptDialog.data = res.data.vals.rows;
this.gridPromptDialog.type = "extkey";
this.gridPromptDialog.rulePath = "cptp.payeecountcode";
}
}
)
});
},
pyebchkeyEvent() {
this.executeRule("cptp.pyebchkey").then((res) => {
if (res.respCode = "AAAAAA"){
if ((res.respCode = "AAAAAA")) {
if (res.data.params) {
this.updateModel(res.data);
} else {
this.$refs.etyDialog.show = true
this.gridPromptDialog.title = res.data.title
this.gridPromptDialog.columnStr = res.data.columns
this.gridPromptDialog.data = res.data.vals.rows
this.gridPromptDialog.type = 'extkey'
this.gridPromptDialog.rulePath = 'cptp.pyebchkey'
this.$refs.etyDialog.show = true;
this.gridPromptDialog.title = res.data.title;
this.gridPromptDialog.columnStr = res.data.columns;
this.gridPromptDialog.data = res.data.vals.rows;
this.gridPromptDialog.type = "extkey";
this.gridPromptDialog.rulePath = "cptp.pyebchkey";
}
}
}
)
});
},
selectEty(val, rulePath) {
const props = rulePath.replaceAll(".", "_")
const obj = {}
const props = rulePath.replaceAll(".", "_");
const obj = {};
obj[props] = val;
Utils.copyValueFromVO(this.model, obj);
this.executeRule(rulePath).then((res) => {
if (res.respCode = "AAAAAA"){
if ((res.respCode = "AAAAAA")) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
onCptpGetmod() {},
...Event
...Event,
},
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