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 3edb499f
authored
Jan 12, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售前权益Bug修复
1 parent
7b872158
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
package-lock.json
package.json
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
package-lock.json
View file @
3edb499
This diff is collapsed.
Click to expand it.
package.json
View file @
3edb499
...
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.3.
2
"
,
"glsx-components"
:
"^1.3.
5
"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/views/beforeSale/editEquity.vue
View file @
3edb499
...
...
@@ -459,7 +459,7 @@ export default {
label
:
'联系地址'
,
name
:
'customerAddress'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
55
}
],
// 选择产品
...
...
@@ -549,7 +549,7 @@ export default {
label
:
'店铺联系地址'
,
name
:
'merchantAddress'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
55
}
],
// 公共数据
...
...
src/views/beforeSale/equityList.vue
View file @
3edb499
...
...
@@ -20,7 +20,7 @@
<!-- 表格区域 开始 -->
<div
class=
"table_wrapper"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:
pageSizes=
"sizeList"
:paginationattrs=
"paginationattrs"
:
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].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>
-->
...
...
@@ -70,6 +70,10 @@ export default {
name
:
'equityList'
,
data
()
{
return
{
// :page-size="100"
paginationattrs
:{
'page-size'
:
5
},
size
:
'small'
,
noCancel
:
true
,
isBlock
:
true
,
...
...
@@ -205,18 +209,16 @@ export default {
},
{
label
:
'提单成功时间'
,
line
:
1
,
width
:
'200px'
,
prop
:
'successDate'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
successDate
?
dayjs
(
cellValue
.
successDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'购车日期'
,
line
:
1
,
prop
:
'billingDate'
,
width
:
'
13
0px'
,
width
:
'
20
0px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
billingDate
?
dayjs
(
cellValue
.
billingDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
}
...
...
@@ -250,7 +252,6 @@ export default {
},
{
label
:
'无忧卡卡号'
,
line
:
1
,
prop
:
'cardSeqNo'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
...
...
@@ -283,9 +284,8 @@ export default {
},
{
label
:
'无忧保障服务费'
,
line
:
1
,
prop
:
'actualSalesPrice'
,
width
:
'1
6
0px'
,
width
:
'1
1
0px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'-'
}
...
...
@@ -301,7 +301,7 @@ export default {
// },
{
label
:
'服务期限'
,
line
:
1
,
width
:
'200px'
,
prop
:
'servicePeriod'
,
formatter
:
cellValue
=>
{
return
cellValue
.
servicePeriod
?
`
${
cellValue
.
servicePeriod
}
年`
:
'-'
...
...
@@ -309,16 +309,14 @@ export default {
},
{
label
:
'生效时间'
,
line
:
1
,
prop
:
'effectiveDate'
,
width
:
'
13
0px'
,
width
:
'
20
0px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
effectiveDate
?
dayjs
(
cellValue
.
effectiveDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
}
},
{
label
:
'服务状态'
,
line
:
1
,
prop
:
'orderStatus'
,
width
:
'100px'
,
formatter
:
cellValue
=>
{
...
...
@@ -366,15 +364,15 @@ export default {
// },
{
label
:
'省代'
,
line
:
1
,
prop
:
'provinceMerchantName'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
provinceMerchantName
||
'-'
}
},
{
label
:
'市代'
,
line
:
1
,
width
:
'200px'
,
prop
:
'cityMerchantName'
,
formatter
:
cellValue
=>
{
return
cellValue
.
cityMerchantName
||
'-'
...
...
@@ -398,6 +396,7 @@ export default {
}
]
},
sizeList
:[
5
,
10
,
20
,
30
,
40
],
pageConf
:
{
pageSize
:
'pageCount'
,
pageNum
:
'pageSize'
,
totalCount
:
'total'
},
// 公共数据
baseData
:
{
...
...
@@ -471,6 +470,7 @@ export default {
// this.editNotify.code == '0' ? 1500 : 3000
// )
// }
this
.
$refs
.
equityRef
.
page
.
pageSize
=
5
this
.
$apis
.
beforeSale
.
getProListApi
({}).
then
(
res
=>
{
this
.
baseData
.
goodsStatusList
=
res
this
.
getOptionsList
(
'searchFormData'
)
...
...
@@ -580,7 +580,7 @@ export default {
apiParams
:
apiParams
}
if
(
title
==
'退单'
)
{
this
.
$confirm
(
'是否确认退单?
?
'
,
'退单'
,
{
this
.
$confirm
(
'是否确认退单?'
,
'退单'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
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