Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e01d2e49
authored
Sep 12, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
afc5544e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
16 deletions
src/components/FormatInput/index.vue
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/components/FormatInput/index.vue
View file @
e01d2e4
...
...
@@ -38,7 +38,8 @@ export default {
},
blurFn
(
e
){
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
)
}
}
...
...
src/views/beforeSale/editEquity.vue
View file @
e01d2e4
...
...
@@ -131,7 +131,8 @@
</div>
<div
class=
"arrt_pannel"
>
<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
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"
>
...
...
@@ -189,6 +190,7 @@ import qrCode from '@/components/qr-code'
import
{
fetchConfig
}
from
'@/config'
import
utils
from
'../../util/util'
import
uploadInfo
from
'./uploadInfo.vue'
import
FormatInput
from
'@/components/FormatInput'
export
default
{
name
:
'editEquity'
,
data
()
{
...
...
@@ -716,7 +718,8 @@ export default {
label
:
'营运'
,
value
:
'0'
}
]
],
limitAttrName
:[
'warranty_km'
,
'vehicle_displacement'
,
'mileage'
,
'warranty_period'
]
}
},
...
...
@@ -741,7 +744,8 @@ export default {
components
:
{
glsxCombiForm
,
qrCode
,
uploadInfo
uploadInfo
,
FormatInput
},
async
created
()
{
...
...
src/views/beforeSale/equityList.vue
View file @
e01d2e4
<!-- 权益订单列表 -->
<
template
>
<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>
<!--
<GLButton
:size=
"size"
fn=
"新增权益"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增权益
</GLButton>
-->
<!--
<div
class=
"table-top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
-->
</div>
</div>
-->
<div
class=
"container"
>
<div
class=
"find_wrap"
>
<GLCombiForm
:key=
"newKey"
ref=
"showSearch"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
...
...
@@ -13,7 +11,14 @@
<!-- 表格区域 开始 -->
<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"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
...
...
@@ -1070,6 +1075,12 @@ export default {
//
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
0
20px
20px
;
}
.table_top_line
{
margin-bottom
:
10px
;
}
.el-button
+
.el-button
{
margin-left
:
8px
;
}
.before-sale
.m-b-10
{
margin-bottom
:
10px
;
...
...
src/views/claims/index.vue
View file @
e01d2e4
<!-- 权益订单 -->
<
template
>
<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>
</div>
</div>
-->
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
...
...
@@ -16,7 +16,14 @@
<GLCombiForm
:rowNumber=
"1"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOkFn"
@
handleRest=
"handleRestFn()"
></GLCombiForm>
</div>
<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"
>
<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>
...
...
@@ -474,6 +481,12 @@ export default {
background
:
#ffffff
;
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
{
.el-form-item
{
margin-right
:
12px
!important
;
...
...
src/views/claims/order.vue
View file @
e01d2e4
...
...
@@ -149,7 +149,7 @@ export default {
inputType
:
'textarea'
,
rows
:
3
,
isClear
:
true
,
maxlength
:
200
maxlength
:
200
,
}
],
pageShow
:
false
,
...
...
@@ -283,9 +283,7 @@ export default {
},
toCheckOrder
(
operation
,
addQuery
=
{})
{
let
claimsQuery
=
{}
if
(
operation
!=
20
)
{
claimsQuery
=
this
.
handlerClaimsQueryForCheck
()
}
claimsQuery
=
this
.
handlerClaimsQueryForCheck
()
if
(
operation
==
20
)
{
const
flag
=
this
.
verifyWarningImage
()
if
(
!
flag
)
return
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment