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 d80dcb34
authored
Aug 03, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
orderSource 6:配置升级订单;7:车主优选订单;这两个类型只有查看按钮
1 parent
e8c48320
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
478 additions
and
433 deletions
src/views/orderManage/index.vue
src/views/orderManage/index.vue
View file @
d80dcb3
...
...
@@ -3,7 +3,7 @@
<div
class=
"marketing order-manage"
>
<template
v-if=
"showTable"
>
<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=
"txt-blue"
>
{{
statisticsInfo
.
orderCount
||
0
}}
</span>
...
...
@@ -16,7 +16,8 @@
</div>
<div
class=
"container"
>
<div
class=
"sticky"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"flex"
>
<div
class=
"flex-default tabs"
>
...
...
@@ -28,17 +29,22 @@
<el-tab-pane
label=
"售后订单"
name=
"4"
></el-tab-pane>
</el-tabs>
</div>
<el-button
v-if=
"configShow"
class=
"default-blue-btn"
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
v-if=
"configShow"
class=
"default-blue-btn"
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
<!-- 表格区域 - 全部订单/售后订单 - 开始 -->
<div
class=
"order-manage-table"
>
<GLTable
ref=
"allOrderRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"allOrderRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"giveEquityCard"
slot-scope=
"scope"
v-if=
"showGh && scope.scope.giveEquityCard == 1"
>
<div
class=
"gold-sign"
>
送会员
</div>
</div>
<div
slot=
"weChatName"
class=
"flex-align"
slot-scope=
"scope"
>
<img
v-if=
"scope.scope.weChatImageUrl"
class=
"img-36 pointer img-circle"
:src=
"scope.scope.weChatImageUrl"
/>
<img
v-if=
"scope.scope.weChatImageUrl"
class=
"img-36 pointer img-circle"
:src=
"scope.scope.weChatImageUrl"
/>
<span
class=
"m-l-10"
>
{{
scope
.
scope
.
weChatName
}}
</span>
<span
v-if=
"!scope.scope.shareAvatar && !scope.scope.weChatName"
>
-
</span>
</div>
...
...
@@ -46,16 +52,21 @@
{{
Array
.
isArray
(
scope
.
scope
.
vinNo
)
?
scope
.
scope
.
vinNo
[
0
]
:
scope
.
scope
.
vinNo
}}
<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>
<span
class=
"car-no"
slot=
"reference"
v-show=
"Array.isArray(scope.scope.vinNo)"
>
...(
{{
scope
.
scope
.
vinNo
.
length
-
1
}}
)
</span>
<span
class=
"car-no"
slot=
"reference"
v-show=
"Array.isArray(scope.scope.vinNo)"
>
...(
{{
scope
.
scope
.
vinNo
.
length
-
1
}}
)
</span>
</el-popover>
</
template
>
<div
slot=
"orderStatus"
slot-scope=
"scope"
>
<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>
{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}
</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>
<span>
{{
baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-'
}}
</span>
</div>
<div
slot=
"shareStaffName"
class=
"table-image"
slot-scope=
"scope"
>
<div>
<img
v-if=
"scope.scope.shareStaffImageUrl"
class=
"img-36 pointer img-circle"
style=
"vertical-align: middle"
slot=
"reference"
:src=
"scope.scope.shareStaffImageUrl"
/>
<img
v-if=
"scope.scope.shareStaffImageUrl"
class=
"img-36 pointer img-circle"
style=
"vertical-align: middle"
slot=
"reference"
:src=
"scope.scope.shareStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span>
{{ scope.scope.shareStaffName }}
</span>
<span
class=
"txt-green"
v-if=
"scope.scope.shareStaffSource == 1"
>
@微信
</span>
...
...
@@ -68,13 +79,15 @@
<div
slot=
"assignName"
slot-scope=
"scope"
>
<div>
<
template
v-if=
"scope.scope.assignStaffName"
>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.assignStaffImageUrl"
:src=
"scope.scope.assignStaffImageUrl"
/>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.assignStaffImageUrl"
:src=
"scope.scope.assignStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span>
{{
scope
.
scope
.
assignStaffName
}}
</span>
</span>
</
template
>
<
template
v-else-if=
"scope.scope.shareStaffName"
>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.shareStaffImageUrl"
:src=
"scope.scope.shareStaffImageUrl"
/>
<img
class=
"img-36 pointer img-circle"
v-if=
"scope.scope.shareStaffImageUrl"
:src=
"scope.scope.shareStaffImageUrl"
/>
<span
class=
"m-l-10"
>
<span>
{{
scope
.
scope
.
shareStaffName
}}
</span>
</span>
...
...
@@ -88,18 +101,19 @@
</div>
<div
slot=
"marketingStatus"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.marketingStatus"
>
<span
:class=
"['table-circle', 'm-r-8', [1, 2].includes(scope.scope.marketingStatus) ? 'back-green' : 'back-grey']"
></span>
<span
:class=
"['table-circle', 'm-r-8', [1, 2].includes(scope.scope.marketingStatus) ? 'back-green' : 'back-grey']"
></span>
</
template
>
<span>
{{
scope.scope.marketingStatus
? {
? {
1: '已完结',
2: '已完结',
3: '未完结',
4: '已取消'
}[scope.scope.marketingStatus]
: '-'
: '-'
}}
</span>
</div>
...
...
@@ -113,15 +127,23 @@
</div>
</template>
<!-- 快递信息 -->
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"expressRef"
:isBlock=
"true"
defaultWidth=
"284px"
:isEdit=
"isEdit"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"expressRef"
:isBlock=
"true"
defaultWidth=
"284px"
:isEdit=
"isEdit"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
</GLDialog>
<!-- 订单核销 -->
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"writeOffRef"
:isBlock=
"true"
defaultWidth=
"284px"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"mid"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content m-t-20"
ref=
"writeOffRef"
:isBlock=
"true"
defaultWidth=
"284px"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
</GLDialog>
<!-- 退款审核 -->
<GLDialog
v-if=
"isExamineVisible"
bigTitle=
"退款审核"
mode=
"big"
:visible
.
sync=
"isExamineVisible"
@
onOk=
"handleExamineConfirm"
@
onCancel=
"handleExamineClose"
>
<GLDialog
v-if=
"isExamineVisible"
bigTitle=
"退款审核"
mode=
"big"
:visible
.
sync=
"isExamineVisible"
@
onOk=
"handleExamineConfirm"
@
onCancel=
"handleExamineClose"
>
<el-form
label-width=
"144px"
>
<el-form-item
label=
"售后类型"
>
<span>
{{ orderInfo.refundTypeName }}
</span>
...
...
@@ -147,12 +169,15 @@
</el-radio-group>
</el-form-item>
<
template
v-if=
"orderInfo.refundType == 1 && examineForm.isAllowed == '1'"
>
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit"
defaultWidth=
"284px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit"
defaultWidth=
"284px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
</
template
>
</el-form>
</GLDialog>
<!-- 确认收货 -->
<GLDialog
v-if=
"isReceivingVisible"
bigTitle=
"确认收货"
mode=
"big"
:visible
.
sync=
"isReceivingVisible"
@
onOk=
"handleReceivingConfirm"
@
onCancel=
"handleReceivingClose"
>
<GLDialog
v-if=
"isReceivingVisible"
bigTitle=
"确认收货"
mode=
"big"
:visible
.
sync=
"isReceivingVisible"
@
onOk=
"handleReceivingConfirm"
@
onCancel=
"handleReceivingClose"
>
<el-form
label-width=
"140px"
>
<el-form-item
label=
"售后类型"
>
<span>
{{ orderInfo.refundTypeName }}
</span>
...
...
@@ -180,8 +205,16 @@
<
script
>
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
{
utils
}
from
'glsx-common'
import
{
businessType
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
exportFn
}
from
'@/common/constant'
import
{
utils
}
from
'glsx-common'
import
{
businessType
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
exportFn
}
from
'@/common/constant'
export
default
{
name
:
'orderManage'
,
data
()
{
...
...
@@ -227,8 +260,8 @@ export default {
deliveryNumber
:
''
},
expressRules
:
{
deliveryCompany
:
[{
required
:
true
,
message
:
'快递公司是必填项'
,
trigger
:
'change'
}],
deliveryNumber
:
[{
required
:
true
,
message
:
'快递单号是必填项'
,
trigger
:
'change'
}]
deliveryCompany
:
[{
required
:
true
,
message
:
'快递公司是必填项'
,
trigger
:
'change'
}],
deliveryNumber
:
[{
required
:
true
,
message
:
'快递单号是必填项'
,
trigger
:
'change'
}]
},
expressFormData
:
[
{
...
...
@@ -250,7 +283,7 @@ export default {
verificationCode
:
''
},
writeOffRules
:
{
verificationCode
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
verificationCode
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
},
writeOffFormData
:
[
{
...
...
@@ -270,10 +303,10 @@ export default {
contactPhone
:
''
},
examineRules
:
{
contactAddress
:
[{
required
:
true
,
message
:
'退货地址是必填项'
,
trigger
:
'change'
}],
contactName
:
[{
required
:
true
,
message
:
'联系人是必填项'
,
trigger
:
'change'
}],
contactAddress
:
[{
required
:
true
,
message
:
'退货地址是必填项'
,
trigger
:
'change'
}],
contactName
:
[{
required
:
true
,
message
:
'联系人是必填项'
,
trigger
:
'change'
}],
contactPhone
:
[
{
required
:
true
,
message
:
'手机号是必填项'
,
trigger
:
'change'
},
{
required
:
true
,
message
:
'手机号是必填项'
,
trigger
:
'change'
},
{
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}
$/
...
...
@@ -331,7 +364,8 @@ export default {
},
listeners
:
{
click
:
row
=>
{
this
.
secondConfirm
(
'退款'
,
'请确定是否发起退款?'
,
'orderManage'
,
'crowdFundRefundApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{},
this
.
searchForm
.
requestSource
!=
0
)
this
.
secondConfirm
(
'退款'
,
'请确定是否发起退款?'
,
'orderManage'
,
'crowdFundRefundApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{
},
this
.
searchForm
.
requestSource
!=
0
)
}
}
},
...
...
@@ -359,7 +393,7 @@ export default {
fn
:
'商品发货'
},
condition
:
row
=>
{
return
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
return
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
&&
(
row
.
orderSource
!==
6
&&
row
.
orderSource
!==
7
)
},
listeners
:
{
click
:
this
.
handleExpressInfo
...
...
@@ -399,11 +433,11 @@ export default {
type
:
'text'
},
condition
:
row
=>
{
return
row
.
marketingStatus
&&
row
.
marketingStatus
==
3
return
row
.
marketingStatus
&&
row
.
marketingStatus
==
3
&&
(
row
.
orderSource
!==
6
&&
row
.
orderSource
!==
7
)
},
listeners
:
{
click
:
row
=>
{
this
.
secondConfirm
(
'设为已完结'
,
'请确定将此订单营销状态设为已完结?'
,
'orderManage'
,
'finishOrderStatus'
,
{
subOrderCode
:
row
.
orderCode
},
false
)
this
.
secondConfirm
(
'设为已完结'
,
'请确定将此订单营销状态设为已完结?'
,
'orderManage'
,
'finishOrderStatus'
,
{
subOrderCode
:
row
.
orderCode
},
false
)
}
}
}
...
...
@@ -415,7 +449,7 @@ export default {
tableOption
:
true
,
tableColumns
:
[]
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 基本数据
baseData
:
{
searchOrderStatusList
:
orderManageStatusList
.
filter
(
item
=>
[
'1'
,
'3'
,
'21'
,
'22'
,
'6'
,
'9'
].
includes
(
item
.
confId
)),
...
...
@@ -425,28 +459,28 @@ export default {
orderSourceList
:
orderSourceList
,
deliveryTypeList
:
deliveryTypeList
,
refundTypeList
:
[
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'2'
,
confName
:
'我要退款(无需退货)'
},
{
confId
:
'3'
,
confName
:
'众筹订单退款'
}
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'2'
,
confName
:
'我要退款(无需退货)'
},
{
confId
:
'3'
,
confName
:
'众筹订单退款'
}
],
shareStaffSourceList
:
[
{
confId
:
'1'
,
confName
:
'个微'
},
{
confId
:
'2'
,
confName
:
'企微'
},
{
confId
:
'3'
,
confName
:
'员工'
}
{
confId
:
'1'
,
confName
:
'个微'
},
{
confId
:
'2'
,
confName
:
'企微'
},
{
confId
:
'3'
,
confName
:
'员工'
}
],
testSheetTypeList
:
[
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'1'
,
confName
:
'是'
}
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'1'
,
confName
:
'是'
}
],
isOffSheetTypeList
:
[
{
confId
:
'0'
,
confName
:
'是'
},
{
confId
:
'1'
,
confName
:
'否'
}
{
confId
:
'0'
,
confName
:
'是'
},
{
confId
:
'1'
,
confName
:
'否'
}
],
businessTypeList
:
utils
.
deepClone
(
businessType
),
marketingStatusList
:
[
{
confId
:
'1'
,
confName
:
'已完结'
},
{
confId
:
'3'
,
confName
:
'未完结'
},
{
confId
:
'4'
,
confName
:
'已取消'
}
{
confId
:
'1'
,
confName
:
'已完结'
},
{
confId
:
'3'
,
confName
:
'未完结'
},
{
confId
:
'4'
,
confName
:
'已取消'
}
]
},
showTable
:
false
,
...
...
@@ -473,409 +507,409 @@ export default {
methods
:
{
async
getCrowdfundingOrderConfig
()
{
const
{
channelType
}
=
this
.
$globalState
.
session
const
{
channelType
}
=
this
.
$globalState
.
session
let
tableColumns
=
[
{
label
:
'客户名称'
,
prop
:
'customerName'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
{
label
:
'手机号'
,
prop
:
'customerPhone'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerPhone
||
'-'
}
},
{
label
:
'其他'
,
prop
:
'otherInformation'
,
width
:
210
},
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
210
},
{
label
:
'推荐人'
,
prop
:
'shareStaffName'
,
width
:
210
,
addHtml
:
'shareStaffName'
},
{
label
:
'推荐人ID'
,
name
:
'shareStaffId'
,
prop
:
'shareStaffId'
,
width
:
210
},
{
label
:
'指派人'
,
prop
:
'assignName'
,
width
:
210
,
addHtml
:
'assignName'
},
{
label
:
'推荐人手机号'
,
prop
:
'shareStaffPhone'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
shareStaffPhone
||
'-'
}
},
{
label
:
'订单时间'
,
prop
:
'createdDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
},
{
label
:
'支付时间'
,
prop
:
'payDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
cellValue
.
payDate
?
dayjs
(
cellValue
.
payDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'核销时间'
,
prop
:
'verificationDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
cellValue
.
verificationDate
?
dayjs
(
cellValue
.
verificationDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'车架号'
,
prop
:
'vinNo'
,
width
:
130
,
addHtml
:
'vinNo'
},
{
label
:
'订单状态'
,
prop
:
'orderStatus'
,
addHtml
:
'orderStatus'
,
width
:
160
},
{
label
:
'业务场景'
,
prop
:
'businessType'
,
{
label
:
'客户名称'
,
prop
:
'customerName'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
{
label
:
'手机号'
,
prop
:
'customerPhone'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerPhone
||
'-'
}
},
{
label
:
'其他'
,
prop
:
'otherInformation'
,
width
:
210
},
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
210
},
{
label
:
'推荐人'
,
prop
:
'shareStaffName'
,
width
:
210
,
addHtml
:
'shareStaffName'
},
{
label
:
'推荐人ID'
,
name
:
'shareStaffId'
,
prop
:
'shareStaffId'
,
width
:
210
},
{
label
:
'指派人'
,
prop
:
'assignName'
,
width
:
210
,
addHtml
:
'assignName'
},
{
label
:
'推荐人手机号'
,
prop
:
'shareStaffPhone'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
shareStaffPhone
||
'-'
}
},
{
label
:
'订单时间'
,
prop
:
'createdDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
},
{
label
:
'支付时间'
,
prop
:
'payDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
cellValue
.
payDate
?
dayjs
(
cellValue
.
payDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'核销时间'
,
prop
:
'verificationDate'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
return
cellValue
.
verificationDate
?
dayjs
(
cellValue
.
verificationDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
},
{
label
:
'车架号'
,
prop
:
'vinNo'
,
width
:
130
,
addHtml
:
'vinNo'
},
{
label
:
'订单状态'
,
prop
:
'orderStatus'
,
addHtml
:
'orderStatus'
,
width
:
160
},
{
label
:
'业务场景'
,
prop
:
'businessType'
,
width
:
120
,
formatter
:
cellValue
=>
{
let
type
=
cellValue
.
businessType
if
(
type
)
{
return
businessType
.
find
(
item
=>
item
.
optionId
==
type
).
optionLabel
}
else
{
return
'-'
width
:
120
,
formatter
:
cellValue
=>
{
let
type
=
cellValue
.
businessType
if
(
type
)
{
return
businessType
.
find
(
item
=>
item
.
optionId
==
type
).
optionLabel
}
else
{
return
'-'
}
}
}
},
{
label
:
'商品名称'
,
prop
:
''
,
width
:
'120'
,
formatter
:
cellValue
=>
{
return
cellValue
.
orderGoods
.
length
?
cellValue
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
}
},
{
label
:
''
,
addHtml
:
'giveEquityCard'
,
width
:
80
},
{
label
:
channelType
==
2
?
'付款金额/元'
:
'支付定金/元'
,
prop
:
'payPrice'
,
width
:
'120'
,
formatter
:
cellValue
=>
{
return
cellValue
.
payPrice
||
'0'
}
},
{
label
:
'活动名称'
,
prop
:
'activityName'
,
width
:
'120'
},
{
label
:
'门店信息'
,
prop
:
'merchantName'
,
line
:
1
,
width
:
280
},
},
{
label
:
'商品名称'
,
prop
:
''
,
width
:
'120'
,
formatter
:
cellValue
=>
{
return
cellValue
.
orderGoods
.
length
?
cellValue
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
}
},
{
label
:
''
,
addHtml
:
'giveEquityCard'
,
width
:
80
},
{
label
:
channelType
==
2
?
'付款金额/元'
:
'支付定金/元'
,
prop
:
'payPrice'
,
width
:
'120'
,
formatter
:
cellValue
=>
{
return
cellValue
.
payPrice
||
'0'
}
},
{
label
:
'活动名称'
,
prop
:
'activityName'
,
width
:
'120'
},
{
label
:
'门店信息'
,
prop
:
'merchantName'
,
line
:
1
,
width
:
280
},
{
label
:
'赠送积分'
,
prop
:
'giveIntegral'
,
line
:
1
,
width
:
150
},
{
label
:
'订单类型'
,
prop
:
'orderSource'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
orderSourceList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderSource
+
''
)
?
this
.
baseData
.
orderSourceList
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderSource
).
confName
:
'-'
}
},
{
label
:
'测试单'
,
prop
:
'orderType'
,
width
:
'100'
,
// addHtml: 'orderType'
formatter
:
cellValue
=>
{
return
cellValue
.
orderType
==
1
?
'是'
:
'否'
}
},
{
label
:
'退款类型'
,
prop
:
'afterSaleType'
,
width
:
100
,
formatter
:
cellValue
=>
{
return
{
1
:
'退订单'
,
2
:
'退定金'
}[
cellValue
.
afterSaleType
]
||
'-'
}
},
{
label
:
'营销状态'
,
name
:
'marketingStatus'
,
width
:
180
,
addHtml
:
'marketingStatus'
},
{
label
:
'售后状态'
,
prop
:
'afterSaleStatus'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
afterSaleStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
afterSaleStatus
+
''
)
?
this
.
baseData
.
afterSaleStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
afterSaleStatus
).
confName
:
'-'
}
},
{
label
:
'结算方式'
,
prop
:
'deliveryType'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
deliveryTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
deliveryType
+
''
)
?
this
.
baseData
.
deliveryTypeList
.
find
(
item
=>
item
.
confId
==
cellValue
.
deliveryType
).
confName
:
'-'
}
},
{
label
:
'订单编号'
,
prop
:
'orderCode'
,
width
:
'180'
},
{
label
:
'商户订单号'
,
prop
:
'outTradeNo'
,
width
:
'160'
,
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
{
label
:
'订单类型'
,
prop
:
'orderSource'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
orderSourceList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderSource
+
''
)
?
this
.
baseData
.
orderSourceList
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderSource
).
confName
:
'-'
}
},
{
label
:
'测试单'
,
prop
:
'orderType'
,
width
:
'100'
,
// addHtml: 'orderType'
formatter
:
cellValue
=>
{
return
cellValue
.
orderType
==
1
?
'是'
:
'否'
}
},
{
label
:
'退款类型'
,
prop
:
'afterSaleType'
,
width
:
100
,
formatter
:
cellValue
=>
{
return
{
1
:
'退订单'
,
2
:
'退定金'
}[
cellValue
.
afterSaleType
]
||
'-'
}
},
{
label
:
'营销状态'
,
name
:
'marketingStatus'
,
width
:
180
,
addHtml
:
'marketingStatus'
},
{
label
:
'售后状态'
,
prop
:
'afterSaleStatus'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
afterSaleStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
afterSaleStatus
+
''
)
?
this
.
baseData
.
afterSaleStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
afterSaleStatus
).
confName
:
'-'
}
},
{
label
:
'结算方式'
,
prop
:
'deliveryType'
,
width
:
'100'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
deliveryTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
deliveryType
+
''
)
?
this
.
baseData
.
deliveryTypeList
.
find
(
item
=>
item
.
confId
==
cellValue
.
deliveryType
).
confName
:
'-'
}
},
{
label
:
'订单编号'
,
prop
:
'orderCode'
,
width
:
'180'
},
{
label
:
'商户订单号'
,
prop
:
'outTradeNo'
,
width
:
'160'
,
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
}
}
}
],
searchFormData
=
[
{
label
:
'订单编号
'
,
name
:
'orderCode'
,
type
:
'input'
},
{
label
:
'订单状态
'
,
name
:
'orderStatuses
'
,
type
:
'select'
,
multiple
:
true
,
optionList
:
[]
,
optionId
:
'confId
'
,
optionLabel
:
'confName
'
,
optionsName
:
'searchOrderStatusList'
,
changeAttr
:
(
value
,
targetItem
)
=>
{
var
isAdd
=
value
.
length
>
this
.
oldVal
.
orderStatuses
.
length
var
targetVal
=
value
[
value
.
length
-
1
]
var
formIdx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
label
==
'订单状态'
)
if
(
!
isAdd
)
{
for
(
var
i
=
0
;
i
<
this
.
oldVal
.
orderStatuses
.
length
;
i
++
)
{
if
(
!
value
.
includes
(
this
.
oldVal
.
orderStatuses
[
i
]))
{
targetVal
=
this
.
oldVal
.
orderStatuses
[
i
]
break
],
searchFormData
=
[
{
label
:
'订单编号'
,
name
:
'orderCode
'
,
type
:
'input'
},
{
label
:
'订单状态'
,
name
:
'orderStatuses
'
,
type
:
'select
'
,
multiple
:
true
,
optionList
:
[]
,
optionId
:
'confId'
,
optionLabel
:
'confName
'
,
optionsName
:
'searchOrderStatusList
'
,
changeAttr
:
(
value
,
targetItem
)
=>
{
var
isAdd
=
value
.
length
>
this
.
oldVal
.
orderStatuses
.
length
var
targetVal
=
value
[
value
.
length
-
1
]
var
formIdx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
label
==
'订单状态'
)
if
(
!
isAdd
)
{
for
(
var
i
=
0
;
i
<
this
.
oldVal
.
orderStatuses
.
length
;
i
++
)
{
if
(
!
value
.
includes
(
this
.
oldVal
.
orderStatuses
[
i
])
)
{
targetVal
=
this
.
oldVal
.
orderStatuses
[
i
]
break
}
}
}
}
!
targetVal
&&
(
this
.
searchForm
.
orderStatuses
=
isAdd
?
this
.
searchFormData
[
formIdx
].
optionList
.
map
(
item
=>
item
.
confId
)
:
[])
if
(
targetVal
)
{
var
idx
=
value
.
findIndex
(
item
=>
item
==
''
)
if
(
idx
!=
-
1
&&
this
.
searchForm
.
orderStatuses
.
length
<
this
.
searchFormData
[
formIdx
].
optionList
.
length
)
{
this
.
searchForm
.
orderStatuses
.
splice
(
idx
,
1
)
}
else
if
(
idx
==
-
1
&&
this
.
searchForm
.
orderStatuses
.
length
==
this
.
searchFormData
[
formIdx
].
optionList
.
length
-
1
)
{
this
.
searchForm
.
orderStatuses
.
push
(
''
)
!
targetVal
&&
(
this
.
searchForm
.
orderStatuses
=
isAdd
?
this
.
searchFormData
[
formIdx
].
optionList
.
map
(
item
=>
item
.
confId
)
:
[])
if
(
targetVal
)
{
var
idx
=
value
.
findIndex
(
item
=>
item
==
''
)
if
(
idx
!=
-
1
&&
this
.
searchForm
.
orderStatuses
.
length
<
this
.
searchFormData
[
formIdx
].
optionList
.
length
)
{
this
.
searchForm
.
orderStatuses
.
splice
(
idx
,
1
)
}
else
if
(
idx
==
-
1
&&
this
.
searchForm
.
orderStatuses
.
length
==
this
.
searchFormData
[
formIdx
].
optionList
.
length
-
1
)
{
this
.
searchForm
.
orderStatuses
.
push
(
''
)
}
}
this
.
oldVal
.
orderStatuses
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
.
orderStatuses
)
}
this
.
oldVal
.
orderStatuses
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
.
orderStatuses
)
}
},
{
label
:
'售后状态'
,
name
:
'afterSaleStatuses'
,
type
:
'select'
,
labelWidth
:
72
,
multiple
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'searchAfterSaleStatusList'
,
changeAttr
:
(
value
,
targetItem
)
=>
{
var
isAdd
=
value
.
length
>
this
.
oldVal
.
afterSaleStatuses
.
length
var
targetVal
=
value
[
value
.
length
-
1
]
var
formIdx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
label
==
'售后状态'
)
if
(
!
isAdd
)
{
for
(
var
i
=
0
;
i
<
this
.
oldVal
.
afterSaleStatuses
.
length
;
i
++
)
{
if
(
!
value
.
includes
(
this
.
oldVal
.
afterSaleStatuses
[
i
]))
{
targetVal
=
this
.
oldVal
.
afterSaleStatuses
[
i
]
break
},
{
label
:
'售后状态'
,
name
:
'afterSaleStatuses'
,
type
:
'select'
,
labelWidth
:
72
,
multiple
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'searchAfterSaleStatusList'
,
changeAttr
:
(
value
,
targetItem
)
=>
{
var
isAdd
=
value
.
length
>
this
.
oldVal
.
afterSaleStatuses
.
length
var
targetVal
=
value
[
value
.
length
-
1
]
var
formIdx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
label
==
'售后状态'
)
if
(
!
isAdd
)
{
for
(
var
i
=
0
;
i
<
this
.
oldVal
.
afterSaleStatuses
.
length
;
i
++
)
{
if
(
!
value
.
includes
(
this
.
oldVal
.
afterSaleStatuses
[
i
]))
{
targetVal
=
this
.
oldVal
.
afterSaleStatuses
[
i
]
break
}
}
}
}
!
targetVal
&&
(
this
.
searchForm
.
afterSaleStatuses
=
isAdd
?
this
.
searchFormData
[
formIdx
].
optionList
.
map
(
item
=>
item
.
confId
)
:
[])
if
(
targetVal
)
{
var
idx
=
value
.
findIndex
(
item
=>
item
==
''
)
if
(
idx
!=
-
1
&&
this
.
searchForm
.
afterSaleStatuses
.
length
<
this
.
searchFormData
[
formIdx
].
optionList
.
length
)
{
this
.
searchForm
.
afterSaleStatuses
.
splice
(
idx
,
1
)
}
else
if
(
idx
==
-
1
&&
this
.
searchForm
.
afterSaleStatuses
.
length
==
this
.
searchFormData
[
formIdx
].
optionList
.
length
-
1
)
{
this
.
searchForm
.
afterSaleStatuses
.
push
(
''
)
!
targetVal
&&
(
this
.
searchForm
.
afterSaleStatuses
=
isAdd
?
this
.
searchFormData
[
formIdx
].
optionList
.
map
(
item
=>
item
.
confId
)
:
[])
if
(
targetVal
)
{
var
idx
=
value
.
findIndex
(
item
=>
item
==
''
)
if
(
idx
!=
-
1
&&
this
.
searchForm
.
afterSaleStatuses
.
length
<
this
.
searchFormData
[
formIdx
].
optionList
.
length
)
{
this
.
searchForm
.
afterSaleStatuses
.
splice
(
idx
,
1
)
}
else
if
(
idx
==
-
1
&&
this
.
searchForm
.
afterSaleStatuses
.
length
==
this
.
searchFormData
[
formIdx
].
optionList
.
length
-
1
)
{
this
.
searchForm
.
afterSaleStatuses
.
push
(
''
)
}
}
this
.
oldVal
.
afterSaleStatuses
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
.
afterSaleStatuses
)
}
this
.
oldVal
.
afterSaleStatuses
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
.
afterSaleStatuses
)
},
{
label
:
'门店'
,
name
:
'merchantName'
,
type
:
'input'
,
labelWidth
:
56
},
{
label
:
'客户姓名'
,
name
:
'customerName'
,
type
:
'input'
},
{
label
:
'订单日期'
,
name
:
'createDate'
,
type
:
'datePicker'
,
labelWidth
:
72
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
},
{
label
:
'订单类型'
,
name
:
'orderSource'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'orderSourceList'
},
{
label
:
'结算方式'
,
name
:
'deliveryType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'deliveryTypeList'
},
{
label
:
'商户订单号'
,
name
:
'outTradeNo'
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'车架号'
,
name
:
'vin'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'推荐人'
,
name
:
'shareStaffName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'推荐人类型'
,
name
:
'shareStaffSource'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'shareStaffSourceList'
},
{
label
:
'活动名称'
,
name
:
'activityName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'商品名称'
,
name
:
'goodsName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'手机号'
,
name
:
'customerPhone'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
11
},
{
label
:
'推荐人手机号'
,
name
:
'shareStaffPhone'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
11
},
{
label
:
'测试单'
,
name
:
'orderType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'testSheetTypeList'
},
{
label
:
'业务场景'
,
name
:
'businessType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
,
optionsName
:
'businessTypeList'
},
{
label
:
'营销状态'
,
name
:
'marketingStatus'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'marketingStatusList'
}
},
{
label
:
'门店'
,
name
:
'merchantName'
,
type
:
'input'
,
labelWidth
:
56
},
{
label
:
'客户姓名'
,
name
:
'customerName'
,
type
:
'input'
},
{
label
:
'订单日期'
,
name
:
'createDate'
,
type
:
'datePicker'
,
labelWidth
:
72
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
},
{
label
:
'订单类型'
,
name
:
'orderSource'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'orderSourceList'
},
{
label
:
'结算方式'
,
name
:
'deliveryType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'deliveryTypeList'
},
{
label
:
'商户订单号'
,
name
:
'outTradeNo'
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'车架号'
,
name
:
'vin'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'推荐人'
,
name
:
'shareStaffName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'推荐人类型'
,
name
:
'shareStaffSource'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'shareStaffSourceList'
},
{
label
:
'活动名称'
,
name
:
'activityName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'商品名称'
,
name
:
'goodsName'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
100
},
{
label
:
'手机号'
,
name
:
'customerPhone'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
11
},
{
label
:
'推荐人手机号'
,
name
:
'shareStaffPhone'
,
labelWidth
:
56
,
type
:
'input'
,
maxlength
:
11
},
{
label
:
'测试单'
,
name
:
'orderType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'testSheetTypeList'
},
{
label
:
'业务场景'
,
name
:
'businessType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
,
optionsName
:
'businessTypeList'
},
{
label
:
'营销状态'
,
name
:
'marketingStatus'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'marketingStatusList'
}
]
]
try
{
const
res
=
await
this
.
$apis
.
common
.
getCrowdfundingOrderConfig
(),
filterTableList
=
[
'customerPhone'
,
'shareStaffName'
,
'otherInformation'
,
'assignName'
,
'shareStaffPhone'
,
'verificationDate'
,
'vinNo'
,
'afterSaleStatus'
],
filterFormList
=
[
'afterSaleStatuses'
,
'shareStaffName'
,
'vin'
,
'shareStaffSource'
,
'customerPhone'
,
'shareStaffPhone'
]
filterTableList
=
[
'customerPhone'
,
'shareStaffName'
,
'otherInformation'
,
'assignName'
,
'shareStaffPhone'
,
'verificationDate'
,
'vinNo'
,
'afterSaleStatus'
],
filterFormList
=
[
'afterSaleStatuses'
,
'shareStaffName'
,
'vin'
,
'shareStaffSource'
,
'customerPhone'
,
'shareStaffPhone'
]
this
.
configShow
=
res
!=
1
if
(
res
==
1
)
{
for
(
let
i
=
0
;
i
<
tableColumns
.
length
;
i
++
)
{
...
...
@@ -1018,7 +1052,7 @@ export default {
delete
params
.
createDate
// if(params.orderStatuses.includes('3')) return
this
.
$apis
.
orderManage
.
getCountApi
(
params
).
then
(
res
=>
{
this
.
statisticsInfo
=
res
||
{
orderCount
:
''
,
payPriceTotal
:
''
,
refundTotal
:
''
}
this
.
statisticsInfo
=
res
||
{
orderCount
:
''
,
payPriceTotal
:
''
,
refundTotal
:
''
}
})
},
...
...
@@ -1098,7 +1132,8 @@ export default {
handleWriteOff
(
row
)
{
if
(
row
.
orderSource
==
4
)
{
this
.
secondConfirm
(
'订单核销'
,
'请确定是否核销此订单?'
,
'orderManage'
,
'crowdFundWriteOffApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{},
this
.
searchForm
.
requestSource
!=
0
)
this
.
secondConfirm
(
'订单核销'
,
'请确定是否核销此订单?'
,
'orderManage'
,
'crowdFundWriteOffApi'
,
{
orderCode
:
row
.
orderCode
},
()
=>
{
},
this
.
searchForm
.
requestSource
!=
0
)
return
true
}
this
.
isWriteOffVisible
=
!
this
.
isWriteOffVisible
...
...
@@ -1154,7 +1189,7 @@ export default {
handleExamine
(
row
)
{
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
.
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'
)
:
'-'
...
...
@@ -1188,7 +1223,7 @@ export default {
},
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
.
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'
)
:
'-'
...
...
@@ -1237,14 +1272,17 @@ export default {
min-width
:
80px
!important
;
padding
:
8px
12px
!important
;
}
.order-manage
{
.container
{
padding
:
20px
14px
;
}
.table-tips
{
font-size
:
14px
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
}
.car-no
{
cursor
:
pointer
;
font-size
:
12px
;
...
...
@@ -1253,34 +1291,41 @@ export default {
padding
:
2px
4px
;
line-height
:
25px
;
}
.txt-blue
{
color
:
#5850ff
;
}
.list-tips
{
background
:
#e4e3ff
;
border-radius
:
4px
;
border
:
none
;
}
.order-manage-table
{
padding
:
20px
;
border
:
1px
solid
#e5e5e5
;
border-radius
:
0
4px
4px
4px
;
}
.flex-default.tabs
{
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
0
;
.el-tabs__item
{
background
:
#fafafa
;
border
:
1px
solid
#e5e5e5
!important
;
border-radius
:
4px
4px
0
0
;
border-bottom
:
0
;
}
.is-active
{
border-bottom
:
1px
solid
#fff
!important
;
font-weight
:
500
;
}
}
}
.gold-sign
{
width
:
48px
;
height
:
20px
;
...
...
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