Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
fa996d57
Commit
fa996d57
authored
Oct 28, 2024
by
1483922988@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
6
parents
c2883dda
1ccd9c22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
3 deletions
+26
-3
index.vue
src/views/ecw/order/index.vue
+26
-3
No files found.
src/views/ecw/order/index.vue
View file @
fa996d57
...
...
@@ -327,9 +327,32 @@
>
<el-button
type=
"text"
>
{{
$t
(
"
操作
"
)
}}
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<!-- 编辑 -->
<template
v-if=
"(scope.row.status
<
12
||
(scope.row.status =
=
12
&&
scope.row.shipmentState =
=
314
))
&&
!
scope
.
row
.
abnormalState
&&
exclude
(
scope
.
row
.
inWarehouseState
,
[
204
,
205
,
206
])
&&
exclude
(
scope
.
row
.
shipmentState
,
[
307
,
407
])"
>
<el-dropdown-item
@
click.native=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:order:edit']"
>
{{
$t
(
"
编辑
"
)
}}
</el-dropdown-item>
<!--出货订单编辑,shipmentState > 0表示出货后,inWarehouseState == 0 表示预装未审核,或者是卸柜到仓)-->
<template
v-if=
"scope.row.shipmentState > 0 && scope.row.inWarehouseState == 0"
>
<el-dropdown-item
@
click.native=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:order:shipment:update']"
>
{{
$t
(
"
编辑
"
)
}}
</el-dropdown-item
>
</
template
>
<!-- 其他编辑 -->
<
template
v-else-if=
"
(scope.row.status < 12 ||
(scope.row.status == 12 &&
scope.row.shipmentState == 314)) &&
!scope.row.abnormalState &&
exclude(scope.row.inWarehouseState, [204, 205, 206]) &&
exclude(scope.row.shipmentState, [307, 407])
"
>
<el-dropdown-item
@
click.native=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:order:edit']"
>
{{
$t
(
"
编辑
"
)
}}
</el-dropdown-item
>
</
template
>
<!-- 删除 -->
...
...
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