Commit e01d2e49 by 杨北旺

修改样式

1 parent afc5544e
...@@ -38,7 +38,8 @@ export default { ...@@ -38,7 +38,8 @@ export default {
}, },
blurFn(e){ blurFn(e){
let value = e.target.value let value = e.target.value
if(this.minVal && +this.minVal>=value) value = this.minVal if(this.minVal && +this.minVal>=value) value = this.minVal+''
if(value && value.charAt(value.length-1)=='.') value = value.substr(0 ,value.length-1)
this.$emit('input', value) this.$emit('input', value)
} }
} }
......
...@@ -131,7 +131,8 @@ ...@@ -131,7 +131,8 @@
</div> </div>
<div class="arrt_pannel"> <div class="arrt_pannel">
<template v-if="attr.attributeType == 'input'"> <template v-if="attr.attributeType == 'input'">
<el-input class="arrt_pannel" :disabled="disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)" @input="getCurChangeInput($event, item, attr, index, attrindex, 2)" v-model="productModal[item.idName][attr.attributeName]" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc"></el-input> <FormatInput v-if="limitAttrName.includes(attr.attributeName)" class="arrt_pannel" :disabled="disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)" @input="getCurChangeInput($event, item, attr, index, attrindex, 2)" v-model="productModal[item.idName][attr.attributeName]" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc" precise="2" intDigit="10"></FormatInput>
<el-input v-else class="arrt_pannel" :disabled="disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)" @input="getCurChangeInput($event, item, attr, index, attrindex, 2)" v-model="productModal[item.idName][attr.attributeName]" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc"></el-input>
</template> </template>
<template v-if="attr.attributeType == 'select'"> <template v-if="attr.attributeType == 'select'">
<el-select :allow-create="attr.attributeName == 'gearbox'" :remote="attr.attributeName == 'gearbox'" :filterable="attr.attributeName == 'gearbox'" class="arrt_pannel" :disabled="disabled || attr.disabled" size="small" @change="getCurChangeSelect($event, item, attr)" v-model="productModal[item.idName][attr.attributeName]" clearable :placeholder="'请选择' + attr.attributeDesc"> <el-select :allow-create="attr.attributeName == 'gearbox'" :remote="attr.attributeName == 'gearbox'" :filterable="attr.attributeName == 'gearbox'" class="arrt_pannel" :disabled="disabled || attr.disabled" size="small" @change="getCurChangeSelect($event, item, attr)" v-model="productModal[item.idName][attr.attributeName]" clearable :placeholder="'请选择' + attr.attributeDesc">
...@@ -189,6 +190,7 @@ import qrCode from '@/components/qr-code' ...@@ -189,6 +190,7 @@ import qrCode from '@/components/qr-code'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import utils from '../../util/util' import utils from '../../util/util'
import uploadInfo from './uploadInfo.vue' import uploadInfo from './uploadInfo.vue'
import FormatInput from '@/components/FormatInput'
export default { export default {
name: 'editEquity', name: 'editEquity',
data() { data() {
...@@ -716,7 +718,8 @@ export default { ...@@ -716,7 +718,8 @@ export default {
label: '营运', label: '营运',
value: '0' value: '0'
} }
] ],
limitAttrName:['warranty_km','vehicle_displacement','mileage','warranty_period']
} }
}, },
...@@ -741,7 +744,8 @@ export default { ...@@ -741,7 +744,8 @@ export default {
components: { components: {
glsxCombiForm, glsxCombiForm,
qrCode, qrCode,
uploadInfo uploadInfo,
FormatInput
}, },
async created() { async created() {
......
<!-- 权益订单列表 --> <!-- 权益订单列表 -->
<template> <template>
<div class="before-sale"> <div class="before-sale">
<div class="flex m-b-10"> <!-- <div class="flex m-b-10">
<el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新增权益</el-button> <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新增权益</el-button>
<!-- <GLButton :size="size" fn="新增权益" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增权益</GLButton> --> </div> -->
<!-- <div class="table-top-tips"><span class="el-icon-warning"></span>请注意:订单列表还有{{countNoData}}单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。</div> -->
</div>
<div class="container"> <div class="container">
<div class="find_wrap"> <div class="find_wrap">
<GLCombiForm :key="newKey" ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm :key="newKey" ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
...@@ -13,7 +11,14 @@ ...@@ -13,7 +11,14 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="table_wrapper"> <div class="table_wrapper">
<el-button plain style="float:right;margin-bottom:10px;" :size="size" @click="handleExport">导出</el-button> <div class="table_top_line flex_scb">
<span>订单列表</span>
<div class="table_top_btn flex_sc">
<el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新增权益</el-button>
<el-button plain size="small" @click="handleExport">导出</el-button>
</div>
</div>
<!-- <el-button plain style="float: right; margin-bottom: 10px" :size="size" @click="handleExport">导出</el-button> -->
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
...@@ -1070,6 +1075,12 @@ export default { ...@@ -1070,6 +1075,12 @@ export default {
// box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); // box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 0 20px 20px; padding: 0 20px 20px;
} }
.table_top_line {
margin-bottom: 10px;
}
.el-button + .el-button {
margin-left: 8px;
}
.before-sale .m-b-10 { .before-sale .m-b-10 {
margin-bottom: 10px; margin-bottom: 10px;
......
<!-- 权益订单 --> <!-- 权益订单 -->
<template> <template>
<div> <div>
<div class="header_btn_widget flex_sc"> <!-- <div class="header_btn_widget flex_sc">
<GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton> <GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton>
</div> </div> -->
<div class="header_info_widget"> <div class="header_info_widget">
<span class="el-icon-warning"></span> <span class="el-icon-warning"></span>
请注意:订单列表还有 请注意:订单列表还有
...@@ -16,7 +16,14 @@ ...@@ -16,7 +16,14 @@
<GLCombiForm :rowNumber="1" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn()"></GLCombiForm> <GLCombiForm :rowNumber="1" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn()"></GLCombiForm>
</div> </div>
<div class="table_widget"> <div class="table_widget">
<el-button plain style="float: right; margin-bottom: 10px" size="small" @click="exportList">导出</el-button> <div class="table_top_line flex_scb">
<span>核赔订单列表</span>
<div class="table_top_btn flex_sc">
<GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton>
<el-button plain size="small" @click="exportList">导出</el-button>
</div>
</div>
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf"> <GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf">
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton> <!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton>
...@@ -474,6 +481,12 @@ export default { ...@@ -474,6 +481,12 @@ export default {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
} }
.table_top_line {
margin-bottom: 10px;
}
.el-button + .el-button {
margin-left: 8px;
}
/deep/ .el-form { /deep/ .el-form {
.el-form-item { .el-form-item {
margin-right: 12px !important; margin-right: 12px !important;
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
inputType: 'textarea', inputType: 'textarea',
rows: 3, rows: 3,
isClear: true, isClear: true,
maxlength: 200 maxlength: 200,
} }
], ],
pageShow: false, pageShow: false,
...@@ -283,9 +283,7 @@ export default { ...@@ -283,9 +283,7 @@ export default {
}, },
toCheckOrder(operation, addQuery = {}) { toCheckOrder(operation, addQuery = {}) {
let claimsQuery = {} let claimsQuery = {}
if (operation != 20) { claimsQuery = this.handlerClaimsQueryForCheck()
claimsQuery = this.handlerClaimsQueryForCheck()
}
if (operation == 20) { if (operation == 20) {
const flag = this.verifyWarningImage() const flag = this.verifyWarningImage()
if (!flag) return if (!flag) return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!