Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 2270b9b5
authored
Oct 10, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.1.0' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into SAAS+V5.1.0
2 parents
c1b55c9c
968e3ebd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
63 additions
and
41 deletions
src/views/goods/coupons/scheduling.vue
src/views/goods/servicesManage/list.vue
src/views/purchase/components/EditOrderDialog.vue
src/views/purchase/components/deliveryDetailDialog.vue
src/views/purchase/components/factoryDeliveryDetailDialog.vue
src/views/purchase/factoryPurchaseAndDelivery.vue
src/views/purchase/invoiceRecord.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/goods/coupons/scheduling.vue
View file @
2270b9b
...
...
@@ -409,7 +409,8 @@ export default {
couponDate
:
''
,
toShopDate
:
''
,
merchantId
:
''
,
inviteMode
:
''
// inviteMode: '',
trafficEffectiveness
:
''
}
this
.
$refs
.
recordListTable
.
refreshTable
()
},
...
...
src/views/goods/servicesManage/list.vue
View file @
2270b9b
...
...
@@ -102,7 +102,10 @@ export default {
}
},
{
label
:
'备注'
,
prop
:
'remark'
prop
:
'remark'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
remark
||
'无'
}
}]
},
// 基本数据
...
...
src/views/purchase/components/EditOrderDialog.vue
View file @
2270b9b
...
...
@@ -637,6 +637,7 @@ export default {
font
-
weight
:
600
;
font
-
size
:
16
px
;
color
:
#
333333
;
margin
-
right
:
20
px
;
}
.
icon
{
...
...
src/views/purchase/components/deliveryDetailDialog.vue
View file @
2270b9b
...
...
@@ -7,10 +7,10 @@
发货单号:
<span>
{{
detailInfo
.
deliveryNumber
}}
</span>
</div>
<
!--
<
div>
<div>
发货仓库:
<span>
{{
detailInfo
.
shippingWarehouseName
}}
</span>
</div>
-->
</div>
<div>
承运公司:
<span>
{{
detailInfo
.
deliveryCompany
}}
</span>
...
...
src/views/purchase/components/factoryDeliveryDetailDialog.vue
View file @
2270b9b
...
...
@@ -64,7 +64,7 @@
<
script
>
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
factoryView
,
factoryUpdate
}
from
'@/api/purchaseShopping.js'
import
{
factoryView
,
factoryUpdate
,
deliveryPdf
}
from
'@/api/purchaseShopping.js'
import
{
baseConfig
}
from
'@/main'
export
default
{
...
...
@@ -278,7 +278,7 @@ export default {
},
handleSign
(
row
)
{
const
params
=
{
id
:
row
.
orderDeliveryI
d
id
:
row
.
i
d
}
deliveryPdf
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
...
...
src/views/purchase/factoryPurchaseAndDelivery.vue
View file @
2270b9b
...
...
@@ -22,7 +22,7 @@
<auth-button
category=
"Button"
:show-btn-ids=
"['9090704']"
/>
</span>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
@
selectionTable=
"handleSelectionTable"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
@
selectionTable=
"handleSelectionTable"
:before-search-fn=
"beforeSearchFn"
@
se
archChange=
"searchChange"
@
se
tTableFinishFun=
"setTableFinishFun"
>
<template
slot=
"upgradeGoodsName"
slot-scope=
"scope"
>
<div>
<img
v-if=
"scope.scope.refundStatus == 'Y'"
class=
"return"
src=
"@/assets/retrun.png"
alt=
""
>
...
...
@@ -37,7 +37,7 @@
</div>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- 查看 -->
<span
style=
"margin-right: 10px;"
>
<span
style=
"margin-right: 10px;"
v-if=
"scope.scope.deliveryStatus != 1"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090701']"
/>
</span>
<!-- 确认发货 -->
...
...
@@ -165,20 +165,6 @@ export default {
maxlength
:
50
},
{
label
:
'订单编号'
,
name
:
'orderCode'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
20
},
{
label
:
'下单商户'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
50
},
{
label
:
'发货状态'
,
name
:
'deliveryStatus'
,
type
:
'select'
,
...
...
@@ -193,6 +179,20 @@ export default {
type
:
"input"
,
isClear
:
true
,
maxlength
:
50
},
{
label
:
'订单编号'
,
name
:
'orderCode'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
20
},
{
label
:
'下单商户'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
50
}
],
selectedList
:
[],
...
...
@@ -395,6 +395,10 @@ export default {
this
.
$set
(
this
.
dialogData
,
'deliveryNumber'
,
event
.
replace
(
/
[^
a-zA-Z0-9
]
/g
,
''
))
},
searchChange
()
{
this
.
clearMutiSelect
=
true
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
deepClone
(
this
.
searchForm
)
...
...
@@ -431,7 +435,8 @@ export default {
for
(
const
key
in
this
.
searchForm
)
{
this
.
searchForm
[
key
]
=
''
}
this
.
$refs
.
purchaseAndDeliveryTable
.
refreshTable
()
this
.
clearMutiSelect
=
true
this
.
$refs
.
purchaseAndDeliveryTable
.
refreshTable
(
true
)
},
handleExport
()
{
// this.filterSearchTime()
...
...
@@ -539,7 +544,7 @@ export default {
},
getMutiDate
()
{
console
.
log
(
this
.
$refs
.
purchaseAndDeliveryTable
)
var
selectedData
=
this
.
$refs
.
purchaseAndDeliveryTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
var
selectedData
=
this
.
$refs
.
purchaseAndDeliveryTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
||
[]
let
deleteIds
=
[]
this
.
selectedList
.
forEach
(
item
=>
{
if
(
!
this
.
$refs
.
purchaseAndDeliveryTable
.
data
.
map
(
k
=>
k
.
id
).
includes
(
item
.
id
)
&&
!
selectedData
.
map
(
k
=>
k
.
id
).
includes
(
item
.
id
))
{
...
...
src/views/purchase/invoiceRecord.vue
View file @
2270b9b
...
...
@@ -92,8 +92,8 @@ export default {
label
:
'发货时间'
,
name
:
'deliveryDate'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'rangePickerOptions'
isClear
:
true
//
pickerOptions: 'rangePickerOptions'
},
{
label
:
'所属订单'
,
name
:
'orderCode'
,
...
...
@@ -145,11 +145,11 @@ export default {
}
},
{
label
:
'所属商户'
,
prop
:
'merchantName'
,
width
:
'150px'
prop
:
'merchantName'
},
{
label
:
'状态'
,
prop
:
'putStatus'
,
width
:
'120px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
invouceType
.
find
(
item
=>
item
.
confId
===
cellValue
.
putStatus
)?.
confName
},
...
...
src/views/purchase/purchaseAndDelivery.vue
View file @
2270b9b
...
...
@@ -23,7 +23,7 @@
<auth-button
category=
"Button"
:show-btn-ids=
"['9090405']"
/>
</span>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
@
selectionTable=
"handleSelectionTable"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
current-change=
"handleCurrentChange"
>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
@
selectionTable=
"handleSelectionTable"
:before-search-fn=
"beforeSearchFn"
@
se
archChange=
"searchChange"
@
se
tTableFinishFun=
"setTableFinishFun"
@
current-change=
"handleCurrentChange"
>
<template
slot=
"upgradeGoodsName"
slot-scope=
"scope"
>
<div>
<img
v-if=
"scope.scope.refundStatus == 'Y'"
class=
"return"
src=
"@/assets/retrun.png"
alt=
""
>
...
...
@@ -36,13 +36,19 @@
</el-tooltip>
<div
v-else
>
-
</div>
</div>
<div
slot=
"remark"
slot-scope=
"scope"
>
<el-tooltip
v-if=
"scope.scope.remark"
effect=
"dark"
placement=
"top"
:content=
"scope.scope.remark"
>
<span
class=
"one-line-ellipsis"
>
{{ scope.scope.remark }}
</span>
</el-tooltip>
<div
v-else
>
-
</div>
</div>
<div
slot=
"auth-button"
slot-scope=
"scope"
width=
"400"
>
<!-- 查看 -->
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
</span>
<!-- 确认发货 -->
<span
v-if=
"scope.scope.refundStatus != 'Y' && (scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3)"
style=
"margin-right: 10px"
>
<span
v-if=
"scope.scope.refundStatus != 'Y' && (scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3)
&& scope.scope.distributionStatus == 0
"
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
</span>
<!-- 分配 -->
...
...
@@ -50,11 +56,11 @@
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090404']"
/>
</span>
<!-- 驳回 -->
<span
v-if=
"scope.scope.purchaseOrderDeliveryStatus == 1"
>
<span
v-if=
"scope.scope.purchaseOrderDeliveryStatus == 1"
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090403']"
/>
</span>
<!-- 结束 -->
<span
v-if=
"scope.scope.purchaseOrderDeliveryStatus == 3"
>
<span
v-if=
"scope.scope.purchaseOrderDeliveryStatus == 3"
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090406']"
/>
</span>
</div>
...
...
@@ -250,8 +256,8 @@ export default {
label
:
"下单时间"
,
name
:
"placeOrderTimeStr"
,
type
:
"datePicker"
,
isClear
:
true
,
pickerOptions
:
"rangePickerOptions"
isClear
:
true
//
pickerOptions: "rangePickerOptions"
},
{
label
:
"下单商户"
,
...
...
@@ -298,8 +304,8 @@ export default {
label
:
"审核时间"
,
name
:
"reviewedTimeStr"
,
type
:
"datePicker"
,
isClear
:
true
,
pickerOptions
:
"rangePickerOptions"
isClear
:
true
//
pickerOptions: "rangePickerOptions"
},
{
label
:
"发货方"
,
...
...
@@ -365,7 +371,9 @@ export default {
},
{
label
:
"备注"
,
prop
:
"remark"
prop
:
"remark"
,
addHtml
:
'remark'
,
width
:
'104px'
},
{
label
:
"已发货数量"
,
...
...
@@ -597,6 +605,10 @@ export default {
)
},
searchChange
()
{
this
.
clearMutiSelect
=
true
},
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
var
selectedData
=
this
.
$refs
?.
purchaseAndDeliveryTable
?.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
||
[]
...
...
@@ -650,7 +662,8 @@ export default {
for
(
const
key
in
this
.
searchForm
)
{
this
.
searchForm
[
key
]
=
""
}
this
.
$refs
.
purchaseAndDeliveryTable
.
refreshTable
()
this
.
clearMutiSelect
=
true
this
.
$refs
.
purchaseAndDeliveryTable
.
refreshTable
(
true
)
},
handleExport
()
{
this
.
filterSearchTime
()
...
...
@@ -717,7 +730,7 @@ export default {
handleBatchAllocat
()
{
this
.
selectedList
=
this
.
getMutiDate
()
if
(
this
.
selectedList
.
length
==
0
)
{
this
.
notice
.
errorTips
(
'请选择要
发货
的订单'
)
this
.
notice
.
errorTips
(
'请选择要
分配
的订单'
)
return
true
}
if
(
this
.
selectedList
.
filter
(
item
=>
item
.
deliveryStatus
!=
1
).
length
)
{
...
...
@@ -762,8 +775,7 @@ export default {
},
getMutiDate
()
{
console
.
log
(
this
.
$refs
.
purchaseAndDeliveryTable
)
var
selectedData
=
this
.
$refs
.
purchaseAndDeliveryTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
var
selectedData
=
this
.
$refs
.
purchaseAndDeliveryTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
||
[]
let
deleteIds
=
[]
this
.
selectedList
.
forEach
(
item
=>
{
if
(
!
this
.
$refs
.
purchaseAndDeliveryTable
.
data
.
map
(
k
=>
k
.
id
).
includes
(
item
.
id
)
&&
!
selectedData
.
map
(
k
=>
k
.
id
).
includes
(
item
.
id
))
{
...
...
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