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 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.3.
2
"
,
"glsx-components"
:
"^1.3.
5
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/views/beforeSale/editEquity.vue
View file @
3edb499
...
@@ -459,7 +459,7 @@ export default {
...
@@ -459,7 +459,7 @@ export default {
label
:
'联系地址'
,
label
:
'联系地址'
,
name
:
'customerAddress'
,
name
:
'customerAddress'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
55
}
}
],
],
// 选择产品
// 选择产品
...
@@ -549,7 +549,7 @@ export default {
...
@@ -549,7 +549,7 @@ export default {
label
:
'店铺联系地址'
,
label
:
'店铺联系地址'
,
name
:
'merchantAddress'
,
name
:
'merchantAddress'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
55
}
}
],
],
// 公共数据
// 公共数据
...
...
src/views/beforeSale/equityList.vue
View file @
3edb499
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<div
class=
"table_wrapper"
>
<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"
>
<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>
<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, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
...
@@ -70,6 +70,10 @@ export default {
...
@@ -70,6 +70,10 @@ export default {
name
:
'equityList'
,
name
:
'equityList'
,
data
()
{
data
()
{
return
{
return
{
// :page-size="100"
paginationattrs
:{
'page-size'
:
5
},
size
:
'small'
,
size
:
'small'
,
noCancel
:
true
,
noCancel
:
true
,
isBlock
:
true
,
isBlock
:
true
,
...
@@ -205,18 +209,16 @@ export default {
...
@@ -205,18 +209,16 @@ export default {
},
},
{
{
label
:
'提单成功时间'
,
label
:
'提单成功时间'
,
line
:
1
,
width
:
'200px'
,
prop
:
'successDate'
,
prop
:
'successDate'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
successDate
?
dayjs
(
cellValue
.
successDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
return
cellValue
.
successDate
?
dayjs
(
cellValue
.
successDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
}
},
},
{
{
label
:
'购车日期'
,
label
:
'购车日期'
,
line
:
1
,
prop
:
'billingDate'
,
prop
:
'billingDate'
,
width
:
'
13
0px'
,
width
:
'
20
0px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
billingDate
?
dayjs
(
cellValue
.
billingDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
return
cellValue
.
billingDate
?
dayjs
(
cellValue
.
billingDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
}
}
...
@@ -250,7 +252,6 @@ export default {
...
@@ -250,7 +252,6 @@ export default {
},
},
{
{
label
:
'无忧卡卡号'
,
label
:
'无忧卡卡号'
,
line
:
1
,
prop
:
'cardSeqNo'
,
prop
:
'cardSeqNo'
,
width
:
'200px'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -283,9 +284,8 @@ export default {
...
@@ -283,9 +284,8 @@ export default {
},
},
{
{
label
:
'无忧保障服务费'
,
label
:
'无忧保障服务费'
,
line
:
1
,
prop
:
'actualSalesPrice'
,
prop
:
'actualSalesPrice'
,
width
:
'1
6
0px'
,
width
:
'1
1
0px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'-'
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'-'
}
}
...
@@ -301,7 +301,7 @@ export default {
...
@@ -301,7 +301,7 @@ export default {
// },
// },
{
{
label
:
'服务期限'
,
label
:
'服务期限'
,
line
:
1
,
width
:
'200px'
,
prop
:
'servicePeriod'
,
prop
:
'servicePeriod'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
servicePeriod
?
`
${
cellValue
.
servicePeriod
}
年`
:
'-'
return
cellValue
.
servicePeriod
?
`
${
cellValue
.
servicePeriod
}
年`
:
'-'
...
@@ -309,16 +309,14 @@ export default {
...
@@ -309,16 +309,14 @@ export default {
},
},
{
{
label
:
'生效时间'
,
label
:
'生效时间'
,
line
:
1
,
prop
:
'effectiveDate'
,
prop
:
'effectiveDate'
,
width
:
'
13
0px'
,
width
:
'
20
0px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
effectiveDate
?
dayjs
(
cellValue
.
effectiveDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
return
cellValue
.
effectiveDate
?
dayjs
(
cellValue
.
effectiveDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
}
}
},
},
{
{
label
:
'服务状态'
,
label
:
'服务状态'
,
line
:
1
,
prop
:
'orderStatus'
,
prop
:
'orderStatus'
,
width
:
'100px'
,
width
:
'100px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -366,15 +364,15 @@ export default {
...
@@ -366,15 +364,15 @@ export default {
// },
// },
{
{
label
:
'省代'
,
label
:
'省代'
,
line
:
1
,
prop
:
'provinceMerchantName'
,
prop
:
'provinceMerchantName'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
provinceMerchantName
||
'-'
return
cellValue
.
provinceMerchantName
||
'-'
}
}
},
},
{
{
label
:
'市代'
,
label
:
'市代'
,
line
:
1
,
width
:
'200px'
,
prop
:
'cityMerchantName'
,
prop
:
'cityMerchantName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
cityMerchantName
||
'-'
return
cellValue
.
cityMerchantName
||
'-'
...
@@ -398,6 +396,7 @@ export default {
...
@@ -398,6 +396,7 @@ export default {
}
}
]
]
},
},
sizeList
:[
5
,
10
,
20
,
30
,
40
],
pageConf
:
{
pageSize
:
'pageCount'
,
pageNum
:
'pageSize'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageCount'
,
pageNum
:
'pageSize'
,
totalCount
:
'total'
},
// 公共数据
// 公共数据
baseData
:
{
baseData
:
{
...
@@ -471,6 +470,7 @@ export default {
...
@@ -471,6 +470,7 @@ export default {
// this.editNotify.code == '0' ? 1500 : 3000
// this.editNotify.code == '0' ? 1500 : 3000
// )
// )
// }
// }
this
.
$refs
.
equityRef
.
page
.
pageSize
=
5
this
.
$apis
.
beforeSale
.
getProListApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getProListApi
({}).
then
(
res
=>
{
this
.
baseData
.
goodsStatusList
=
res
this
.
baseData
.
goodsStatusList
=
res
this
.
getOptionsList
(
'searchFormData'
)
this
.
getOptionsList
(
'searchFormData'
)
...
@@ -580,7 +580,7 @@ export default {
...
@@ -580,7 +580,7 @@ export default {
apiParams
:
apiParams
apiParams
:
apiParams
}
}
if
(
title
==
'退单'
)
{
if
(
title
==
'退单'
)
{
this
.
$confirm
(
'是否确认退单?
?
'
,
'退单'
,
{
this
.
$confirm
(
'是否确认退单?'
,
'退单'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
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