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 1b0349c8
authored
Aug 10, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
hmd需求开发
1 parent
e544cf0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/orderManage/index.vue
View file @
1b0349c
<!-- 订单管理 -->
订单管理
<
template
>
<div
class=
"marketing order-manage"
>
<template
v-if=
"showTable"
>
...
...
@@ -227,6 +227,7 @@ export default {
name
:
'orderManage'
,
data
()
{
return
{
isHmd
:
true
,
showGh
:
false
,
size
:
'small'
,
url
:
url
,
...
...
@@ -505,12 +506,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
},
...
...
@@ -940,8 +944,12 @@ export default {
const
res
=
await
this
.
$apis
.
common
.
getCrowdfundingOrderConfig
(),
filterTableList
=
[
'shareStaffName'
,
'otherInformation'
,
'assignName'
,
'shareStaffPhone'
,
'verificationDate'
,
'vinNo'
,
'afterSaleStatus'
],
filterFormList
=
[
'afterSaleStatuses'
,
'shareStaffName'
,
'vin'
,
'shareStaffSource'
,
'shareStaffPhone'
]
this
.
configShow
=
res
!=
1
if
(
res
==
1
)
{
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
)
...
...
src/views/orderManage/orderDetail.vue
View file @
1b0349c
...
...
@@ -17,7 +17,7 @@
</
template
>
</el-form>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<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"
>
...
...
@@ -88,6 +88,7 @@ export default {
name
:
'orderDetail'
,
data
()
{
return
{
isHmd
:
true
,
size
:
'small'
,
title
:
'查看订单'
,
editChildRef
:
'editChildRef'
,
...
...
@@ -166,7 +167,13 @@ export default {
}
},
created
()
{
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
},
mounted
()
{
this
.
getCrowdfundingOrderConfig
()
...
...
@@ -290,7 +297,6 @@ export default {
getInfo
()
{
this
.
$apis
.
orderManage
.
getOrderDetailApi
({
orderCode
:
this
.
routeInfo
.
orderCode
}).
then
(
res
=>
{
this
.
detailForm
=
res
console
.
log
(
res
,
888
)
this
.
orderRefund
=
res
.
orderRefund
||
null
this
.
detailForm
.
createdDateStr
=
dayjs
(
this
.
detailForm
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
if
(
this
.
orderRefund
)
{
...
...
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