Commit c0e55e12 by Wuyuqiu

ui美化

parent 746efd46
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form
<!-- <c-bus-button :$pntvm="this"></c-bus-button> 按钮 --> :model="model"
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> :rules="rules"
<el-button size="small">备忘录</el-button> ref="modelForm"
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button> label-width="150px"
<!-- <el-button size="small">保存模板</el-button> --> label-position="right"
<!-- <el-button size="small">使用模板</el-button> --> size="small"
<el-button size="small">制裁信息</el-button> :validate-on-rule-change="false"
<!-- <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000032 --> <!--PD000032 -->
<el-tab-pane label="承兑信息" name="payp"> <el-tab-pane label="承兑信息" name="payp">
...@@ -26,13 +18,21 @@ ...@@ -26,13 +18,21 @@
</el-tab-pane> </el-tab-pane>
<!--PD000062 --> <!--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> <c-content>
<m-docpre :model="model" :codes="codes" /> <m-docpre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </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> <c-content>
<m-shpdet :model="model" :codes="codes" /> <m-shpdet :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -40,21 +40,33 @@ ...@@ -40,21 +40,33 @@
<!-- ======新增隐藏面板====== --> <!-- ======新增隐藏面板====== -->
<!--PD000139 --> <!--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> <c-content>
<m-mt750p :model="model" :codes="codes" /> <m-mt750p :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000147 --> <!--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> <c-content>
<m-mt754p :model="model" :codes="codes" /> <m-mt754p :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000213 --> <!--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> <c-content>
<m-othadvtypp :model="model" :codes="codes" /> <m-othadvtypp :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -131,20 +143,46 @@ ...@@ -131,20 +143,46 @@
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--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> <c-content>
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- bd工具编不了,需手动写页面dclpp --> <!-- bd工具编不了,需手动写页面dclpp -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp" v-if="model.cfabrt.cfaflg==1"> <el-tab-pane
label="外债远期信用证(含即期单证相符)-变动信息"
name="dclpp"
v-if="model.cfabrt.cfaflg == 1"
>
<c-content> <c-content>
<m-dclpp :model="model" :codes="codes"/> <m-dclpp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </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 <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
...@@ -185,8 +223,8 @@ import Shpdet from "./Shpdet"; ...@@ -185,8 +223,8 @@ import Shpdet from "./Shpdet";
import Cfap from "./Cfap"; import Cfap from "./Cfap";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
// import Limitbody from "./Limitbody"; // import Limitbody from "./Limitbody";
import Conp from "./Conp" import Conp from "./Conp";
import Dclpp from "./Dclpp" import Dclpp from "./Dclpp";
//公共面板导入 //公共面板导入
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
...@@ -204,9 +242,9 @@ export default { ...@@ -204,9 +242,9 @@ export default {
"m-shpdet": Shpdet, "m-shpdet": Shpdet,
"m-payp": Payp, "m-payp": Payp,
"m-docpre": Docpre, "m-docpre": Docpre,
"m-mt750p" : Mt750p, "m-mt750p": Mt750p,
"m-mt754p" : Mt754p, "m-mt754p": Mt754p,
"m-othadvtypp" : Othadvtypp, "m-othadvtypp": Othadvtypp,
"m-conp": Conp, "m-conp": Conp,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
...@@ -216,9 +254,9 @@ export default { ...@@ -216,9 +254,9 @@ export default {
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-cfap": Cfap, "m-cfap": Cfap,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-dclpp" : Dclpp, "m-dclpp": Dclpp,
}, },
provide() { provide() {
return { return {
...@@ -236,11 +274,11 @@ export default { ...@@ -236,11 +274,11 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable//...即返回到views同级,关联码表 ...CodeTable, //...即返回到views同级,关联码表
}, },
}; };
}, },
methods:{ methods: {
myTabClick(tab) { myTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
let name = tab.name; let name = tab.name;
...@@ -258,7 +296,6 @@ export default { ...@@ -258,7 +296,6 @@ export default {
} }
}); });
} }
}, },
}, },
created: async function () { created: async function () {
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -168,6 +162,12 @@ ...@@ -168,6 +162,12 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
......
<template> <template>
<div class="eContainer"> <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"> <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -60,6 +54,12 @@ ...@@ -60,6 +54,12 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col :span="20"> <c-col :span="20">
<c-col :span="10"> <c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur"> <el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd"> <el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
......
<template> <template>
<div class="eibs"> <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="lidgrp.rec.avbwth"> <el-form-item label="授权兑付行" prop="lidgrp.rec.avbwth">
<c-select <c-select
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
</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="lidgrp.rec.prepers18"> <el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input <c-input
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod"> <el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc"> <el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!--===============左 =================== --> <!--===============左 =================== -->
<el-col :span="11"> <el-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylib.spk"> <el-form-item label="业务主键" prop="cnybop.cnylib.spk">
<c-input <c-input
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</el-col> </el-col>
<!-- ===============右 ===========================--> <!-- ===============右 ===========================-->
<el-col :span="11" :offset="1"> <el-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano"> <el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano">
<c-input <c-input
......
<template> <template>
<div class="eibs"> <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="lidgrp.ini.pts.ref"> <el-form-item label="申请人开户行参考号" prop="lidgrp.ini.pts.ref">
<c-input <c-input
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
--> -->
</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="lidgrp.a2b.pts.ref"> <el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
<c-input <c-input
......
<template> <template>
<c-page title="进口信用证开立"> <c-page title="进口信用证开立">
<div class="eContainer"> <div class="eContainer">
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -85,7 +84,20 @@ ...@@ -85,7 +84,20 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <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> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -125,7 +137,6 @@ ...@@ -125,7 +137,6 @@
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000002 --> <!--PD000002 -->
...@@ -155,7 +166,6 @@ ...@@ -155,7 +166,6 @@
<c-content> <c-content>
<m-spcrcvp :model="model" :codes="codes" /> <m-spcrcvp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000347 --> <!--PD000347 -->
...@@ -174,8 +184,6 @@ ...@@ -174,8 +184,6 @@
<m-namp :model="model" :codes="codes"/> <m-namp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD001033 --> <!--PD001033 -->
<!-- <!--
<el-tab-pane label="Diary Selection" name="diaselp"> <el-tab-pane label="Diary Selection" name="diaselp">
...@@ -261,7 +269,7 @@ import Setpan from "~/views/Public/Setpan"; ...@@ -261,7 +269,7 @@ import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Doxp from '~/views/Public/Doxp' import Doxp from "~/views/Public/Doxp";
export default { export default {
name: "Litopn", name: "Litopn",
...@@ -273,7 +281,7 @@ export default { ...@@ -273,7 +281,7 @@ export default {
"m-dogp": Dogp, "m-dogp": Dogp,
"m-dorp": Dorp, "m-dorp": Dorp,
"m-adcp": Adcp, "m-adcp": Adcp,
'm-doxp': Doxp, "m-doxp": Doxp,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan": Setpan, "m-setpan": Setpan,
...@@ -308,6 +316,7 @@ export default { ...@@ -308,6 +316,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp"],
}; };
}, },
methods: { methods: {
......
...@@ -333,7 +333,7 @@ export default { ...@@ -333,7 +333,7 @@ export default {
width: auto; width: auto;
position: absolute; position: absolute;
right: 20px; right: 20px;
top: 10px; top: 5px;
left: 60px; left: 60px;
} }
...@@ -352,7 +352,7 @@ export default { ...@@ -352,7 +352,7 @@ export default {
width: auto; width: auto;
position: absolute; position: absolute;
right: 20px; right: 20px;
top: 10px; top: 5px;
left: 60px; left: 60px;
} }
......
...@@ -124,6 +124,6 @@ export default { ...@@ -124,6 +124,6 @@ export default {
</script> </script>
<style> <style>
.BlkTextarea_button { .BlkTextarea_button {
margin: 20px 0 0 0px; margin: 0px 0 0 0px;
} }
</style> </style>
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
<!-- <c-col :span="24" style="margin-bottom:18px"> <!-- <c-col :span="24" style="margin-bottom:18px">
Liability Liability
</c-col> --> </c-col> -->
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="表外记账" name="engp">
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-table <c-table
:list="model.liaall.liaallg" :list="model.liaall.liaallg"
...@@ -204,16 +202,6 @@ ...@@ -204,16 +202,6 @@
<c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input> <c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item> </el-form-item>
</c-col> --> </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> </div>
</template> </template>
<script> <script>
...@@ -238,7 +226,6 @@ export default { ...@@ -238,7 +226,6 @@ export default {
dialogVisible: false, dialogVisible: false,
dialog: {}, dialog: {},
index: 0, index: 0,
activeNames: ["engp"],
}; };
}, },
methods: { methods: {
...@@ -264,9 +251,6 @@ export default { ...@@ -264,9 +251,6 @@ export default {
that.dialog = row; that.dialog = row;
}); });
}, },
handleChange(val) {
console.log(val);
},
}, },
created: function () {}, 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