Commit 1df23279 by Wuyuqiu

bftacc交易快照

parent 122f29e3
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
...@@ -18,57 +17,64 @@ ...@@ -18,57 +17,64 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
<!--PD000033 --> ref="modelForm"
<el-tab-pane label="承兑" name="accp"> label-width="150px"
<m-accp :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
:validate-on-rule-change="false"
<!--PD000027 --> >
<el-tab-pane label="或有" name="engp"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<m-engp :model="model" :codes="codes"/> <!--PD000033 -->
</el-tab-pane> <el-tab-pane label="承兑" name="accp">
<m-accp :model="model" :codes="codes" />
<!--PD000000 --> </el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <!--PD000027 -->
</el-tab-pane> <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
<!--PD000000 --> </el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <!--PD000000 -->
</el-tab-pane> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
<!--PD000529 --> </el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <!--PD000000 -->
</el-tab-pane> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<!--PD000546 --> </el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <!--PD000529 -->
</el-tab-pane> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
<!--PD000001 --> </el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <!--PD000546 -->
</el-tab-pane> <el-tab-pane label="附件" name="doctre">
</c-tabs> <m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </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 Bftacc from "~/model/Bftacc" import Bftacc from "~/model/Bftacc";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check" import Check from "~/model/Bftacc/Check";
import Default from "~/model/Bftacc/Default" import Default from "~/model/Bftacc/Default";
import Pattern from "~/model/Bftacc/Pattern" import Pattern from "~/model/Bftacc/Pattern";
import Accp from "./Accp" import Accp from "./Accp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
...@@ -76,60 +82,58 @@ import Docpan from "~/views/Public/Docpan"; ...@@ -76,60 +82,58 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftacc", name: "Bftacc",
components:{ components: {
"m-accp" : Accp, "m-accp": Accp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "accp", tabVal: "accp",
trnName: "bftacc", trnName: "bftacc",
model: new Bftacc().data, model: new Bftacc().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
} };
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bftacc交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} if (this.isInDisplay) {
}, this.restoreDisplay();
created:async function(){ }
console.log("进入bftacc交易"); //TODO 处理数据逻辑
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template>
<ReviewWrapper>
<Bftacc></Bftacc>
</ReviewWrapper>
</template>
<script>
import Bftacc from "~/views/Business/Bftacc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBftacc",
components: { ReviewWrapper, Bftacc },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -51,6 +51,7 @@ import ReviewBotcan from "./Business/ReviewBotcan.vue"; ...@@ -51,6 +51,7 @@ import ReviewBotcan from "./Business/ReviewBotcan.vue";
import ReviewDitdav from "./Business/ReviewDitdav.vue"; import ReviewDitdav from "./Business/ReviewDitdav.vue";
import ReviewDitdla from "./Business/ReviewDitdla.vue"; import ReviewDitdla from "./Business/ReviewDitdla.vue";
import ReviewBdtcan from "./Business/ReviewBdtcan.vue"; import ReviewBdtcan from "./Business/ReviewBdtcan.vue";
import ReviewBftacc from "./Business/ReviewBftacc.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -121,6 +122,7 @@ const ReviewRouter = [ ...@@ -121,6 +122,7 @@ const ReviewRouter = [
{ path: "ditdav", component: ReviewDitdav, name: "ReviewDitdav", meta: { title: "复核-Ditdav" } }, { path: "ditdav", component: ReviewDitdav, name: "ReviewDitdav", meta: { title: "复核-Ditdav" } },
{ path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } }, { path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } },
{ path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } }, { path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } },
{ path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } },
]; ];
......
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