Commit 043c6175 by lianyang

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 9399d82b 35ddfd19
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......@@ -18,57 +17,64 @@
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000033 -->
<el-tab-pane label="承兑" name="accp">
<m-accp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<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
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000033 -->
<el-tab-pane label="承兑" name="accp">
<m-accp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<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>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftacc from "~/model/Bftacc"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bftacc from "~/model/Bftacc";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check"
import Default from "~/model/Bftacc/Default"
import Pattern from "~/model/Bftacc/Pattern"
import Accp from "./Accp"
import Check from "~/model/Bftacc/Check";
import Default from "~/model/Bftacc/Default";
import Pattern from "~/model/Bftacc/Pattern";
import Accp from "./Accp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
......@@ -76,60 +82,58 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Bftacc",
components:{
"m-accp" : Accp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "accp",
trnName: "bftacc",
model: new Bftacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
name: "Bftacc",
components: {
"m-accp": Accp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "accp",
trnName: "bftacc",
model: new Bftacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bftacc交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入bftacc交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
......@@ -441,6 +444,13 @@
class="medium_bcs"
size="medium"
type="primary"
@click="toGitpop"
>进口保函预开立</c-button
>
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
......@@ -522,30 +532,30 @@
</c-col>
</el-row>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<!-- <c-col :span="12">
<el-form-item label="Own Reference" prop="infcon.seaownref">
......@@ -803,23 +813,23 @@ export default {
},
methods: {
...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" +ownref);
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......@@ -836,6 +846,9 @@ export default {
closeTrn(refId) {
this.$refs[refId].doClose();
},
toGitpop() {
this.$router.history.push("/business/gitpop");
},
toGitopn() {
this.$router.history.push("/business/gitopn");
},
......
<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";
import ReviewDitdav from "./Business/ReviewDitdav.vue";
import ReviewDitdla from "./Business/ReviewDitdla.vue";
import ReviewBdtcan from "./Business/ReviewBdtcan.vue";
import ReviewBftacc from "./Business/ReviewBftacc.vue";
const ReviewRouter = [
......@@ -121,6 +122,7 @@ const ReviewRouter = [
{ path: "ditdav", component: ReviewDitdav, name: "ReviewDitdav", meta: { title: "复核-Ditdav" } },
{ path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } },
{ 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