Commit ce8c64da by lsk

清算模式-other

parent 59e30579
......@@ -215,7 +215,7 @@
style="width: 100%"
placeholder="请选择汇款性质"
>
<el-option
<el-option
v-for="item in trntyp"
:key="item.value"
:label="item.label"
......@@ -620,17 +620,17 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="17">
<el-form-item label="收款人" prop="cptp.pyebchkey">
<c-input
v-model="model.cptp.pyebchkey"
maxlength="14"
placeholder="请输入收款人"
@keyup.enter.native="pyebchkeyEvent"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="17">
<el-form-item label="收款人" prop="cptp.pyebchkey">
<c-input
v-model="model.cptp.pyebchkey"
maxlength="14"
placeholder="请输入收款人"
@keyup.enter.native="pyebchkeyEvent"
></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="" label-width="15px">
......@@ -982,33 +982,32 @@
<!-- =========右========== -->
<el-col :span="11" :offset="1">
<el-col :span="4" :offset="18">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</el-col>
<el-col :span="24" style="margin-top:15px">
<el-form-item label="收款直参行号">
<c-input
v-model="model.cptp.reconebch"
maxlength="35"
style="width:80%"
placeholder="请输入收款直参行号"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="收款直参名称">
<c-input
type="textarea"
v-model="model.cptp.reconebchnam"
maxlength="35"
style="width:80%"
show-word-limit
placeholder="请输入收款直参名称"
></c-input>
</el-form-item>
</el-col>
<el-col :span="4" :offset="18">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</el-col>
<el-col :span="24" style="margin-top: 15px">
<el-form-item label="收款直参行号">
<c-input
v-model="model.cptp.reconebch"
maxlength="35"
style="width: 80%"
placeholder="请输入收款直参行号"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="收款直参名称">
<c-input
type="textarea"
v-model="model.cptp.reconebchnam"
maxlength="35"
style="width: 80%"
show-word-limit
placeholder="请输入收款直参名称"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24"
><el-form-item label="业务种类">
......@@ -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,14 +2021,15 @@
</el-form-item>
</el-col> -->
<c-grid-ety-prompt-dialog ref="etyDialog"
:title="gridPromptDialog.title"
:columnStr="gridPromptDialog.columnStr"
<c-grid-ety-prompt-dialog
ref="etyDialog"
:title="gridPromptDialog.title"
:columnStr="gridPromptDialog.columnStr"
:data="gridPromptDialog.data"
:type="gridPromptDialog.type"
:rulePath="gridPromptDialog.rulePath"
v-on:select-ety="selectEty"
>
>
</c-grid-ety-prompt-dialog>
</div>
</template>
......@@ -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: {
methods: {
payeecountcodeEvent() {
this.executeRule("cptp.payeecountcode").then((res) => {
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'
}
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";
}
}
)
});
},
pyebchkeyEvent() {
this.executeRule("cptp.pyebchkey").then((res) => {
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'
}
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";
}
}
)
});
},
selectEty(val, rulePath) {
const props = rulePath.replaceAll(".", "_")
const obj = {}
obj[props] = val;
Utils.copyValueFromVO(this.model, obj);
this.executeRule(rulePath).then((res) => {
if (res.respCode = "AAAAAA"){
Utils.copyValueFromVO(this.model, res.data);
}
});
const props = rulePath.replaceAll(".", "_");
const obj = {};
obj[props] = val;
Utils.copyValueFromVO(this.model, obj);
this.executeRule(rulePath).then((res) => {
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