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 1cb2798a
authored
Mar 03, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉状态
1 parent
ea171575
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
74 deletions
src/views/beforeSale/equityList.vue
src/views/beforeSale/equityList.vue
View file @
1cb2798
...
...
@@ -24,13 +24,13 @@
<div
class=
"table_wrapper"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[2, 4, 5
, 7, 8, 9, 10, 11
].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<GLButton
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<el-button
v-if=
"[2
, 8, 10, 11
].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[2
, 8, 10, 11
].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<el-button
v-if=
"[2
, 8, 10, 11
].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<GLButton
v-if=
"[
1,
3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
<GLButton
v-if=
"[2].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<GLButton
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
</div>
</GLTable>
</div>
...
...
@@ -371,15 +371,15 @@ export default {
// return cellValue.actualSalesPrice ? (cellValue.actualSalesPrice / 100).toFixed(2) : '-'
// }
// },
{
label
:
'门店成本'
,
prop
:
'costPrice'
,
width
:
'160px'
,
line
:
1
,
formatter
:
cellValue
=>
{
return
cellValue
.
costPrice
?
(
cellValue
.
costPrice
/
100
).
toFixed
(
2
)
:
'-'
}
},
//
{
//
label: '门店成本',
//
prop: 'costPrice',
//
width: '160px',
//
line: 1,
//
formatter: cellValue => {
//
return cellValue.costPrice ? (cellValue.costPrice / 100).toFixed(2) : '-'
//
}
//
},
{
label
:
'服务期限'
,
line
:
1
,
...
...
@@ -405,42 +405,42 @@ export default {
return
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
orderStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderStatus
).
confName
:
'-'
}
},
{
label
:
'状态描述'
,
prop
:
'erpErrorMsg'
,
width
:
'200px'
,
line
:
1
,
formatter
:
cellValue
=>
{
return
cellValue
.
erpErrorMsg
?
cellValue
.
erpErrorMsg
:
'-'
}
},
{
label
:
'审核日期'
,
prop
:
'auditDate'
,
width
:
'200px'
,
line
:
1
,
formatter
:
cellValue
=>
{
return
cellValue
.
auditDate
?
dayjs
(
cellValue
.
auditDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'首续保'
,
prop
:
'insuranceType'
,
width
:
'110px'
,
line
:
1
,
formatter
:
cellValue
=>
{
return
cellValue
.
insuranceType
===
'i'
?
'无忧卡首保'
:
'无忧卡续保'
}
},
{
label
:
'价格区间'
,
prop
:
'pricePeriod'
,
width
:
'200px'
,
line
:
1
,
formatter
:
cellValue
=>
{
return
cellValue
.
pricePeriod
?
cellValue
.
pricePeriod
:
'-'
}
},
//
{
//
label: '状态描述',
//
prop: 'erpErrorMsg',
//
width: '200px',
//
line: 1,
//
formatter: cellValue => {
//
return cellValue.erpErrorMsg ? cellValue.erpErrorMsg : '-'
//
}
//
},
//
{
//
label: '审核日期',
//
prop: 'auditDate',
//
width: '200px',
//
line: 1,
//
formatter: cellValue => {
//
return cellValue.auditDate ? dayjs(cellValue.auditDate).format('YYYY-MM-DD HH:mm:ss') : '-'
//
}
//
},
//
{
//
label: '首续保',
//
prop: 'insuranceType',
//
width: '110px',
//
line: 1,
//
formatter: cellValue => {
//
return cellValue.insuranceType === 'i' ? '无忧卡首保' : '无忧卡续保'
//
}
//
},
//
{
//
label: '价格区间',
//
prop: 'pricePeriod',
//
width: '200px',
//
line: 1,
//
formatter: cellValue => {
//
return cellValue.pricePeriod ? cellValue.pricePeriod : '-'
//
}
//
},
// {
// label: '审核状态',
// prop: 'auditStatus',
...
...
@@ -527,10 +527,10 @@ export default {
confId
:
0
,
confName
:
'待提单'
},
{
confId
:
1
,
confName
:
'ERP出单失败'
},
//
{
//
confId: 1,
//
confName: 'ERP出单失败'
//
},
{
confId
:
2
,
confName
:
'提单成功'
...
...
@@ -546,27 +546,27 @@ export default {
{
confId
:
5
,
confName
:
'已过期'
},
{
confId
:
7
,
confName
:
'退单审核中'
},
{
confId
:
8
,
confName
:
'ERP退单失败'
},
{
confId
:
9
,
confName
:
'ERP修改审核中'
},
{
confId
:
10
,
confName
:
'修改成功'
},
{
confId
:
11
,
confName
:
'ERP修改失败'
}
// {
// confId: 7,
// confName: '退单审核中'
// },
// {
// confId: 8,
// confName: 'ERP退单失败'
// },
// {
// confId: 9,
// confName: 'ERP修改审核中'
// },
// {
// confId: 10,
// confName: '修改成功'
// },
// {
// confId: 11,
// confName: 'ERP修改失败'
// }
],
dataPerfectionList
:
[
{
...
...
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