Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b559b4d1
authored
Sep 27, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单追踪/已采购订单:待提审或待审核采购订单点击“生成发货单”时,应提示不可生成(目前可跳转过去)
parent
addbb88b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
src/views/OrderTrack/goods.vue
src/views/OrderTrack/goods.vue
View file @
b559b4d1
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
<el-table-column
prop=
"status_val"
label=
"订单状态"
min-width=
"80"
>
<el-table-column
prop=
"status_val"
label=
"订单状态"
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
type=
"primary"
v-if=
"scope.row.status_val == '待提审'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-if=
"scope.row.status_val == '待提审'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"
warning
"
v-else-if=
"scope.row.status_val == '待审核'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"
info
"
v-else-if=
"scope.row.status_val == '待审核'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"
info
"
v-else-if=
"scope.row.status_val == '进行中'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"
warning
"
v-else-if=
"scope.row.status_val == '进行中'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"success"
v-else-if=
"scope.row.status_val == '已完成'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"success"
v-else-if=
"scope.row.status_val == '已完成'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"danger"
v-else-if=
"scope.row.status_val == '已作废'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"danger"
v-else-if=
"scope.row.status_val == '已作废'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else
>
{{
scope
.
row
.
status_val
}}
</el-tag>
...
@@ -180,6 +180,23 @@ export default {
...
@@ -180,6 +180,23 @@ export default {
});
});
return
false
;
return
false
;
}
}
if
(
this
.
multipleSelection
[
0
].
status_val
==
'待提审'
)
{
this
.
$message
({
message
:
"待提审状态下不可生成"
,
type
:
'warning'
});
return
false
;
}
if
(
this
.
multipleSelection
[
0
].
status_val
==
'待审核'
)
{
this
.
$message
({
message
:
"待审核状态下不可生成"
,
type
:
'warning'
});
return
false
;
}
if
(
this
.
multipleSelection
[
0
].
shipping_status_val
!=
'待发货'
&&
this
.
multipleSelection
[
0
].
shipping_status_val
!=
'部分发货'
)
{
if
(
this
.
multipleSelection
[
0
].
shipping_status_val
!=
'待发货'
&&
this
.
multipleSelection
[
0
].
shipping_status_val
!=
'部分发货'
)
{
this
.
$message
({
this
.
$message
({
message
:
"请选择待发货/部分发货的数据进行操作"
,
message
:
"请选择待发货/部分发货的数据进行操作"
,
...
...
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