Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 f233bcf5
authored
Aug 18, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.15.0' into 'master'
V3.15.0 See merge request
!536
2 parents
7935a71d
4904a8a2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
76 additions
and
14 deletions
src/views/customerTransform/addCustomer.vue
src/views/memberCenter/center.vue
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/sop/editSop/editEvent.vue
src/views/customerTransform/addCustomer.vue
View file @
f233bcf
...
...
@@ -242,7 +242,7 @@ export default {
itemType
:
'package'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getPackage
,
params
:
{
//
state: 1
state
:
1
}
},
{
...
...
@@ -254,7 +254,7 @@ export default {
discountTypes
:
[
2
,
3
,
4
],
directionalFlag
:
1
,
// 1所有人可用2定向礼包专用3关联优惠券
validType
:
'valid'
,
//
status: 2
status
:
2
}
},
{
...
...
src/views/memberCenter/center.vue
View file @
f233bcf
...
...
@@ -329,7 +329,16 @@ export default {
},
baseData
:
{
statusList
:
statusList
,
memberTypeList
:
memberTypeList
,
memberTypeList
:
[
{
confId
:
1
,
confName
:
'正式会员'
},
{
confId
:
2
,
confName
:
'试用会员'
}
],
memberCenterStatuList
:
[
{
dictValue
:
1
,
...
...
@@ -593,6 +602,16 @@ export default {
dictLabel
:
'银卡会员'
}
)
this
.
baseData
.
memberTypeList
.
push
(
{
confId
:
3
,
confName
:
'金卡会员'
},
{
confId
:
4
,
confName
:
'银卡会员'
}
)
this
.
baseData
.
openModeList
.
push
({
dictValue
:
17
,
dictLabel
:
'通过礼包赠送'
...
...
src/views/orderManage/index.vue
View file @
f233bcf
<!-- 订单管理 -->
订单管理
<
template
>
<div
class=
"marketing order-manage"
>
<template
v-if=
"showTable"
>
...
...
@@ -235,6 +235,7 @@ export default {
name
:
'orderManage'
,
data
()
{
return
{
isHmd
:
true
,
showGh
:
false
,
size
:
'small'
,
url
:
url
,
...
...
@@ -517,12 +518,15 @@ export default {
created
()
{
// this.checkMerchant()
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
if
(
this
.
merchantModel
==
2
&&
this
.
accountLevel
==
4
)
{
this
.
initParams
()
}
}
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
let
href
=
window
.
location
.
host
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!==
-
1
},
...
...
@@ -641,7 +645,7 @@ export default {
prop
:
''
,
width
:
'120'
,
formatter
:
cellValue
=>
{
return
cellValue
.
orderGoods
.
length
?
cellValue
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
return
cellValue
.
orderGoods
&&
cellValue
.
orderGoods
.
length
?
cellValue
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
}
},
{
...
...
@@ -953,10 +957,14 @@ export default {
]
try
{
const
res
=
await
this
.
$apis
.
common
.
getCrowdfundingOrderConfig
(),
filterTableList
=
[
'customerPhone'
,
'shareStaffName'
,
'otherInformation'
,
'assignName'
,
'shareStaffPhone'
,
'verificationDate'
,
'vinNo'
,
'afterSaleStatus'
],
filterFormList
=
[
'afterSaleStatuses'
,
'shareStaffName'
,
'vin'
,
'shareStaffSource'
,
'customerPhone'
,
'shareStaffPhone'
]
this
.
configShow
=
res
!=
1
if
(
res
==
1
)
{
filterTableList
=
[
'shareStaffName'
,
'otherInformation'
,
'assignName'
,
'shareStaffPhone'
,
'verificationDate'
,
'vinNo'
,
'afterSaleStatus'
],
filterFormList
=
[
'afterSaleStatuses'
,
'shareStaffName'
,
'vin'
,
'shareStaffSource'
,
'shareStaffPhone'
]
if
(
!
this
.
isHmd
){
filterTableList
.
push
(
'customerPhone'
)
filterFormList
.
push
(
'customerPhone'
)
}
this
.
configShow
=
res
!=
1
||
this
.
isHmd
if
(
res
==
1
||
this
.
isHmd
)
{
for
(
let
i
=
0
;
i
<
tableColumns
.
length
;
i
++
)
{
if
(
filterTableList
.
includes
(
tableColumns
[
i
].
prop
))
{
tableColumns
.
splice
(
i
,
1
)
...
...
@@ -1005,6 +1013,9 @@ export default {
params
.
createdStartDateStr
=
new
Date
(
this
.
searchForm
.
createDate
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
params
.
createdEndDateStr
=
new
Date
(
this
.
searchForm
.
createDate
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
orderSource
==
''
){
params
.
orderSource
=
0
}
if
(
params
.
orderStatuses
.
includes
(
'3'
)
&&
params
.
requestSource
==
'0'
)
delete
params
.
requestSource
delete
params
.
createDate
return
params
...
...
@@ -1381,5 +1392,4 @@ export default {
color
:
#fdb757
;
text-align
:
center
;
line-height
:
20px
;
}
</
style
>
}
</
style
>
src/views/orderManage/orderDetail.vue
View file @
f233bcf
...
...
@@ -29,6 +29,17 @@
</
template
>
</el-form>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
v-if=
"isHmd"
>
<p
class=
"edit-title"
>
收货信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in receiveInfoDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{ detailForm[subItem.name] || '-'
}}
</span>
</el-form-item>
</el-row>
</el-form>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<p
class=
"edit-title"
>
发货信息
</p>
<el-form
...
...
@@ -139,6 +150,7 @@ export default {
name
:
'orderDetail'
,
data
()
{
return
{
isHmd
:
true
,
size
:
'small'
,
title
:
'查看订单'
,
editChildRef
:
'editChildRef'
,
...
...
@@ -183,6 +195,21 @@ export default {
// name: ''
// }
],
receiveInfoDataRow
:[],
receiveInfoData
:
[
{
label
:
'收货人'
,
name
:
'contactName'
},
{
label
:
'收货人电话'
,
name
:
'contactPhone'
},
{
label
:
'收货地址'
,
name
:
'shipAddress'
},
],
// 基本数据
baseData
:
{
orderStatusList
:
orderManageStatusList
,
...
...
@@ -203,6 +230,11 @@ export default {
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
},
mounted
()
{
...
...
@@ -293,7 +325,7 @@ export default {
const
res
=
await
this
.
$apis
.
common
.
getCrowdfundingOrderConfig
()
let
configShow
=
res
!=
1
if
(
!
configShow
)
{
const
filterFormList
=
[
'
customerPhone'
,
'
shareStaffName'
,
'shareStaffTypeName'
,
'vin'
,
'shipAddress'
]
const
filterFormList
=
[
'shareStaffName'
,
'shareStaffTypeName'
,
'vin'
,
'shipAddress'
]
for
(
let
i
=
0
;
i
<
detailFormData
.
length
;
i
++
)
{
if
(
filterFormList
.
includes
(
detailFormData
[
i
].
name
))
{
detailFormData
.
splice
(
i
,
1
)
...
...
@@ -307,6 +339,7 @@ export default {
this
.
routeInfo
=
this
.
$route
.
query
this
.
getInfo
()
this
.
formToRow
(
'afterInfoData'
)
this
.
formToRow
(
'receiveInfoData'
)
},
formToRow
(
formName
,
numOfRow
=
3
)
{
var
rowNum
=
Math
.
ceil
(
this
[
formName
].
length
/
numOfRow
)
...
...
src/views/sop/editSop/editEvent.vue
View file @
f233bcf
...
...
@@ -210,7 +210,7 @@ export default {
itemType
:
'package'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getPackage
,
params
:
{
//
state: 1
state
:
1
}
},
{
...
...
@@ -222,7 +222,7 @@ export default {
discountTypes
:
[
2
,
3
,
4
],
directionalFlag
:
1
,
// 1所有人可用2定向礼包专用3关联优惠券
validType
:
'valid'
,
//
status: 2
status
:
2
}
},
{
...
...
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