Commit c0e55e12 by Wuyuqiu

ui美化

parent 746efd46
<template>
<div class="eContainer">
<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">
<!--PD000005 -->
<el-tab-pane label="单据结算" name="utlp">
<c-content>
<m-utlp ref="utlp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<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="150px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000005 -->
<el-tab-pane label="单据结算" name="utlp">
<c-content>
<m-utlp ref="utlp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="this.model.dftcre.dfflag==''">
<!--PD000027 -->
<!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="this.model.dftcre.dfflag==''">
<m-dftcrep :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="创建融资" name="trtcrep" v-if="model.trtcre.crefinflg != ''">
<c-content>
<m-trtcrep :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label="创建融资"
name="trtcrep"
v-if="model.trtcre.crefinflg != ''"
>
<c-content>
<m-trtcrep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="定价系统" name="dinpan" v-if="model.trtcre.trtmod.finmod.dinjdm != '' && model.trtcre.crefinflg !=''">
<c-content>
<m-dinpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane
label="定价系统"
name="dinpan"
v-if="
model.trtcre.trtmod.finmod.dinjdm != '' &&
model.trtcre.crefinflg != ''
"
>
<c-content>
<m-dinpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="会计分录" name="glepan">
<m-glepan :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>
<!--PD000008
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="会计分录" name="glepan">
<m-glepan :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>
<!--PD000008
<el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000002
<!--PD000002
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000009 -->
<el-tab-pane label="申报信息" name="sbxx">
<m-sbxx :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000009 -->
<el-tab-pane label="申报信息" name="sbxx">
<m-sbxx :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
label="对外付款/承兑通知书-基础信息"
name="basp"
v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'"
>
<m-basp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane
label="境内付款/承兑通知书-基础信息"
name="basp1"
v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'"
>
<m-basp1 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='2'">
<m-basp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000115 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000115 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane :label=this.det756Name name="det756" v-if="model.mtabut.clsflg !=''">
<c-content>
<m-det756 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
:label="this.det756Name"
name="det756"
v-if="model.mtabut.clsflg != ''"
>
<c-content>
<m-det756 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000131 -->
<el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.trnmod.cmtflg =='C'">
<c-content>
<m-det202cv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000131 -->
<el-tab-pane
:label="this.det202cvName"
name="det202cv"
v-if="model.trnmod.cmtflg == 'C'"
>
<c-content>
<m-det202cv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'" >
<el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg == '1'"
>
<m-outp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="CIPS" name="cips2" v-if="model.trnmod.cmtflg =='P'" >
<c-content>
<m-cips2 :model="model" :codes="codes" />
</c-content>
<el-tab-pane
label="CIPS"
name="cips2"
v-if="model.trnmod.cmtflg == 'P'"
>
<c-content>
<m-cips2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS要素" name="cips" v-if="model.trnmod.cmtflg =='P'" >
<el-tab-pane
label="CIPS要素"
name="cips"
v-if="model.trnmod.cmtflg == 'P'"
>
<m-cips :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtset from "~/model/Brtset"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brtset from "~/model/Brtset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtset/Check"
import Default from "~/model/Brtset/Default"
import Pattern from "~/model/Brtset/Pattern"
import Utlp from "./Utlp"
import Engp from "~/views/Public/Engp"
import Ccvpan from "~/views/Public/Ccvpan"
import Check from "~/model/Brtset/Check";
import Default from "~/model/Brtset/Default";
import Pattern from "~/model/Brtset/Pattern";
import Utlp from "./Utlp";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Wg from "./Wg"
import Cfactlp from "./Cfactlp"
import Cnyp from "./Cnyp"
import Shisuan from "./Shisuan"
import Namp from "./Namp"
import Basp from "./Basp"
import Basp1 from "./Basp1"
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Wg from "./Wg";
import Cfactlp from "./Cfactlp";
import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import Namp from "./Namp";
import Basp from "./Basp";
import Basp1 from "./Basp1";
// import Dftcrep from "./Dftcrep"
import Limitbody from "~/views/Public/Limitbody";
import Sbxx from "~/views/Public/Sbxx";
......@@ -202,107 +236,103 @@ import Cips2 from "./Cips2";
import Trtcrep from "./Trtcrep";
import Dinpan from "./Dinpan";
export default {
name: "Brtset",
components:{
"m-utlp" : Utlp,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-wg" : Wg,
"m-cfactlp" : Cfactlp,
"m-cnyp" : Cnyp,
"m-shisuan" : Shisuan,
"m-namp" : Namp,
"m-limitbody" : Limitbody,
"m-sbxx": Sbxx,
"m-basp": Basp,
"m-basp1": Basp1,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-outp": Outp,
"m-cips": Cips,
"m-cips2": Cips2,
"m-trtcrep":Trtcrep,
"m-dinpan":Dinpan,
name: "Brtset",
components: {
"m-utlp": Utlp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-wg": Wg,
"m-cfactlp": Cfactlp,
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-namp": Namp,
"m-limitbody": Limitbody,
"m-sbxx": Sbxx,
"m-basp": Basp,
"m-basp1": Basp1,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-outp": Outp,
"m-cips": Cips,
"m-cips2": Cips2,
"m-trtcrep": Trtcrep,
"m-dinpan": Dinpan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
det202cvName: "头寸调拨(MT202)",
det756Name: "通知付款(MT756)",
tabVal: "utlp",
trnName: "brtset",
model: new Brtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
provide() {
return {
root: this
}
},
watch: {
"model.setmod.doccur": {
immediate: true,
handler() {
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.brdgrp.rec.docprbrol;
this.det202cvName = "Payment 202 " + doc + " " + cur + " " + amt;
this.det756Name = "Payment 756 " + doc + " " + cur + " " + amt;
},
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){
return {
det202cvName:"头寸调拨(MT202)",
det756Name:"通知付款(MT756)" ,
tabVal: "utlp",
trnName: "brtset",
model: new Brtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
"model.mtabut.clsflg": {
immediate: true,
handler() {
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.brdgrp.rec.docprbrol;
this.det202cvName = "Payment 202 " + doc + " " + cur + " " + amt;
this.det756Name = "Payment 756 " + doc + " " + cur + " " + amt;
},
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.brdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+ doc +" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+ doc +" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.brdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+ doc +" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+ doc +" "+cur+" "+ amt;
}
},
},
created:async function(){
console.log("进入brtset交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
},
created: async function () {
console.log("进入brtset交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg = "X";
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> 按钮 -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<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="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<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">
<!--PD000032 -->
<el-tab-pane label="承兑信息" name="payp">
......@@ -26,35 +18,55 @@
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane v-if="model.brdgrp.rec.dscinsflg" label="不符点" name="docpre">
<el-tab-pane
v-if="model.brdgrp.rec.dscinsflg"
label="不符点"
name="docpre"
>
<c-content>
<m-docpre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.brdgrp.rec.dscinsflg" label="装运详情" name="shpdet">
<el-tab-pane
v-if="model.brdgrp.rec.dscinsflg"
label="装运详情"
name="shpdet"
>
<c-content>
<m-shpdet :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- ======新增隐藏面板====== -->
<!-- ======新增隐藏面板====== -->
<!--PD000139 -->
<el-tab-pane label="不符点通知" name="mt750p" v-if="model.brdgrp.rec.advtyp=='750'">
<el-tab-pane
label="不符点通知"
name="mt750p"
v-if="model.brdgrp.rec.advtyp == '750'"
>
<c-content>
<m-mt750p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="付款通知" name="mt754p" v-if="model.brdgrp.rec.advtyp=='754'">
<el-tab-pane
label="付款通知"
name="mt754p"
v-if="model.brdgrp.rec.advtyp == '754'"
>
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane label="通知详情" name="othadvtypp" v-if="model.brdgrp.rec.advtyp=='oth'">
<el-tab-pane
label="通知详情"
name="othadvtypp"
v-if="model.brdgrp.rec.advtyp == 'oth'"
>
<c-content>
<m-othadvtypp :model="model" :codes="codes" />
</c-content>
......@@ -116,7 +128,7 @@
</c-content>
</el-tab-pane>
<!--PD001139 新增隐藏面板-->
<!--PD001139 新增隐藏面板-->
<!-- <el-tab-pane label="PD001139" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
......@@ -131,26 +143,52 @@
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-签约信息" name="conp" v-if="model.cfabrt.cfaflg==1">
<el-tab-pane
label="外债远期信用证(含即期单证相符)-签约信息"
name="conp"
v-if="model.cfabrt.cfaflg == 1"
>
<c-content>
<m-conp :model="model" :codes="codes"/>
<m-conp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- bd工具编不了,需手动写页面dclpp -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp" v-if="model.cfabrt.cfaflg==1">
<!-- bd工具编不了,需手动写页面dclpp -->
<el-tab-pane
label="外债远期信用证(含即期单证相符)-变动信息"
name="dclpp"
v-if="model.cfabrt.cfaflg == 1"
>
<c-content>
<m-dclpp :model="model" :codes="codes"/>
<m-dclpp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> 按钮 -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
......@@ -185,8 +223,8 @@ import Shpdet from "./Shpdet";
import Cfap from "./Cfap";
import Shisuan from "./Shisuan";
// import Limitbody from "./Limitbody";
import Conp from "./Conp"
import Dclpp from "./Dclpp"
import Conp from "./Conp";
import Dclpp from "./Dclpp";
//公共面板导入
import Engp from "~/views/Public/Engp";
......@@ -204,9 +242,9 @@ export default {
"m-shpdet": Shpdet,
"m-payp": Payp,
"m-docpre": Docpre,
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
"m-mt750p": Mt750p,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
"m-conp": Conp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
......@@ -216,9 +254,9 @@ export default {
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cfap": Cfap,
"m-shisuan" : Shisuan,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-dclpp" : Dclpp,
"m-dclpp": Dclpp,
},
provide() {
return {
......@@ -236,12 +274,12 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable//...即返回到views同级,关联码表
...CodeTable, //...即返回到views同级,关联码表
},
};
},
methods:{
myTabClick(tab) {
methods: {
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
......@@ -258,9 +296,8 @@ export default {
}
});
}
},
},
},
created: async function () {
console.log("进入brtudp交易");
let rtnmsg = await this.init({});
......@@ -268,7 +305,7 @@ export default {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -168,6 +162,12 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
......
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</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">
......@@ -60,6 +54,12 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="20">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
......
<template>
<div class="eibs">
<!-- ========================左边======================== -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="授权兑付行" prop="lidgrp.rec.avbwth">
<c-select
......@@ -343,7 +343,7 @@
</c-col>
<!-- ========================右边======================== -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="20">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="20">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!--===============左 =================== -->
<el-col :span="11">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylib.spk">
<c-input
......@@ -143,7 +143,7 @@
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="11" :offset="1">
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano">
<c-input
......
<template>
<div class="eibs">
<!-- ================= 左 ================== -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申请人开户行参考号" prop="lidgrp.ini.pts.ref">
<c-input
......@@ -258,7 +258,7 @@
-->
</c-col>
<!-- ================右 ==================== -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
<c-input
......
<template>
<c-page title="进口信用证开立">
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
......@@ -85,7 +84,20 @@
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<m-engp :model="model" :codes="codes" />
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</c-content>
</el-tab-pane>
......@@ -114,7 +126,7 @@
</el-tab-pane> -->
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
......@@ -125,7 +137,6 @@
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000002 -->
......@@ -153,9 +164,8 @@
name="spcrcvp"
>
<c-content>
<m-spcrcvp :model="model" :codes="codes" />
<m-spcrcvp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000347 -->
......@@ -164,7 +174,7 @@
label="存在受益人的特殊付款条件"
name="spcbenp"
>
<c-content>
<c-content>
<m-spcbenp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -174,8 +184,6 @@
<m-namp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD001033 -->
<!--
<el-tab-pane label="Diary Selection" name="diaselp">
......@@ -261,7 +269,7 @@ import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Doxp from '~/views/Public/Doxp'
import Doxp from "~/views/Public/Doxp";
export default {
name: "Litopn",
......@@ -273,7 +281,7 @@ export default {
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
'm-doxp': Doxp,
"m-doxp": Doxp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
......@@ -308,6 +316,7 @@ export default {
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["engp"],
};
},
methods: {
......
......@@ -333,7 +333,7 @@ export default {
width: auto;
position: absolute;
right: 20px;
top: 10px;
top: 5px;
left: 60px;
}
......@@ -352,7 +352,7 @@ export default {
width: auto;
position: absolute;
right: 20px;
top: 10px;
top: 5px;
left: 60px;
}
......
......@@ -124,6 +124,6 @@ export default {
</script>
<style>
.BlkTextarea_button {
margin: 20px 0 0 0px;
margin: 0px 0 0 0px;
}
</style>
......@@ -3,8 +3,6 @@
<!-- <c-col :span="24" style="margin-bottom:18px">
Liability
</c-col> -->
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="表外记账" name="engp">
<c-col :span="24" style="">
<c-table
:list="model.liaall.liaallg"
......@@ -204,16 +202,6 @@
<c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col> -->
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
......@@ -238,7 +226,6 @@ export default {
dialogVisible: false,
dialog: {},
index: 0,
activeNames: ["engp"],
};
},
methods: {
......@@ -264,9 +251,6 @@ export default {
that.dialog = row;
});
},
handleChange(val) {
console.log(val);
},
},
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