Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 bb2bb88b
authored
Aug 23, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui改版
1 parent
31cbbf0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
117 additions
and
54 deletions
src/assets/css/public.scss
src/views/expert/detail.vue
src/views/ghPreSale/editEquity.vue
src/views/ghPreSale/writeOff/addwriteOff.vue
src/views/ghPreSale/writeOff/writeOffList.vue
src/assets/css/public.scss
View file @
bb2bb88
...
...
@@ -267,3 +267,16 @@
justify-content
:
center
;
margin-top
:
16px
;
}
.my-nav-tabs
{
position
:
fixed
;
top
:
200px
;
background-color
:
#fff
;
right
:
74px
;
.el-tabs__item
{
padding
:
0
6px
;
height
:
24px
;
line-height
:
24px
;
font-size
:
12px
;
}
}
src/views/expert/detail.vue
View file @
bb2bb88
...
...
@@ -6,7 +6,7 @@
<span
class=
"tip"
>
该配置页面用于配置「精品升级」小程序质保卡客户拉新,配置订单类型后,客户扫码质保卡活码即可添加员工企微号。
</span>
</div>
<div
class=
"detail-wrap"
>
<glsx-combi-form
class=
"form"
ref=
"form"
:formRules=
"basicRule"
labelWidth=
"154px"
defaultWidth=
"4
74
px"
:formObj=
"basicForm"
:formData=
"basicFormData"
>
<glsx-combi-form
class=
"form"
ref=
"form"
:formRules=
"basicRule"
labelWidth=
"154px"
defaultWidth=
"4
32
px"
:formObj=
"basicForm"
:formData=
"basicFormData"
>
<div
slot=
"staffSlot"
>
<span
v-if=
"selectPerson.staffName"
class=
"tag-info"
>
<i
class=
"el-icon-user-solid person"
></i>
...
...
@@ -36,12 +36,11 @@
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
></SelectMember>
</glsx-dialog>
</div>
<div
class=
"operate-btn flex_cc"
>
<div
class=
"operate-btn flex_cc"
>
<el-button
style=
"background-color:transparent"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -174,8 +173,7 @@ export default {
deep
:
true
}
},
created
()
{
},
created
()
{},
mounted
()
{
const
urlParam
=
this
.
$route
.
params
this
.
routeInfo
=
JSON
.
parse
(
urlParam
.
id
)
...
...
@@ -316,10 +314,10 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
/
deep
/
.gl-dialog-wrap
.el-dialog__body
{
/
deep
/
.gl-dialog-wrap
.el-dialog__body
{
padding-top
:
0
;
}
.operate-btn
{
.operate-btn
{
margin-top
:
16px
;
}
.expert-detail
{
...
...
src/views/ghPreSale/editEquity.vue
View file @
bb2bb88
...
...
@@ -8,37 +8,37 @@
<p
class=
"service-hotline"
>
服务热线
</p>
<p
class=
"service-phone"
>
18938907441
</p>
</div>
-->
<div
class=
"container"
>
<div
class=
"container"
id=
"cardInfo"
>
<p
class=
"edit-title"
>
车辆信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefCar"
labelWidth=
"144px"
defaultWidth=
"320
px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(0, 7)"
:formRules=
"editRuleCar"
></glsx-combi-form>
<glsx-combi-form
ref=
"editFormRefBrand"
labelWidth=
"144px"
defaultWidth=
"215
px"
formRef=
"editChildRefBrand"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(7)"
:formRules=
"editRuleCar"
>
<glsx-combi-form
class=
"edit-form-container"
:isInline=
"false"
ref=
"editFormRefCar"
labelWidth=
"154px"
defaultWidth=
"432
px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(0, 7)"
:formRules=
"editRuleCar"
></glsx-combi-form>
<glsx-combi-form
ref=
"editFormRefBrand"
class=
"vehicleForm"
labelWidth=
"154px"
defaultWidth=
"432
px"
formRef=
"editChildRefBrand"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(7)"
:formRules=
"editRuleCar"
>
<template
slot=
"vehicleBrandId"
slot-scope=
"scope"
>
<el-select
v-model=
"editForm.vehicle.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicle.vehicleBrandId)"
style=
"width:1
44
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-select
v-model=
"editForm.vehicle.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicle.vehicleBrandId)"
style=
"width:1
36
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-option
v-for=
"item in baseData.carBrandOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
<
template
slot=
"vehicleSubBrandId"
slot-scope=
"scope"
>
<el-select
v-model=
"editForm.vehicle.vehicleSubBrandId"
placeholder=
"请选择子品牌"
filterable
@
change=
"getCarSeriesList()"
style=
"width:1
44
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-select
v-model=
"editForm.vehicle.vehicleSubBrandId"
placeholder=
"请选择子品牌"
filterable
@
change=
"getCarSeriesList()"
style=
"width:1
36
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-option
v-for=
"item in baseData.carChildOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
<
template
slot=
"vehicleSeriesId"
slot-scope=
"scope"
>
<el-select
v-model=
"editForm.vehicle.vehicleSeriesId"
filterable
placeholder=
"请选择车系"
@
change=
"getCarTypeList(editForm.vehicle.vehicleSeriesId)"
style=
"width:
215
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-select
v-model=
"editForm.vehicle.vehicleSeriesId"
filterable
placeholder=
"请选择车系"
@
change=
"getCarTypeList(editForm.vehicle.vehicleSeriesId)"
style=
"width:
136
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-option
v-for=
"item in baseData.carSeriesOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
<
template
slot=
"vehicleShapeId"
slot-scope=
"scope"
>
<el-select
v-model=
"editForm.vehicle.vehicleShapeId"
filterable
placeholder=
"请选择车型"
style=
"width:
215
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-select
v-model=
"editForm.vehicle.vehicleShapeId"
filterable
placeholder=
"请选择车型"
style=
"width:
136
px;"
:disabled=
"scope.scope.isDisabled"
>
<el-option
v-for=
"item in baseData.carTypeOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
</glsx-combi-form>
</div>
<div
class=
"container"
>
<div
class=
"container"
id=
"customerInfo"
>
<p
class=
"edit-title"
>
客户信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"144px"
defaultWidth=
"320
px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
<glsx-combi-form
:isInline=
"false"
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"154px"
defaultWidth=
"432
px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
</div>
<div
class=
"container select-product"
>
<div
class=
"container select-product"
id=
"productInfo"
>
<p
class=
"edit-title"
>
选择产品
</p>
<!-- <glsx-combi-form class="edit-form-container" ref="editFormRefPro" labelWidth="144px" formRef="editChildRefPro" :formObj="editForm" :formData="editFormDataPro" :formRules="editRulePro"> -->
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
...
...
@@ -49,7 +49,7 @@
<div
class=
"radio-add-block"
@
click
.
stop
.
prevent=
"e => handleCancelBubble(e)"
>
<p
class=
"package-subtitle"
>
{{
subItem
.
serviceItems
}}
</p>
<div
class=
"sub-el-form"
v-if=
"editForm.packageCode == subItem[scope.scope.optionId]"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"1
60px"
defaultWidth=
"320
px"
formRef=
"editChildRefPro"
:isBlock=
"isBlock"
:formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"1
54px"
defaultWidth=
"432
px"
formRef=
"editChildRefPro"
:isBlock=
"isBlock"
:formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<template
slot=
"table"
slot-scope=
"scope"
>
<table
style=
"marginLeft: 160px"
class=
"table-style"
>
<tbody>
...
...
@@ -76,19 +76,25 @@
</template>
</glsx-combi-form>
</div>
<div
class=
"container"
>
<div
class=
"container"
id=
"otherInfo"
>
<p
class=
"edit-title"
>
其他信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"144px"
defaultWidth=
"320
px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
<glsx-combi-form
:isInline=
"false"
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"154px"
defaultWidth=
"432
px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
</div>
</div>
<div
class=
"operate-btn flex_cc"
>
<el-button
class=
"reset-btn"
v-show=
"routeInfo.addOrEdit == '1'"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
v-show=
"!['3', '5'].includes(routeInfo.addOrEdit)"
class=
"plain"
@
click=
"handleDraft(2)"
>
草稿
</el-button>
<el-button
v-show=
"routeInfo.addOrEdit != '5'"
type=
"primary"
@
click=
"handleConfirm(1)"
>
{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}
</el-button>
<el-button
class=
"reset-btn"
v-show=
"routeInfo.addOrEdit == '1'"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
v-show=
"!['3', '5'].includes(routeInfo.addOrEdit)"
class=
"plain"
@
click=
"handleDraft(2)"
>
草稿
</el-button>
<el-button
v-show=
"routeInfo.addOrEdit != '5'"
type=
"primary"
@
click=
"handleConfirm(1)"
>
{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}
</el-button>
</div>
<qrCode
:bottom=
"320"
:codeUrl=
"qrcodUrl"
phoneTitle=
"提单及服务咨询"
phone=
"189 3890 7441"
></qrCode>
<div
class=
"my-nav-tabs"
>
<el-tabs
tab-position=
"right"
v-model=
"curDom"
@
tab-click=
"changeArea"
>
<el-tab-pane
v-for=
"item in tabsList"
:key=
"item.name"
:label=
"item.label"
:name=
"item.name"
></el-tab-pane>
</el-tabs>
</div>
</div>
</template>
...
...
@@ -102,10 +108,17 @@ export default {
name
:
'editEquity'
,
data
()
{
return
{
tabsList
:
[
{
label
:
'车辆信息'
,
name
:
'cardInfo'
},
{
label
:
'客户信息'
,
name
:
'customerInfo'
},
{
label
:
'选择产品'
,
name
:
'productInfo'
},
{
label
:
'其他信息'
,
name
:
'otherInfo'
}
],
qrcodUrl
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/preSale_qrCode.png'
+
'?time='
+
new
Date
(),
size
:
'small'
,
submit
:
false
,
isBlock
:
true
,
curDom
:
'cardInfo'
,
// title: '新增权益',
// titleObj: {
// 1: '新增权益',
...
...
@@ -276,10 +289,11 @@ export default {
},
{
validator
:
(
rule
,
value
,
callback
)
=>
{
let
reg
=
(
this
.
editForm
.
cardType
==
1
||
this
.
editForm
.
cardType
==
2
)
?
(
/
[
a-zA-Z0-9
]{18}
/
).
test
(
value
)
:
(
/
\S\s{0,18}
/
)
.
test
(
value
)
let
tip
=
(
this
.
editForm
.
cardType
==
1
||
this
.
editForm
.
cardType
==
2
)
?
'请输入18位数字或字母'
:
'请输入证件号码'
let
reg
=
this
.
editForm
.
cardType
==
1
||
this
.
editForm
.
cardType
==
2
?
/
[
a-zA-Z0-9
]{18}
/
.
test
(
value
)
:
/
\S\s{0,18}
/
.
test
(
value
)
let
tip
=
this
.
editForm
.
cardType
==
1
||
this
.
editForm
.
cardType
==
2
?
'请输入18位数字或字母'
:
'请输入证件号码'
return
reg
?
callback
()
:
callback
(
new
Error
(
tip
))
},
trigger
:
'change'
},
trigger
:
'change'
}
],
customerPhone
:
[
...
...
@@ -289,7 +303,7 @@ export default {
let
phoneReg
=
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
return
phoneReg
.
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'请输入正确的联系号码'
))
},
trigger
:
'change'
trigger
:
'change'
}
],
customerAddress
:
[{
required
:
true
,
message
:
'请输入联系地址'
,
trigger
:
'change'
}]
...
...
@@ -377,7 +391,7 @@ export default {
}
],
servicePeriod
:
[{
required
:
true
,
message
:
'请选择服务期限'
,
trigger
:
'change'
}],
effectiveDate
:
[{
required
:
true
,
message
:
'请选择生效日期'
,
trigger
:
'change'
}]
,
effectiveDate
:
[{
required
:
true
,
message
:
'请选择生效日期'
,
trigger
:
'change'
}]
// actualSalesPersonId: [{ required: true, message: '请输入实际销售人', trigger: 'change' }]
},
editFormDataOther
:
[
...
...
@@ -591,8 +605,8 @@ export default {
if
(
!
this
.
routeInfo
.
isSuper
)
{
this
.
successDisable
=
this
.
routeInfo
.
addOrEdit
==
'3'
}
if
(
!
this
.
routeInfo
.
isSuper
||
this
.
routeInfo
.
addOrEdit
==
1
)
{
this
.
$set
(
this
.
editRuleOther
,
'actualSalesPersonId'
,
{
required
:
true
,
message
:
'请输入实际销售人'
,
trigger
:
'change'
})
if
(
!
this
.
routeInfo
.
isSuper
||
this
.
routeInfo
.
addOrEdit
==
1
)
{
this
.
$set
(
this
.
editRuleOther
,
'actualSalesPersonId'
,
{
required
:
true
,
message
:
'请输入实际销售人'
,
trigger
:
'change'
})
}
this
.
getOptionsList
(
'editFormDataCar'
,
false
)
this
.
getOptionsList
(
'editFormDataUser'
,
false
)
...
...
@@ -602,6 +616,7 @@ export default {
// this.title = this.titleObj[this.routeInfo.addOrEdit]
// 获取套餐列表
// this.getPackageList()
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
,
true
)
},
methods
:
{
...
...
@@ -621,6 +636,24 @@ export default {
}
})
},
changeArea
({
name
})
{
document
.
getElementById
(
name
)
&&
document
.
getElementById
(
name
).
scrollIntoView
()
},
handleScroll
(
e
)
{
try
{
if
(
e
.
target
.
scrollTop
<
document
.
getElementById
(
'cardInfo'
).
scrollHeight
-
20
)
{
this
.
curDom
=
'cardInfo'
}
else
if
(
e
.
target
.
scrollTop
<
document
.
getElementById
(
'cardInfo'
).
scrollHeight
+
document
.
getElementById
(
'customerInfo'
).
scrollHeight
-
20
)
{
this
.
curDom
=
'customerInfo'
}
else
if
(
e
.
target
.
scrollTop
<
document
.
getElementById
(
'cardInfo'
).
scrollHeight
+
document
.
getElementById
(
'customerInfo'
).
scrollHeight
+
document
.
getElementById
(
'productInfo'
).
scrollHeight
/
2
-
20
)
{
this
.
curDom
=
'productInfo'
}
else
{
this
.
curDom
=
'otherInfo'
}
}
catch
(
err
)
{
console
.
log
(
err
)
}
},
setDisabled
(
partDisabledList
=
[])
{
var
list
=
[
'Car'
,
'User'
,
'Pro'
,
'Other'
]
var
flag
=
true
...
...
@@ -1022,14 +1055,15 @@ export default {
}
else
{
params
.
contractNo
=
''
}
this
.
updateEquity
(
params
,
commitType
)
this
.
updateEquity
(
params
,
commitType
)
},
updateEquity
(
params
,
commitType
)
{
let
text
=
''
,
time
=
0
;
if
(
commitType
==
1
){
text
=
'订单待审核中,请等待1-2分钟后刷新页面。若一直待审核,请主动联系erp项目组。'
updateEquity
(
params
,
commitType
)
{
let
text
=
''
,
time
=
0
if
(
commitType
==
1
)
{
text
=
'订单待审核中,请等待1-2分钟后刷新页面。若一直待审核,请主动联系erp项目组。'
time
=
5000
}
else
{
}
else
{
text
=
'正在Loding...'
}
const
loading
=
this
.
$loading
({
...
...
@@ -1037,7 +1071,7 @@ export default {
text
:
text
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.5)'
,
customClass
:
'loadingClass'
customClass
:
'loadingClass'
})
this
.
$apis
.
ghBeforeSale
.
updateEquityApi
(
params
).
then
(
res
=>
{
this
.
submit
=
false
...
...
@@ -1049,15 +1083,14 @@ export default {
type
:
'error'
})
}
else
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
loading
.
close
()
this
.
$router
.
push
({
path
:
'/ghPreSale/equityList'
,
// name: 'beforeSale',
params
:
res
})
},
time
)
},
time
)
}
})
},
...
...
@@ -1097,7 +1130,7 @@ export default {
}
this
.
$apis
.
ghBeforeSale
.
checkOrderApi
({
vin
:
this
.
editForm
.
vehicle
.
vin
,
contractNo
:
this
.
routeInfo
.
contractNo
||
''
}).
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
this
.
updateEquity
(
params
,
commitType
)
this
.
updateEquity
(
params
,
commitType
)
}
else
{
this
.
submit
=
false
this
.
$confirm
(
res
.
message
,
'提示'
,
{
...
...
@@ -1107,7 +1140,7 @@ export default {
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
submit
=
true
this
.
updateEquity
(
params
,
commitType
)
this
.
updateEquity
(
params
,
commitType
)
}
}
})
...
...
@@ -1154,6 +1187,9 @@ export default {
// }
})
}
},
beforeDestroy
()
{
window
.
removeEventListener
(
'scroll'
,
this
.
handleScroll
)
}
}
</
script
>
...
...
@@ -1174,6 +1210,13 @@ export default {
box-shadow
:
0px
3px
6px
-4px
rgba
(
0
,
0
,
0
,
0.12
);
}
.vehicleForm
{
/deep/
.el-form-item
{
margin-right
:
12px
!important
;
margin-bottom
:
32px
;
}
}
.edit-order
{
padding-top
:
0
!important
;
height
:
100%
;
...
...
@@ -1224,14 +1267,29 @@ export default {
//
//
background
:
#ffffff
;
//
//
z-index
:
0
;
//
}
.operate-btn
{
.operate-btn
{
margin-top
:
16px
;
//
width
:
88px
;
//
margin-left
:
20px
;
}
}
.before-sale
.edit-form-container
{
margin-top
:
20px
;
margin-top
:
32px
;
}
#customerInfo
,
#otherInfo
{
.edit-form-container
{
padding-bottom
:
12px
;
}
}
#productInfo
.sub-el-form
{
//
width
:
686px
;
.edit-form-container
{
//
padding
:
20px
0
1px
20px
;
margin-top
:
10px
;
//
background
:
#f9f9f9
;
//
margin-left
:
25px
;
}
}
.before-sale
.flex
{
...
...
src/views/ghPreSale/writeOff/addwriteOff.vue
View file @
bb2bb88
...
...
@@ -352,7 +352,7 @@ export default {
line-height
:
58px
;
padding
:
0
20px
;
border-bottom
:
1px
solid
#eeeeee
;
font-family
:
PingFangSC-Medium
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-size
:
16px
;
color
:
#333333
;
font-weight
:
600
;
...
...
src/views/ghPreSale/writeOff/writeOffList.vue
View file @
bb2bb88
...
...
@@ -3,9 +3,9 @@
<GLButton
size=
"small"
style=
"margin-bottom: 10px;"
fn=
"新增核赔"
class=
"el-icon-plus"
type=
"primary"
@
click=
"addWriteOff(1)"
>
新增核赔
</GLButton>
<div
class=
"contain equity-wrap"
>
<div
class=
"search-wrap"
>
<GLCombiForm
:rowNumber=
"1"
ref=
"showSearch"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset('reset')"
labelWidth=
"100px"
defaultWidth=
"230px"
:formObj=
"batchListSearch"
:formData=
"writeOffForm"
></GLCombiForm>
<GLCombiForm
:rowNumber=
"1"
ref=
"showSearch"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset('reset')"
labelWidth=
"100px"
defaultWidth=
"230px"
:formObj=
"batchListSearch"
:formData=
"writeOffForm"
></GLCombiForm>
</div>
<el-button
size=
"small"
style=
"float:right;margin-bottom:10px;"
@
click=
"handleExport"
class=
"selectBtn"
>
导出
</el-button>
<el-button
size=
"small"
plain
style=
"float:right;margin-bottom:10px;"
@
click=
"handleExport"
class=
"selectBtn"
>
导出
</el-button>
<GLTable
ref=
"writeOffTable"
:pageSizes=
"sizeList"
:searchForm=
"searchForm"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
:pageConf=
"batchPageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
fn=
"查看"
type=
"text"
@
click=
"handleView(scope.scope)"
>
查看
</GLButton>
...
...
@@ -53,7 +53,6 @@ export default {
{
label
:
'核销码'
,
prop
:
'writeOffCode'
,
width
:
120
,
formatter
:
cellValue
=>
{
return
cellValue
.
writeOffCode
||
'-'
}
...
...
@@ -61,7 +60,6 @@ export default {
{
label
:
'客户名'
,
prop
:
'reporterName'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
cellValue
.
reporterName
||
'-'
}
...
...
@@ -69,7 +67,6 @@ export default {
{
label
:
'合同号'
,
prop
:
'contractNo'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
cellValue
.
contractNo
||
'-'
}
...
...
@@ -77,7 +74,6 @@ export default {
{
label
:
'价格区间'
,
prop
:
'priceSection'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
cellValue
.
priceSection
||
'-'
}
...
...
@@ -85,7 +81,6 @@ export default {
{
label
:
'门店提交时间'
,
prop
:
'commitTime'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
cellValue
.
commitTime
?
util
.
dateFormat
(
cellValue
.
commitTime
,
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
...
...
@@ -164,7 +159,6 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.writeOff
{
margin-top
:
17px
;
.equity-wrap
{
background-color
:
#fff
;
padding
:
20px
;
...
...
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