Commit 43ad546b by liushikai

ditopn布局优化

parent 8d58dd16
...@@ -36,8 +36,8 @@ export default { ...@@ -36,8 +36,8 @@ export default {
margin-left: 10px; margin-left: 10px;
} }
.el-form-item--small{ /* .el-form-item--small{
margin-right: 30px; margin-right: 30px;
} } */
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<c-tabs ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000008 --> <!--PD000008 -->
<el-tab-pane label="国内证单据查询" name="infsea"> <el-tab-pane label="国内证单据查询" name="infsea">
...@@ -27,12 +27,13 @@ export default { ...@@ -27,12 +27,13 @@ export default {
}, },
provide() { provide() {
return { return {
root: this root: this,
} }
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal:"infsea",
model:new Bddsel().data, model:new Bddsel().data,
// defaultRule:Default, // defaultRule:Default,
// rules:this.mergeRules(Pattern,Check), // rules:this.mergeRules(Pattern,Check),
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
<c-col :span="6"> <c-col :span="6">
<div class="button_contains"> <div class="button_contains">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button size="small" type="primary" icon="el-icon-search" @click="onSeainf"
>i</c-button ></c-button
> >
<c-button <c-button
size="small" size="small"
......
...@@ -22,7 +22,7 @@ import Infusr from "./Infusr" ...@@ -22,7 +22,7 @@ import Infusr from "./Infusr"
import Infcpd from "./Infcpd" import Infcpd from "./Infcpd"
import Bctacc from "./Bctacc" import Bctacc from "./Bctacc"
import Infcur from "./Infcur" import Infcur from "./Infcur"
import Infdet from "./Infdet" // import Infdet from "./Infdet"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
...@@ -54,6 +54,6 @@ const BusRouter = [ ...@@ -54,6 +54,6 @@ const BusRouter = [
{ path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: { title: '汇款查询' } }, { path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: { title: '汇款查询' } },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } }, { path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } },
{ path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } }, { path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } },
{ path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } }, // { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="8"> <c-col :span="11">
<el-form-item label="业务编号"> <c-col :span="18">
<el-form-item label="业务编号" style="width:100%">
<c-input <c-input
v-model="model.cpdgrp.rec.ownref" v-model="model.cpdgrp.rec.ownref"
maxlength="16" maxlength="16"
...@@ -11,11 +12,18 @@ ...@@ -11,11 +12,18 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2">
<el-form-item label="" label-width="5px">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</el-form-item>
</c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="5px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -26,8 +34,9 @@ ...@@ -26,8 +34,9 @@
</c-button> </c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="Name"> <el-form-item label="Name">
<c-input <c-input
v-model="model.cpdgrp.rec.nam" v-model="model.cpdgrp.rec.nam"
...@@ -38,10 +47,11 @@ ...@@ -38,10 +47,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<!-- ========================左边======================= --> <!-- ========================左边======================= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="18"> <c-col :span="18">
<el-form-item label="清算编号"> <el-form-item label="清算编号" style="width:100%">
<c-input <c-input
v-model="model.cpdgrp.rec.sysno" v-model="model.cpdgrp.rec.sysno"
maxlength="21" maxlength="21"
...@@ -137,8 +147,8 @@ ...@@ -137,8 +147,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="12">
<el-form-item label=""> <el-form-item label="" style="width:100%">
<c-input <c-input
v-model="model.cpdgrp.ori.pts.extkey" v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16" maxlength="16"
...@@ -146,13 +156,20 @@ ...@@ -146,13 +156,20 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button size="small" type="primary" @click="onOripDet"> <c-button size="small" type="primary" @click="onOripDet">
Details 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -197,9 +214,12 @@ ...@@ -197,9 +214,12 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button
>i</c-button size="small"
> type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
<c-button size="small" type="primary" @click="onOrcpDet"> <c-button size="small" type="primary" @click="onOrcpDet">
Details Details
</c-button> </c-button>
...@@ -350,9 +370,12 @@ ...@@ -350,9 +370,12 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button
>i</c-button size="small"
> type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
<c-button size="small" type="primary" @click="onSndpDet"> <c-button size="small" type="primary" @click="onSndpDet">
Details Details
</c-button> </c-button>
...@@ -453,7 +476,11 @@ ...@@ -453,7 +476,11 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
>i</c-button >i</c-button
> >
<c-button size="small" type="primary" @click="onPyepDet"> <c-button size="small" type="primary" @click="onPyepDet">
...@@ -479,6 +506,7 @@ ...@@ -479,6 +506,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender"> <el-form-item label="Drag Drop Sender">
...@@ -1126,7 +1154,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -1126,7 +1154,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event"; import Event from "~/model/Cptadv/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
......
...@@ -161,8 +161,8 @@ ...@@ -161,8 +161,8 @@
</c-col> </c-col>
<c-col :span="7" > <c-col :span="7" >
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button size="small" type="primary" icon="el-icon-search" @click="onSeainf"
>i</c-button ></c-button
> >
<c-button size="small" type="primary" @click="onFippDet"> <c-button size="small" type="primary" @click="onFippDet">
Details Details
......
...@@ -33,11 +33,12 @@ ...@@ -33,11 +33,12 @@
--> -->
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="12"> <c-col :span="11">
<c-col :span="16"> <c-col :span="18">
<el-form-item <el-form-item
label="国内信用证项下开证授信额度:" label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey" prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width:100%"
> >
<c-input <c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey" v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
...@@ -48,21 +49,25 @@ ...@@ -48,21 +49,25 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
<el-form-item label="" label-width="20px"> <el-form-item label="" label-width="5px">
<c-button <c-button
size="small" size="small"
type="primary;width:10%" type="primary"
icon="el-icon-search"
@click="onSeainf" @click="onSeainf"
>i</c-button ></c-button
> >
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="5px">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel" @click="onPreperButtxmsel"
> >
Details 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -102,7 +107,7 @@ ...@@ -102,7 +107,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label=""> <el-form-item label="" label-width="10px">
<c-button size="small" type="primary" @click="onLimptsGet1"> <c-button size="small" type="primary" @click="onLimptsGet1">
查询 查询
</c-button> </c-button>
...@@ -126,7 +131,7 @@ ...@@ -126,7 +131,7 @@
</c-col> </c-col>
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref"> <el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input <c-input
......
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