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 3a2c48d3
authored
Aug 10, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_' into 'SAAS+V4.25.1'
车主优选商品 See merge request
!531
2 parents
3984ee9d
b9038401
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
45 deletions
src/views/orderManage/index.vue
src/views/productStore/index.vue
src/views/orderManage/index.vue
View file @
3a2c48d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"marketing order-manage"
>
<div
class=
"marketing order-manage"
>
<template
v-if=
"showTable"
>
<template
v-if=
"showTable"
>
<div
class=
"list-tips m-b-10"
>
<div
class=
"list-tips m-b-10"
>
<img
class=
"tips-img"
src=
"@/assets/icon-info.png"
/>
<img
class=
"tips-img"
src=
"@/assets/icon-info.png"
/>
<span
class=
"table-tips"
>
<span
class=
"table-tips"
>
已生成有效订单
已生成有效订单
<span
class=
"txt-blue"
>
{{
statisticsInfo
.
orderCount
||
0
}}
</span>
<span
class=
"txt-blue"
>
{{
statisticsInfo
.
orderCount
||
0
}}
</span>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</div>
</div>
<div
slot=
"weChatName"
class=
"flex-align"
slot-scope=
"scope"
>
<div
slot=
"weChatName"
class=
"flex-align"
slot-scope=
"scope"
>
<img
v-if=
"scope.scope.weChatImageUrl"
class=
"img-36 pointer img-circle"
<img
v-if=
"scope.scope.weChatImageUrl"
class=
"img-36 pointer img-circle"
:src=
"scope.scope.weChatImageUrl"
/>
:src=
"scope.scope.weChatImageUrl"
/>
<span
class=
"m-l-10"
>
{{
scope
.
scope
.
weChatName
}}
</span>
<span
class=
"m-l-10"
>
{{
scope
.
scope
.
weChatName
}}
</span>
<span
v-if=
"!scope.scope.shareAvatar && !scope.scope.weChatName"
>
-
</span>
<span
v-if=
"!scope.scope.shareAvatar && !scope.scope.weChatName"
>
-
</span>
</div>
</div>
...
@@ -51,21 +51,22 @@
...
@@ -51,21 +51,22 @@
{{
Array
.
isArray
(
scope
.
scope
.
vinNo
)
?
scope
.
scope
.
vinNo
[
0
]
:
scope
.
scope
.
vinNo
}}
{{
Array
.
isArray
(
scope
.
scope
.
vinNo
)
?
scope
.
scope
.
vinNo
[
0
]
:
scope
.
scope
.
vinNo
}}
<el-popover
popper-class=
"order-table-popover"
placement=
"right-start"
trigger=
"click"
>
<el-popover
popper-class=
"order-table-popover"
placement=
"right-start"
trigger=
"click"
>
<p
v-for=
"(item, index) in scope.scope.vinNo"
:key=
"index"
>
{{
item
}}
</p>
<p
v-for=
"(item, index) in scope.scope.vinNo"
:key=
"index"
>
{{
item
}}
</p>
<span
class=
"car-no"
slot=
"reference"
<span
class=
"car-no"
slot=
"reference"
v-show=
"Array.isArray(scope.scope.vinNo)"
>
...(
{{
v-show=
"Array.isArray(scope.scope.vinNo)"
>
...(
{{
scope
.
scope
.
vinNo
.
length
-
1
}}
)
</span>
scope
.
scope
.
vinNo
.
length
-
1
}}
)
</span>
</el-popover>
</el-popover>
</
template
>
</
template
>
<div
slot=
"orderStatus"
slot-scope=
"scope"
>
<div
slot=
"orderStatus"
slot-scope=
"scope"
>
<span
<span
:class=
"['table-circle', 'm-r-8', [2, 10, 22].includes(scope.scope.orderStatus) ? 'back-green' : [9].includes(scope.scope.orderStatus) ? 'back-blue' : [1, 21, 6].includes(scope.scope.orderStatus) ? 'back-orange' : 'back-grey']"
></span>
:class=
"['table-circle', 'm-r-8', [2, 10, 22].includes(scope.scope.orderStatus) ? 'back-green' : [9].includes(scope.scope.orderStatus) ? 'back-blue' : [1, 21, 6].includes(scope.scope.orderStatus) ? 'back-orange' : 'back-grey']"
></span>
<span>
{{
<span>
{{
baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-'
baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ?
baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-'
}}
</span>
}}
</span>
</div>
</div>
<div
slot=
"shareStaffName"
class=
"table-image"
slot-scope=
"scope"
>
<div
slot=
"shareStaffName"
class=
"table-image"
slot-scope=
"scope"
>
<div>
<div>
<img
v-if=
"scope.scope.shareStaffImageUrl"
class=
"img-36 pointer img-circle"
<img
v-if=
"scope.scope.shareStaffImageUrl"
class=
"img-36 pointer img-circle"
style=
"vertical-align: middle"
slot=
"reference"
:src=
"scope.scope.shareStaffImageUrl"
/>
style=
"vertical-align: middle"
slot=
"reference"
:src=
"scope.scope.shareStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span
class=
"m-l-10"
>
<span>
{{ scope.scope.shareStaffName }}
</span>
<span>
{{ scope.scope.shareStaffName }}
</span>
<span
class=
"txt-green"
v-if=
"scope.scope.shareStaffSource == 1"
>
@微信
</span>
<span
class=
"txt-green"
v-if=
"scope.scope.shareStaffSource == 1"
>
@微信
</span>
...
@@ -79,14 +80,14 @@
...
@@ -79,14 +80,14 @@
<div>
<div>
<
template
v-if=
"scope.scope.assignStaffName"
>
<
template
v-if=
"scope.scope.assignStaffName"
>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.assignStaffImageUrl"
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.assignStaffImageUrl"
:src=
"scope.scope.assignStaffImageUrl"
/>
:src=
"scope.scope.assignStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span
class=
"m-l-10"
>
<span>
{{
scope
.
scope
.
assignStaffName
}}
</span>
<span>
{{
scope
.
scope
.
assignStaffName
}}
</span>
</span>
</span>
</
template
>
</
template
>
<
template
v-else-if=
"scope.scope.shareStaffName"
>
<
template
v-else-if=
"scope.scope.shareStaffName"
>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.shareStaffImageUrl"
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.shareStaffImageUrl"
:src=
"scope.scope.shareStaffImageUrl"
/>
:src=
"scope.scope.shareStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span
class=
"m-l-10"
>
<span>
{{
scope
.
scope
.
shareStaffName
}}
</span>
<span>
{{
scope
.
scope
.
shareStaffName
}}
</span>
</span>
</span>
...
@@ -127,14 +128,13 @@
...
@@ -127,14 +128,13 @@
<!-- 快递信息 -->
<!-- 快递信息 -->
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"expressRef"
:isBlock=
"true"
defaultWidth=
"284px"
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"expressRef"
:isBlock=
"true"
defaultWidth=
"284px"
:isEdit=
"isEdit"
:isEdit=
"isEdit"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
:formRules=
"expressRules"
></glsx-combi-form>
</GLDialog>
</GLDialog>
<!-- 订单核销 -->
<!-- 订单核销 -->
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"mid"
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel=
"handleWriteOffClose"
>
@
onCancel=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"writeOffRef"
:isBlock=
"true"
defaultWidth=
"284px"
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"writeOffRef"
:isBlock=
"true"
defaultWidth=
"284px"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
:formRules=
"writeOffRules"
></glsx-combi-form>
...
@@ -167,9 +167,8 @@
...
@@ -167,9 +167,8 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<
template
v-if=
"orderInfo.refundType == 1 && examineForm.isAllowed == '1'"
>
<
template
v-if=
"orderInfo.refundType == 1 && examineForm.isAllowed == '1'"
>
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit"
defaultWidth=
"284px"
:isBlock=
"true"
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit"
defaultWidth=
"284px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
:formRules=
"examineRules"
></glsx-combi-form>
</
template
>
</
template
>
</el-form>
</el-form>
</GLDialog>
</GLDialog>
...
@@ -222,7 +221,7 @@
...
@@ -222,7 +221,7 @@
<
script
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
utils
}
from
'glsx-common'
import
{
utils
}
from
'glsx-common'
import
{
import
{
businessType
,
businessType
,
orderManageStatusList
,
orderManageStatusList
,
...
@@ -279,8 +278,8 @@ export default {
...
@@ -279,8 +278,8 @@ export default {
deliveryNumber
:
''
deliveryNumber
:
''
},
},
expressRules
:
{
expressRules
:
{
deliveryCompany
:
[{
required
:
true
,
message
:
'快递公司是必填项'
,
trigger
:
'change'
}],
deliveryCompany
:
[{
required
:
true
,
message
:
'快递公司是必填项'
,
trigger
:
'change'
}],
deliveryNumber
:
[{
required
:
true
,
message
:
'快递单号是必填项'
,
trigger
:
'change'
}]
deliveryNumber
:
[{
required
:
true
,
message
:
'快递单号是必填项'
,
trigger
:
'change'
}]
},
},
expressFormData
:
[
expressFormData
:
[
{
{
...
@@ -302,7 +301,7 @@ export default {
...
@@ -302,7 +301,7 @@ export default {
verificationCode
:
''
verificationCode
:
''
},
},
writeOffRules
:
{
writeOffRules
:
{
verificationCode
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
verificationCode
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
},
},
writeOffFormData
:
[
writeOffFormData
:
[
{
{
...
@@ -322,10 +321,10 @@ export default {
...
@@ -322,10 +321,10 @@ export default {
contactPhone
:
''
contactPhone
:
''
},
},
examineRules
:
{
examineRules
:
{
contactAddress
:
[{
required
:
true
,
message
:
'退货地址是必填项'
,
trigger
:
'change'
}],
contactAddress
:
[{
required
:
true
,
message
:
'退货地址是必填项'
,
trigger
:
'change'
}],
contactName
:
[{
required
:
true
,
message
:
'联系人是必填项'
,
trigger
:
'change'
}],
contactName
:
[{
required
:
true
,
message
:
'联系人是必填项'
,
trigger
:
'change'
}],
contactPhone
:
[
contactPhone
:
[
{
required
:
true
,
message
:
'手机号是必填项'
,
trigger
:
'change'
},
{
required
:
true
,
message
:
'手机号是必填项'
,
trigger
:
'change'
},
{
{
validator
:
(
rule
,
value
,
callback
)
=>
{
validator
:
(
rule
,
value
,
callback
)
=>
{
let
phoneReg
=
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
let
phoneReg
=
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
...
@@ -465,7 +464,7 @@ export default {
...
@@ -465,7 +464,7 @@ export default {
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
secondConfirm
(
'设为已完结'
,
'请确定将此订单营销状态设为已完结?'
,
'orderManage'
,
'finishOrderStatus'
,
{
subOrderCode
:
row
.
orderCode
},
false
)
this
.
secondConfirm
(
'设为已完结'
,
'请确定将此订单营销状态设为已完结?'
,
'orderManage'
,
'finishOrderStatus'
,
{
subOrderCode
:
row
.
orderCode
},
false
)
}
}
}
}
}
}
...
@@ -477,7 +476,7 @@ export default {
...
@@ -477,7 +476,7 @@ export default {
tableOption
:
true
,
tableOption
:
true
,
tableColumns
:
[]
tableColumns
:
[]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 基本数据
// 基本数据
baseData
:
{
baseData
:
{
searchOrderStatusList
:
orderManageStatusList
.
filter
(
item
=>
[
'1'
,
'3'
,
'21'
,
'22'
,
'6'
,
'9'
].
includes
(
item
.
confId
)),
searchOrderStatusList
:
orderManageStatusList
.
filter
(
item
=>
[
'1'
,
'3'
,
'21'
,
'22'
,
'6'
,
'9'
].
includes
(
item
.
confId
)),
...
@@ -487,28 +486,28 @@ export default {
...
@@ -487,28 +486,28 @@ export default {
orderSourceList
:
orderSourceList
,
orderSourceList
:
orderSourceList
,
deliveryTypeList
:
deliveryTypeList
,
deliveryTypeList
:
deliveryTypeList
,
refundTypeList
:
[
refundTypeList
:
[
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'2'
,
confName
:
'我要退款(无需退货)'
},
{
confId
:
'2'
,
confName
:
'我要退款(无需退货)'
},
{
confId
:
'3'
,
confName
:
'众筹订单退款'
}
{
confId
:
'3'
,
confName
:
'众筹订单退款'
}
],
],
shareStaffSourceList
:
[
shareStaffSourceList
:
[
{
confId
:
'1'
,
confName
:
'个微'
},
{
confId
:
'1'
,
confName
:
'个微'
},
{
confId
:
'2'
,
confName
:
'企微'
},
{
confId
:
'2'
,
confName
:
'企微'
},
{
confId
:
'3'
,
confName
:
'员工'
}
{
confId
:
'3'
,
confName
:
'员工'
}
],
],
testSheetTypeList
:
[
testSheetTypeList
:
[
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'1'
,
confName
:
'是'
}
{
confId
:
'1'
,
confName
:
'是'
}
],
],
isOffSheetTypeList
:
[
isOffSheetTypeList
:
[
{
confId
:
'0'
,
confName
:
'是'
},
{
confId
:
'0'
,
confName
:
'是'
},
{
confId
:
'1'
,
confName
:
'否'
}
{
confId
:
'1'
,
confName
:
'否'
}
],
],
businessTypeList
:
utils
.
deepClone
(
businessType
),
businessTypeList
:
utils
.
deepClone
(
businessType
),
marketingStatusList
:
[
marketingStatusList
:
[
{
confId
:
'1'
,
confName
:
'已完结'
},
{
confId
:
'1'
,
confName
:
'已完结'
},
{
confId
:
'3'
,
confName
:
'未完结'
},
{
confId
:
'3'
,
confName
:
'未完结'
},
{
confId
:
'4'
,
confName
:
'已取消'
}
{
confId
:
'4'
,
confName
:
'已取消'
}
]
]
},
},
showTable
:
false
,
showTable
:
false
,
...
@@ -533,7 +532,7 @@ export default {
...
@@ -533,7 +532,7 @@ export default {
},
},
methods
:
{
methods
:
{
async
getCrowdfundingOrderConfig
()
{
async
getCrowdfundingOrderConfig
()
{
const
{
channelType
}
=
this
.
$globalState
.
session
const
{
channelType
}
=
this
.
$globalState
.
session
let
tableColumns
=
[
let
tableColumns
=
[
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
...
@@ -697,7 +696,7 @@ export default {
...
@@ -697,7 +696,7 @@ export default {
prop
:
'afterSaleType'
,
prop
:
'afterSaleType'
,
width
:
100
,
width
:
100
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
{
1
:
'退订单'
,
2
:
'退定金'
}[
cellValue
.
afterSaleType
]
||
'-'
return
{
1
:
'退订单'
,
2
:
'退定金'
}[
cellValue
.
afterSaleType
]
||
'-'
}
}
},
},
{
{
...
@@ -1054,7 +1053,7 @@ export default {
...
@@ -1054,7 +1053,7 @@ export default {
})
})
},
},
async
refundFun
()
{
async
refundFun
()
{
let
{
refundParams
}
=
this
let
{
refundParams
}
=
this
const
res
=
this
.
$apis
.
orderManage
.
crowdFundRefundApi
(
refundParams
)
const
res
=
this
.
$apis
.
orderManage
.
crowdFundRefundApi
(
refundParams
)
this
.
refundVisible
=
false
this
.
refundVisible
=
false
this
.
searchForm
.
requestSource
!=
0
?
this
.
handleSearch
()
:
this
.
$refs
.
allOrderRef
.
refreshTable
(
false
)
this
.
searchForm
.
requestSource
!=
0
?
this
.
handleSearch
()
:
this
.
$refs
.
allOrderRef
.
refreshTable
(
false
)
...
@@ -1097,7 +1096,7 @@ export default {
...
@@ -1097,7 +1096,7 @@ export default {
delete
params
.
createDate
delete
params
.
createDate
// if(params.orderStatuses.includes('3')) return
// if(params.orderStatuses.includes('3')) return
this
.
$apis
.
orderManage
.
getCountApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
getCountApi
(
params
).
then
(
res
=>
{
this
.
statisticsInfo
=
res
||
{
orderCount
:
''
,
payPriceTotal
:
''
,
refundTotal
:
''
}
this
.
statisticsInfo
=
res
||
{
orderCount
:
''
,
payPriceTotal
:
''
,
refundTotal
:
''
}
})
})
},
},
handleDetail
(
row
)
{
handleDetail
(
row
)
{
...
@@ -1170,7 +1169,7 @@ export default {
...
@@ -1170,7 +1169,7 @@ export default {
},
},
handleWriteOff
(
row
)
{
handleWriteOff
(
row
)
{
if
(
row
.
orderSource
==
4
)
{
if
(
row
.
orderSource
==
4
)
{
this
.
secondConfirm
(
'订单核销'
,
'请确定是否核销此订单?'
,
'orderManage'
,
'crowdFundWriteOffApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{
this
.
secondConfirm
(
'订单核销'
,
'请确定是否核销此订单?'
,
'orderManage'
,
'crowdFundWriteOffApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{
},
this
.
searchForm
.
requestSource
!=
0
)
},
this
.
searchForm
.
requestSource
!=
0
)
return
true
return
true
}
}
...
@@ -1223,7 +1222,7 @@ export default {
...
@@ -1223,7 +1222,7 @@ export default {
},
},
handleExamine
(
row
)
{
handleExamine
(
row
)
{
this
.
orderCode
=
row
.
orderCode
this
.
orderCode
=
row
.
orderCode
this
.
$apis
.
orderManage
.
examineDetailApi
({
orderCode
:
row
.
orderCode
}).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
examineDetailApi
({
orderCode
:
row
.
orderCode
}).
then
(
res
=>
{
this
.
orderInfo
=
res
||
{}
this
.
orderInfo
=
res
||
{}
this
.
orderInfo
.
refundTypeName
=
[
1
,
2
,
3
].
includes
(
this
.
orderInfo
.
refundType
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
this
.
orderInfo
.
refundType
+
''
).
confName
:
'-'
this
.
orderInfo
.
refundTypeName
=
[
1
,
2
,
3
].
includes
(
this
.
orderInfo
.
refundType
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
this
.
orderInfo
.
refundType
+
''
).
confName
:
'-'
this
.
orderInfo
.
createdDateStr
=
this
.
orderInfo
.
createdDate
?
dayjs
(
this
.
orderInfo
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
this
.
orderInfo
.
createdDateStr
=
this
.
orderInfo
.
createdDate
?
dayjs
(
this
.
orderInfo
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
...
@@ -1254,7 +1253,7 @@ export default {
...
@@ -1254,7 +1253,7 @@ export default {
})
})
},
},
handleReceiving
(
row
)
{
handleReceiving
(
row
)
{
this
.
$apis
.
orderManage
.
examineDetailApi
({
orderCode
:
row
.
orderCode
}).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
examineDetailApi
({
orderCode
:
row
.
orderCode
}).
then
(
res
=>
{
this
.
orderInfo
=
res
||
{}
this
.
orderInfo
=
res
||
{}
this
.
orderInfo
.
refundTypeName
=
[
1
,
2
,
3
].
includes
(
this
.
orderInfo
.
refundType
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
this
.
orderInfo
.
refundType
+
''
).
confName
:
'-'
this
.
orderInfo
.
refundTypeName
=
[
1
,
2
,
3
].
includes
(
this
.
orderInfo
.
refundType
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
this
.
orderInfo
.
refundType
+
''
).
confName
:
'-'
this
.
orderInfo
.
createdDateStr
=
this
.
orderInfo
.
createdDate
?
dayjs
(
this
.
orderInfo
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
this
.
orderInfo
.
createdDateStr
=
this
.
orderInfo
.
createdDate
?
dayjs
(
this
.
orderInfo
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
...
...
src/views/productStore/index.vue
View file @
3a2c48d
...
@@ -339,6 +339,10 @@ export default {
...
@@ -339,6 +339,10 @@ export default {
{
{
confId
:
'4'
,
confId
:
'4'
,
confName
:
'配置升级商品'
confName
:
'配置升级商品'
},
{
confId
:
'5'
,
confName
:
'车主优选商品'
}
}
]
]
}
}
...
...
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