Commit 733ce271 by huangxin

botrad的UI改造

parent 41da6ca1
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<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 Utils from "~/utils";
import Event from "~/model/Litcan/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="botrad1">
<m-botrad1 ref="setp" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="参与方" name="ptyp">
<m-ptyp :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/Getset/Event";
import Botrad1 from "./Botrad"
import Ptyp from "./Ptyp"
export default {
components: {
"m-botrad1": Botrad1,
"m-ptyp": Ptyp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["botrad1"],
};
},
methods: {
...Event,
},
created: function () {},
computed: {
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template> <template>
<c-page title="出口托收二次寄单"> <c-page title="出口托收二次寄单">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<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>
<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" <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right"
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan">
<c-content>
<div class="eibs-tab">
<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>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000015 --> <!--PD000015 -->
<el-tab-pane label="概要" name="botrad1"> <!-- <el-tab-pane label="概要" name="botrad1">
<m-botrad1 :model="model" :codes="codes" /> <m-botrad1 :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000266 --> <!--PD000266 -->
<el-tab-pane label="参与方" name="ptyp"> <!-- <el-tab-pane label="参与方" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!-- PD000207 <!-- PD000207
<el-tab-pane label="PD000207" name="frmloapan"> <el-tab-pane label="PD000207" name="frmloapan">
<m-frmloapan :model="model" :codes="codes"/> <m-frmloapan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<el-tab-pane label="表外记账" name="engp"> <!-- <el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="结算" name="setpan"> <!-- <el-tab-pane label="结算" name="setpan">
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp"> <!-- <el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文和面函" name="docpan"> <!-- <el-tab-pane label="报文和面函" name="docpan">
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <!-- <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</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>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -68,6 +106,8 @@ import Default from "~/model/Botrad/Default" ...@@ -68,6 +106,8 @@ import Default from "~/model/Botrad/Default"
import Botrad1 from "./Botrad" import Botrad1 from "./Botrad"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
import Addbcb from "./Addbcb";
import Ovwp from "./Ovwp"
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
...@@ -81,6 +121,8 @@ import Doctre from "~/views/Public/Doctre" ...@@ -81,6 +121,8 @@ import Doctre from "~/views/Public/Doctre"
export default { export default {
name: "Botrad", name: "Botrad",
components: { components: {
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
"m-botrad1": Botrad1, "m-botrad1": Botrad1,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
"m-setpan": Setpan, "m-setpan": Setpan,
...@@ -97,7 +139,7 @@ export default { ...@@ -97,7 +139,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "botrad1", tabVal: "ovwp",
trnName: "botrad", trnName: "botrad",
model: new Botrad().data, model: new Botrad().data,
checkRules: Check, checkRules: Check,
...@@ -107,6 +149,7 @@ export default { ...@@ -107,6 +149,7 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: ["engp"],
} }
}, },
methods: { methods: {
......
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