Commit 876c71f1 by LiRui

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 6e5d559b 25899555
<template>
<div class="eibs-tab" >
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptcan/Event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- =================左边============== --> <!-- =================左边============== -->
<c-col :span="11"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇款编号" prop="cpdgrp.rec.ownref"> <el-form-item label="汇款编号" prop="cpdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
...@@ -21,9 +21,17 @@ ...@@ -21,9 +21,17 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item style="text-align: left" label-width="5px" prop="cpdgrp.cbs.nom1.amt"> <el-form-item
<c-input-currency v-model="model.cpdgrp.cbs.nom1.amt" style="text-align: left; width: 100%" style="text-align: left"
placeholder="请输入汇款金额" disabled></c-input-currency> label-width="5px"
prop="cpdgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -36,34 +44,64 @@ ...@@ -36,34 +44,64 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item style="text-align: left" label-width="5px" prop="cpdgrp.cbs.max.amt"> <el-form-item
<c-input-currency v-model="model.cpdgrp.cbs.max.amt" style="text-align: left; width: 100%" style="text-align: left"
placeholder="请输入" disabled @keyup.enter.native=" label-width="5px"
prop="cpdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入"
disabled
@keyup.enter.native="
defaultFunction( defaultFunction(
'cpdgrp.cbs.nom1.amt', 'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt model.cpdgrp.cbs.nom1.amt
) )
"></c-input-currency> "
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="有效期" prop="cpdgrp.rec.valdat"> <el-form-item label="有效期" prop="cpdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.cpdgrp.rec.valdat" style="width: 100%" disabled></c-date-picker> <c-date-picker
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="支付类型" prop="cpdgrp.rec.paytyp"> <el-form-item label="支付类型" prop="cpdgrp.rec.paytyp">
<c-select v-model="model.cpdgrp.rec.paytyp" style="width:100%" disabled> <c-select
<el-option v-for="item in paytyp" :key="item.value" :value="item.value" :label="item.label"></el-option> v-model="model.cpdgrp.rec.paytyp"
style="width: 100%"
disabled
>
<el-option
v-for="item in paytyp"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="叙述内容" prop="strinf">
<c-input type="textarea" v-model="model.strinf" rows="4"></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- =================右边====================== --> <!-- =================右边====================== -->
<c-col :span="11" :offset="1"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="cpdgrp.rec.nam"> <el-form-item label="简略信息" prop="cpdgrp.rec.nam">
<c-input v-model="model.cpdgrp.rec.nam" disabled></c-input> <c-input v-model="model.cpdgrp.rec.nam" disabled></c-input>
...@@ -72,38 +110,52 @@ ...@@ -72,38 +110,52 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.nam"> <el-form-item label="汇款人" prop="cpdgrp.orc.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.orc.pts.nam" disabled></c-input> <c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.nam"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇款行" prop="cpdgrp.ori.pts.nam"> <el-form-item label="汇款行" prop="cpdgrp.ori.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.ori.pts.nam" disabled></c-input> <c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.nam"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="支付行" prop="cpdgrp.pyb.pts.pts"> <el-form-item label="支付行" prop="cpdgrp.pyb.pts.pts">
<c-input type="textarea" v-model="model.cpdgrp.pyb.pts.pts" disabled></c-input> <c-input
type="textarea"
v-model="model.cpdgrp.pyb.pts.pts"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人" prop="cpdgrp.pye.pts.nam"> <el-form-item label="收款人" prop="cpdgrp.pye.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.pye.pts.nam" disabled></c-input> <c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.nam"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24" class="">
<c-col :span="11"> <el-form-item prop="sndsmg" label-width="120px" style=" float:left;">
<el-form-item label="叙述内容" prop="strinf"> <c-checkbox
<c-input type="textarea" v-model="model.strinf" rows="4"></c-input> v-model="model.sndsmg"
>发送报文</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" :offset="1">
<c-checkbox v-model="model.sndsmg">发送报文</c-checkbox>
</c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -123,13 +175,12 @@ export default { ...@@ -123,13 +175,12 @@ export default {
{ label: "汇入汇款", value: "I" }, { label: "汇入汇款", value: "I" },
{ label: "汇出汇款", value: "O" }, { label: "汇出汇款", value: "O" },
{ label: "过境汇款", value: "T" }, { label: "过境汇款", value: "T" },
] ],
}; };
}, },
methods: { ...Event }, methods: { ...Event },
created: function () { }, created: function () {},
}; };
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="注销" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptcan/Event";
import Canp from "./Canp";
export default {
components: {
"m-canp": Canp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["canp"],
};
},
methods: {
...Event,
},
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="汇款注销">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <el-tab-pane label="业务信息" name="ovwp">
<el-button size="small">备忘录</el-button> <c-content>
<el-button size="small">影像信息</el-button> <m-ovwp :model="model" :codes="codes" />
<!-- <el-button size="small">保存模板</el-button> --> </c-content>
<!-- <el-button size="small">使用模板</el-button> --> </el-tab-pane>
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" <el-tab-pane label="费用/账务" name="setpan">
:validate-on-rule-change="false"> <c-content>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <div class="eibs-tab">
<!--cptcan PD000016 注销 --> <el-collapse v-model="activeNames">
<el-tab-pane label="注销" name="canp"> <el-collapse-item title="结算" name="setpan">
<c-content> <!-- 结算 -->
<m-canp :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </el-collapse-item>
</el-tab-pane> </el-collapse>
<!--setmod PD000000 结算 账务--> </div>
<el-tab-pane label="结算" name="setpan"> </c-content>
<c-content> </el-tab-pane>
<m-setpan :model="model" :codes="codes" />
</c-content> <el-tab-pane label="备查/附言" name="addbcb">
</el-tab-pane> <c-content>
<!--coninf PD000000 提示信息 提示信息--> <m-addbcb :model="model" :codes="codes" />
<el-tab-pane label="提示信息" name="coninfp"> </c-content>
<c-content> </el-tab-pane>
<m-coninfp :model="model" :codes="codes" />
</c-content> <el-tab-pane label="报文/面函" name="docpan">
</el-tab-pane> <c-content>
<!--trndoc PD000529 &报文和面函 报文面函--> <m-docpan :model="model" :codes="codes" />
<el-tab-pane label="报文和面函" name="docpan"> </c-content>
<c-content> </el-tab-pane>
<m-docpan :model="model" :codes="codes" />
</c-content> <!--trndoc PD000546 附件 附件-->
</el-tab-pane> <el-tab-pane label="附件信息" name="doctre">
<!--trndoc PD000546 附件 附件--> <c-content>
<el-tab-pane label="附件" name="doctre"> <m-doctre :model="model" :codes="codes" />
<c-content> </c-content>
<m-doctre :model="model" :codes="codes" /> </el-tab-pane>
</c-content> </c-tabs>
</el-tab-pane> </el-form>
</c-tabs>
</el-form> <c-function-btn
</div> :handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Cptcan from "~/model/Cptcan" import Cptcan from "~/model/Cptcan";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Cptcan/Check" import Check from "~/model/Cptcan/Check";
import Default from "~/model/Cptcan/Default" import Default from "~/model/Cptcan/Default";
import Pattern from "~/model/Cptcan/Pattern" import Pattern from "~/model/Cptcan/Pattern";
import Canp from "./Canp" import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Cptcan", name: "Cptcan",
components: { components: {
"m-canp": Canp, "m-ovwp": Ovwp,
"m-setpan": Setpan, "m-addbcb": Addbcb,
"m-coninfp": Coninfp, "m-setpan": Setpan,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "canp", tabVal: "ovwp",
trnName: "cptcan", trnName: "cptcan",
trnType: "", trnType: "",
model: new Cptcan().data, model: new Cptcan().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
} activeNames: ["setpan"],
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods: { },
myTabClick(tab) { created: async function () {
this.tabClick(tab) console.log("进入cptcan交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created: async function () { this.restoreDisplay();
console.log("进入cptcan交易"); }
let rtnmsg = await this.init({}) } else {
if (rtnmsg.respCode == SUCCESS) { this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
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