Commit 3aa0c207 by nanrui

infgcd,infled,infgid UI改造优化以及input输入框文本内边距调整。

parent f514420a
...@@ -633,3 +633,9 @@ margin-left: 120px; ...@@ -633,3 +633,9 @@ margin-left: 120px;
.el-table__row .el-form-item__content .el-form-item__error { .el-table__row .el-form-item__content .el-form-item__error {
position: unset !important; position: unset !important;
} }
.el-input--small .el-input__inner{
padding-left: 10px;
}
.el-input--prefix .el-input__inner{
padding-left: 30px;
}
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="left" label-width="110px" <el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right" label-width="110px"
size="small"> size="small">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
...@@ -290,5 +290,7 @@ export default { ...@@ -290,5 +290,7 @@ export default {
}; };
</script> </script>
<style> <style>
.m-table-search {
padding: 20px 0px 10px 0px;
}
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :validate-on-rule-change="false">
<c-content> <c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" /> <m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content> </c-content>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
...@@ -24,8 +21,8 @@ import Infsea from "./Infsea" ...@@ -24,8 +21,8 @@ import Infsea from "./Infsea"
export default { export default {
name: "Infgcd", name: "Infgcd",
components:{ components: {
"m-infsea" : Infsea, "m-infsea": Infsea,
}, },
provide() { provide() {
return { return {
...@@ -33,7 +30,7 @@ export default { ...@@ -33,7 +30,7 @@ export default {
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "",
trnName: "infgcd", trnName: "infgcd",
...@@ -47,26 +44,24 @@ export default { ...@@ -47,26 +44,24 @@ export default {
}, },
} }
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created:async function(){ created: async function () {
console.log("进入infgcd交易"); console.log("进入infgcd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-list-search <c-list-search
@form-reset="handleReset" @form-reset="handleReset"
@form-search="handleSearch" @form-search="handleSearch"
......
<template> <template>
<c-page title="保函入口交易">
<div class="eContainer-search"> <div class="eContainer-search">
<el-form <el-form
:model="model" :model="model"
...@@ -10,14 +9,11 @@ ...@@ -10,14 +9,11 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-content>
<!-- <c-content :height="180"> -->
<m-infsea :model="model" :codes="codes" ref="infsea" /> <m-infsea :model="model" :codes="codes" ref="infsea" />
<!-- </c-content> --> </c-content>
</c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-list-search <c-list-search
@form-reset="handleReset('paramsForm')" @form-reset="handleReset('paramsForm')"
@form-search="handleSearch" @form-search="handleSearch"
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
class="m-table-search-form" class="m-table-search-form"
ref="paramsForm" ref="paramsForm"
:inline="true" :inline="true"
label-position="left" label-position="right"
label-width="110px" label-width="110px"
size="small" size="small"
:model="model" :model="model"
......
<template> <template>
<c-page title="出口信用证查询"> <div class="eContainer-search">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="120px" label-width="120px"
label-position="left" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 Selection -->
<el-tab-pane label="出口信用证查询" name="infsea">
<c-content> <c-content>
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
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