Commit 3aa0c207 by nanrui

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

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