Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2e01460a
authored
Jul 06, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发货单
1 parent
a7938bfb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
145 additions
and
66 deletions
src/api/modules/delivery.js
src/utils/constants.js
src/views/DeliverList/deliverAdd.vue
src/views/DeliverList/deliverDetail.vue
src/views/DeliverList/index.vue
src/api/modules/delivery.js
View file @
2e01460
...
@@ -2,11 +2,22 @@ import { http } from '@/main'
...
@@ -2,11 +2,22 @@ import { http } from '@/main'
const
path
=
'dj.api.smarcarlife.'
const
path
=
'dj.api.smarcarlife.'
// 获取所属分类
const
getTypeList
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
'dj.api.goods.type.list'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 发货单分页查询
// 发货单分页查询
const
getDeliveryList
=
(
params
)
=>
{
const
getDeliveryList
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`
${
path
}
purchaseOrder.delivery.page`
// params.routerMethod = `${path}purchaseOrder.delivery.page`
params
.
routerMethod
=
'dj.api.smarcarlife.purchaseOrder.deliveryDetail.page'
return
http
({
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -15,9 +26,10 @@ const getDeliveryList = (params) => {
...
@@ -15,9 +26,10 @@ const getDeliveryList = (params) => {
})
})
}
}
// 发货单详情查看
// 发货单详情查看
const
getDeliveryDetail
=
(
params
)
=>
{
const
getDeliveryDetail
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`
${
path
}
purchaseOrder.delivery.detail`
// params.routerMethod = `${path}purchaseOrder.delivery.detail`
params
.
routerMethod
=
'dj.api.smarcarlife.purchaseOrder.deliveryDetail.detail'
return
http
({
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -28,7 +40,7 @@ const getDeliveryDetail = (params) => {
...
@@ -28,7 +40,7 @@ const getDeliveryDetail = (params) => {
}
}
// 采购订单入库
// 采购订单入库
const
addPurchaseOrder
=
(
params
)
=>
{
const
addPurchaseOrder
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`
${
path
}
purchaseOrder.warehousing`
params
.
routerMethod
=
`
${
path
}
purchaseOrder.warehousing`
return
http
({
return
http
({
...
@@ -42,7 +54,8 @@ const addPurchaseOrder = (params) => {
...
@@ -42,7 +54,8 @@ const addPurchaseOrder = (params) => {
// 发货单导出
// 发货单导出
export
function
exportExcel
(
params
)
{
export
function
exportExcel
(
params
)
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`
${
path
}
purchaseOrder.delivery.export`
// params.routerMethod = `${path}purchaseOrder.delivery.export`
params
.
routerMethod
=
'dj.api.smarcarlife.purchaseOrder.deliveryDetail.export'
return
http
({
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -51,4 +64,4 @@ export function exportExcel(params) {
...
@@ -51,4 +64,4 @@ export function exportExcel(params) {
})
})
}
}
export
default
{
getDeliveryList
,
addPurchaseOrder
,
exportExcel
,
getDeliveryDetail
}
\ No newline at end of file
\ No newline at end of file
export
default
{
getTypeList
,
getDeliveryList
,
addPurchaseOrder
,
exportExcel
,
getDeliveryDetail
}
\ No newline at end of file
\ No newline at end of file
src/utils/constants.js
View file @
2e01460
...
@@ -2,23 +2,23 @@
...
@@ -2,23 +2,23 @@
export
const
defaultStatusOptions
=
[
export
const
defaultStatusOptions
=
[
{
{
id
:
1
,
id
:
1
,
label
:
"运营审核"
label
:
'运营审核'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"商务审核"
label
:
'商务审核'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
"已取消"
label
:
'已取消'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
"已驳回"
label
:
'已驳回'
},
},
{
{
id
:
5
,
id
:
5
,
label
:
"已审核"
label
:
'已审核'
}
}
// {
// {
// id: 6,
// id: 6,
...
@@ -33,56 +33,56 @@ export const defaultStatusOptions = [
...
@@ -33,56 +33,56 @@ export const defaultStatusOptions = [
export
const
defaultDeliveryStatusOptions
=
[
export
const
defaultDeliveryStatusOptions
=
[
{
{
id
:
1
,
id
:
1
,
label
:
"未发货"
label
:
'未发货'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
"部分发货"
label
:
'部分发货'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"全部发货"
label
:
'全部发货'
}
}
]
]
export
const
putStatusOptions
=
[
export
const
putStatusOptions
=
[
{
{
id
:
1
,
id
:
1
,
label
:
"未入库"
label
:
'未入库'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
"部分入库"
label
:
'部分入库'
},
{
},
{
id
:
2
,
id
:
2
,
label
:
"全部入库"
label
:
'全部入库'
}
}
]
]
// 入库状态
// 入库状态
export
const
defaultPutStatusOptions
=
[
export
const
defaultPutStatusOptions
=
[
{
{
id
:
1
,
id
:
1
,
label
:
"未入库"
label
:
'未入库'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"已入库"
label
:
'已入库'
}
,
}
{
//
{
id
:
3
,
//
id: 3,
label
:
"部分入库"
//
label: "部分入库"
},
//
},
]
]
//采购类型
//采购类型
export
const
purchaseTypeList
=
[
export
const
purchaseTypeList
=
[
{
{
id
:
1
,
id
:
1
,
label
:
"商城采购"
label
:
'商城采购'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
"自采入库"
label
:
'自采入库'
}
,
}
]
]
export
const
membraneTypeList
=
[
1
,
4
,
6
,
12
,
14
]
export
const
membraneTypeList
=
[
1
,
4
,
6
,
12
,
14
]
src/views/DeliverList/deliverAdd.vue
View file @
2e01460
...
@@ -166,7 +166,7 @@ export default {
...
@@ -166,7 +166,7 @@ export default {
tableData
:
[]
tableData
:
[]
}
}
}
,
}
,
created
()
{
}
,
created
()
{
}
,
methods
:
{
methods
:
{
lookNumber
(
data
)
{
lookNumber
(
data
)
{
this
.
innerVisible
=
true
this
.
innerVisible
=
true
...
@@ -230,9 +230,19 @@ export default {
...
@@ -230,9 +230,19 @@ export default {
}
,
}
,
getDetail
()
{
getDetail
()
{
this
.
$apis
.
delivery
.
getDeliveryDetail
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
$apis
.
delivery
.
getDeliveryDetail
({
id
:
this
.
id
}
).
then
(
res
=>
{
let
{
data
}
=
res
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
res
.
data
.
deliveryDetailList
.
forEach
(
item
=>
{
data
.
deliveryDetailList
=
[
item
.
goodsWarehousingList
=
[
{
upgradeGoodsName
:
data
.
upgradeGoodsName
,
goodsType
:
data
.
goodsType
,
purchaseNumber
:
data
.
purchaseNumber
,
deliveryCardList
:
data
.
deliveryCardList
,
stockNum
:
data
.
stockNum
,
orderCode
:
data
.
orderCode
,
orderDeliveryId
:
data
.
orderDeliveryId
,
upgradeGoodsId
:
data
.
upgradeGoodsId
,
goodsWarehousingList
:
[
{
{
increaseStockNum
:
''
,
increaseStockNum
:
''
,
yqMerchantId
:
''
,
yqMerchantId
:
''
,
...
@@ -241,8 +251,9 @@ export default {
...
@@ -241,8 +251,9 @@ export default {
merchantName
:
''
merchantName
:
''
}
}
]
]
}
)
}
this
.
detailInfo
=
res
.
data
]
this
.
detailInfo
=
data
this
.
getMerchantList
()
this
.
getMerchantList
()
}
}
}
)
}
)
...
@@ -292,7 +303,7 @@ export default {
...
@@ -292,7 +303,7 @@ export default {
let
params
=
{
let
params
=
{
deliveryDetailList
:
deliveryDetailList
deliveryDetailList
:
deliveryDetailList
}
}
params
.
id
=
this
.
i
d
params
.
id
=
this
.
detailInfo
.
orderDeliveryI
d
this
.
$apis
.
delivery
.
addPurchaseOrder
(
params
).
then
(
res
=>
{
this
.
$apis
.
delivery
.
addPurchaseOrder
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$message
({
this
.
$message
({
...
@@ -351,13 +362,13 @@ export default {
...
@@ -351,13 +362,13 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
margin
-
left
:
8
px
;
margin
-
left
:
8
px
;
}
}
.
look
-
card
-
wrap
{
.
look
-
card
-
wrap
{
/
deep
/
.
el
-
table
th
.
el
-
table__cell
>
.
cell
{
/
deep
/
.
el
-
table
th
.
el
-
table__cell
>
.
cell
{
padding
:
0
16
px
;
padding
:
0
16
px
;
text
-
align
:
center
;
text
-
align
:
center
;
}
}
/deep/
.
el
-
table__body
td
.
el
-
table__cell
{
/deep/
.
el
-
table__body
td
.
el
-
table__cell
{
text
-
align
:
center
;
text
-
align
:
center
;
}
}
}
}
<
/style
>
<
/style
>
src/views/DeliverList/deliverDetail.vue
View file @
2e01460
...
@@ -14,25 +14,25 @@
...
@@ -14,25 +14,25 @@
<span>
{{
dayjs
(
detailInfo
.
deliveryDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
</span>
<span>
{{
dayjs
(
detailInfo
.
deliveryDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}}
</span>
</div>
</div>
</div>
</div>
<
template
v-for=
"(item, index) in detailInfo.deliveryDetailList"
>
<
!--
<template
v-for=
"(item, index) in detailInfo.deliveryDetailList"
>
--
>
<div
class=
"table-wrap"
:key=
"index
"
>
<div
class=
"table-wrap
"
>
<div
class=
"detail-info"
>
<div
class=
"detail-info"
>
<div>
<div>
商品名称:
商品名称:
<span>
{{
item
.
upgradeGoodsName
}}
</span>
<span>
{{
detailInfo
.
upgradeGoodsName
}}
</span>
</div>
</div>
<div>
<div>
发货数量:
发货数量:
<span>
{{
membraneTypeList
.
includes
(
item
.
goodsType
)
?
`${item.purchaseNumber
}
卷`
:
`${item
.purchaseNumber
}
件`
}}
<
/span
>
<span>
{{
membraneTypeList
.
includes
(
detailInfo
.
goodsType
)
?
`${detailInfo.purchaseNumber
}
卷`
:
`${detailInfo
.purchaseNumber
}
件`
}}
<
/span
>
<
span
class
=
"lookNumber"
@
click
=
"lookNumber(item.deliveryCardList)"
v
-
if
=
"item.deliveryCardList && item
.deliveryCardList.length > 0"
>
查看卡号
<
/span
>
<
span
class
=
"lookNumber"
@
click
=
"lookNumber(detailInfo.deliveryCardList)"
v
-
if
=
"detailInfo.deliveryCardList && detailInfo
.deliveryCardList.length > 0"
>
查看卡号
<
/span
>
<
/div
>
<
/div
>
<
div
>
<
div
>
可用库存数量:
可用库存数量:
<
span
>
{{
item
.
stockNum
}}
{{
membraneTypeList
.
includes
(
item
.
goodsType
)
?
`米`
:
`件`
}}
<
/span
>
<
span
>
{{
detailInfo
.
stockNum
}}
{{
membraneTypeList
.
includes
(
detailInfo
.
goodsType
)
?
`米`
:
`件`
}}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
el
-
form
ref
=
"addForm"
:
model
=
"item"
size
=
"small"
v
-
if
=
"item.deliveryCardList === null||item
.deliveryCardList.length==0"
>
<
el
-
form
ref
=
"addForm"
:
model
=
"detailInfo"
size
=
"small"
v
-
if
=
"detailInfo.deliveryCardList === null||detailInfo
.deliveryCardList.length==0"
>
<
GLTable
:
tableData
=
"item
.goodsWarehousingList"
:
noDataImg
=
"url"
:
tableParams
=
"tableParams"
:
hasPage
=
"false"
>
<
GLTable
:
tableData
=
"detailInfo
.goodsWarehousingList"
:
noDataImg
=
"url"
:
tableParams
=
"tableParams"
:
hasPage
=
"false"
>
<
template
slot
=
"increaseStockNum"
slot
-
scope
=
"scope"
>
<
template
slot
=
"increaseStockNum"
slot
-
scope
=
"scope"
>
<
span
>
{{
membraneTypeList
.
includes
(
scope
.
scope
.
goodsType
)
?
`${scope.scope.increaseStockNum
}
米`
:
`${scope.scope.increaseStockNum
}
件`
}}
<
/span
>
<
span
>
{{
membraneTypeList
.
includes
(
scope
.
scope
.
goodsType
)
?
`${scope.scope.increaseStockNum
}
米`
:
`${scope.scope.increaseStockNum
}
件`
}}
<
/span
>
<
/template
>
<
/template
>
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
已自动入库至商户的权益卡管理中,可前往“库存管理
-
权益卡管理”中查询
已自动入库至商户的权益卡管理中,可前往“库存管理
-
权益卡管理”中查询
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
!--
<
/template> --
>
<
el
-
dialog
width
=
"750px"
title
=
"查看发货卡号"
:
visible
.
sync
=
"innerVisible"
append
-
to
-
body
>
<
el
-
dialog
width
=
"750px"
title
=
"查看发货卡号"
:
visible
.
sync
=
"innerVisible"
append
-
to
-
body
>
<
GLTable
class
=
"look-card-wrap"
:
tableData
=
"tableData"
:
noDataImg
=
"url"
:
tableParams
=
"innerParams"
:
hasPage
=
"false"
><
/GLTable
>
<
GLTable
class
=
"look-card-wrap"
:
tableData
=
"tableData"
:
noDataImg
=
"url"
:
tableParams
=
"innerParams"
:
hasPage
=
"false"
><
/GLTable
>
<
/el-dialog
>
<
/el-dialog
>
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
{
{
label
:
'卡号'
,
label
:
'卡号'
,
prop
:
'cardNum'
,
prop
:
'cardNum'
,
width
:
630
width
:
630
}
}
]
]
}
,
}
,
...
@@ -117,22 +117,23 @@ export default {
...
@@ -117,22 +117,23 @@ export default {
detailInfo
:
{
}
detailInfo
:
{
}
}
}
}
,
}
,
created
()
{
}
,
created
()
{
}
,
methods
:
{
methods
:
{
handleDetailClose
()
{
handleDetailClose
()
{
this
.
dialogShow
=
false
this
.
dialogShow
=
false
}
,
}
,
getDetail
()
{
getDetail
()
{
this
.
$apis
.
delivery
.
getDeliveryDetail
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
$apis
.
delivery
.
getDeliveryDetail
({
id
:
this
.
id
}
).
then
(
res
=>
{
const
{
data
}
=
res
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
detailInfo
=
res
.
data
this
.
detailInfo
=
data
}
}
}
)
}
)
}
,
}
,
lookNumber
(
data
)
{
lookNumber
(
data
)
{
this
.
innerVisible
=
true
this
.
innerVisible
=
true
this
.
tableData
=
data
.
map
(
item
=>
{
this
.
tableData
=
data
.
map
(
item
=>
{
return
{
cardNum
:
item
}
return
{
cardNum
:
item
}
}
)
}
)
}
}
}
}
...
@@ -169,20 +170,20 @@ export default {
...
@@ -169,20 +170,20 @@ export default {
}
}
.
lookNumber
{
.
lookNumber
{
font
-
size
:
14
px
;
font
-
size
:
14
px
;
color
:
#
5850
ff
!
important
;
color
:
#
5850
ff
!
important
;
cursor
:
pointer
;
cursor
:
pointer
;
margin
-
left
:
8
px
;
margin
-
left
:
8
px
;
}
}
.
look
-
card
-
wrap
{
.
look
-
card
-
wrap
{
max
-
height
:
600
px
;
max
-
height
:
600
px
;
overflow
-
y
:
scroll
;
overflow
-
y
:
scroll
;
overflow
-
x
:
hidden
;
overflow
-
x
:
hidden
;
/deep/
.
el
-
table
th
.
el
-
table__cell
>
.
cell
{
/deep/
.
el
-
table
th
.
el
-
table__cell
>
.
cell
{
padding
:
0
16
px
;
padding
:
0
16
px
;
text
-
align
:
center
;
text
-
align
:
center
;
}
}
/deep/
.
el
-
table__body
td
.
el
-
table__cell
{
/deep/
.
el
-
table__body
td
.
el
-
table__cell
{
text
-
align
:
center
;
text
-
align
:
center
;
}
}
}
}
<
/style
>
<
/style
>
src/views/DeliverList/index.vue
View file @
2e01460
...
@@ -46,10 +46,11 @@ export default {
...
@@ -46,10 +46,11 @@ export default {
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
searchForm
:
{
searchForm
:
{
goodsType
:
''
,
deliveryNumber
:
''
,
deliveryNumber
:
''
,
deliveryCompany
:
''
,
deliveryCompany
:
''
,
putStatus
:
''
,
putStatus
:
''
,
orderCode
:
this
.
$route
.
query
.
orderCode
?
this
.
$route
.
query
.
orderCode
:
''
,
orderCode
:
this
.
$route
.
query
.
orderCode
?
this
.
$route
.
query
.
orderCode
:
''
,
merchantName
:
''
,
merchantName
:
''
,
placeOrderTimeStr
:
[]
placeOrderTimeStr
:
[]
},
},
...
@@ -60,6 +61,36 @@ export default {
...
@@ -60,6 +61,36 @@ export default {
detailVisible
:
false
,
detailVisible
:
false
,
showFormData
:
[
showFormData
:
[
{
{
label
:
'商品名称'
,
name
:
'upgradeGoodsName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
100
},
{
label
:
'商品编号'
,
name
:
'type'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
100
},
{
label
:
'所属分类'
,
name
:
'goodsType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'goodsType'
,
optionLabel
:
'goodsTypeName'
,
optionsName
:
'goodsTypeOptions'
},
{
label
:
'系列'
,
name
:
'goodsName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
100
},
{
label
:
'承运单号'
,
label
:
'承运单号'
,
name
:
'deliveryNumber'
,
name
:
'deliveryNumber'
,
type
:
'input'
,
type
:
'input'
,
...
@@ -138,6 +169,22 @@ export default {
...
@@ -138,6 +169,22 @@ export default {
tableOption
:
false
,
tableOption
:
false
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
},
{
label
:
'商品编码'
,
prop
:
'type'
},
{
label
:
'系列'
,
prop
:
'goodsName'
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
},
{
label
:
'承运单号'
,
label
:
'承运单号'
,
prop
:
'deliveryNumber'
,
prop
:
'deliveryNumber'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -188,12 +235,14 @@ export default {
...
@@ -188,12 +235,14 @@ export default {
defaultPutStatusOptions
:
defaultPutStatusOptions
,
defaultPutStatusOptions
:
defaultPutStatusOptions
,
merchantName
:
[],
merchantName
:
[],
storeUsageList
:
[],
storeUsageList
:
[],
purchaseTypeList
:
purchaseTypeList
purchaseTypeList
:
purchaseTypeList
,
goodsTypeOptions
:
[]
}
}
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getTypeList
()
this
.
$apis
.
purchaseShopping
.
getMerchantList
({}).
then
(
res
=>
{
this
.
$apis
.
purchaseShopping
.
getMerchantList
({}).
then
(
res
=>
{
this
.
baseData
.
merchantName
=
res
this
.
baseData
.
merchantName
=
res
this
.
baseData
.
storeUsageList
=
res
this
.
baseData
.
storeUsageList
=
res
...
@@ -202,10 +251,15 @@ export default {
...
@@ -202,10 +251,15 @@ export default {
},
},
methods
:
{
methods
:
{
getTypeList
()
{
this
.
$apis
.
delivery
.
getTypeList
({}).
then
(
res
=>
{
this
.
baseData
.
goodsTypeOptions
=
res
this
.
getOptionsList
(
'showFormData'
,
true
,
'goodsType'
)
})
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
if
(
this
.
searchForm
.
placeOrderTimeStr
.
length
)
{
if
(
this
.
searchForm
.
placeOrderTimeStr
.
length
)
{
params
.
deliveryDateStart
=
dayjs
(
this
.
searchForm
.
placeOrderTimeStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
deliveryDateStart
=
dayjs
(
this
.
searchForm
.
placeOrderTimeStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
deliveryDateEnd
=
dayjs
(
this
.
searchForm
.
placeOrderTimeStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
deliveryDateEnd
=
dayjs
(
this
.
searchForm
.
placeOrderTimeStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
}
...
...
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