Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
7661482b
Commit
7661482b
authored
Jun 04, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改工厂订单new订单行物流相关按钮展示范围 #1004198
parent
b44b5e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
28 deletions
+11
-28
src/views/order/factoryOrderNew/index.vue
+11
-28
No files found.
src/views/order/factoryOrderNew/index.vue
View file @
7661482b
...
...
@@ -726,7 +726,10 @@
}}
<
/ElButton
>
<
ElButton
v
-
if
=
"showPendingLogisticsUpdateAddress(row)"
v
-
if
=
"
showPendingLogisticsUpdateAddress(row) &&
row.shipmentType === 1
"
type
=
"primary"
link
size
=
"small"
...
...
@@ -744,17 +747,7 @@
更换物流方式
<
/ElButton
>
<
ElButton
v
-
if
=
"
[
'ALL',
'PENDING_RECEIVE',
'PENDING_CREATE_LOGISTICS',
'PENDING_SCHEDULE',
'PICKING',
'PENDING_DELIVERY',
'SUSPEND',
].includes(status)
"
v
-
if
=
"showPendingLogisticsUpdateAddress(row)"
type
=
"success"
link
size
=
"small"
...
...
@@ -1264,24 +1257,14 @@ const receiverAddressForm = ref<AddressInfo>({
}
)
const
showPendingLogisticsUpdateAddress
=
(
row
:
FactoryOrderNewListData
)
=>
[
'ALL'
,
'PENDING_RECEIVE'
,
'PENDING_CREATE_LOGISTICS'
,
'PENDING_SCHEDULE'
,
'PICKING'
,
'PENDING_DELIVERY'
,
'SUSPEND'
,
].
includes
(
status
.
value
)
&&
row
.
shipmentType
===
1
status
.
value
===
'ALL'
||
status
.
value
===
'PENDING_CREATE_LOGISTICS'
||
(
status
.
value
===
'SUSPEND'
&&
suspendedSubTab
.
value
===
2
)
const
showChangeLogistics
=
(
row
:
FactoryOrderNewListData
)
=>
[
'ALL'
,
'PENDING_SCHEDULE'
,
'PICKING'
,
'PENDING_DELIVERY'
,
'SUSPEND'
,
].
includes
(
status
.
value
)
&&
row
.
shipmentType
===
1
(
status
.
value
===
'ALL'
||
(
status
.
value
===
'SUSPEND'
&&
suspendedSubTab
.
value
===
2
))
&&
row
.
shipmentType
===
1
const
submitFactoryOrderReceiverAddress
=
(
data
:
AddressInfo
)
=>
updateReceiverAddressApi
(
data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment