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
56075462
authored
Sep 27, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单追踪/发货单:条件状态筛选错误
parent
8de73b68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
src/views/OrderTrack/invoice.vue
src/views/OrderTrack/invoice.vue
View file @
56075462
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"待
处理"
value=
"-
1"
></el-option>
<el-option
label=
"待
到货"
value=
"
1"
></el-option>
<el-option
label=
"完成"
value=
"2"
></el-option>
<el-option
label=
"完成"
value=
"2"
></el-option>
<el-option
label=
"作废"
value=
"-3"
></el-option>
<el-option
label=
"作废"
value=
"-3"
></el-option>
</el-select>
</el-select>
...
@@ -37,7 +37,14 @@
...
@@ -37,7 +37,14 @@
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"150"
></el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"150"
></el-table-column>
<el-table-column
prop=
"out_qty"
label=
"发货数量"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"out_qty"
label=
"发货数量"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"in_qty"
label=
"到货数量"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"in_qty"
label=
"到货数量"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"status_val"
label=
"状态"
min-width=
"60"
></el-table-column>
<el-table-column
prop=
"status_val"
label=
"状态"
min-width=
"60"
>
<template
slot-scope=
"scope"
>
<el-tag
type=
"success"
v-if=
"scope.row.status == 2 "
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else-if=
"scope.row.status == 1 "
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"info"
v-else-if=
"scope.row.status == -3 "
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else
>
{{
scope
.
row
.
status_val
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"shipping_name"
label=
"物流公司"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"shipping_name"
label=
"物流公司"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"150"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"150"
></el-table-column>
<el-table-column
prop=
"create_name"
label=
"创建人"
min-width=
"100"
></el-table-column>
<el-table-column
prop=
"create_name"
label=
"创建人"
min-width=
"100"
></el-table-column>
...
@@ -52,11 +59,11 @@
...
@@ -52,11 +59,11 @@
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Tag
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Autocomplete
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Autocomplete
)
.
use
(
Tag
)
;
export
default
{
export
default
{
name
:
"orderTrackInvoice"
,
name
:
"orderTrackInvoice"
,
data
()
{
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