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
025bfed0
authored
Sep 26, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
1878871d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
src/views/OrderTrack/goods.vue
src/views/OrderTrack/invoice.vue
src/views/OrderTrack/goods.vue
View file @
025bfed0
...
...
@@ -60,17 +60,27 @@
</el-table-column>
<el-table-column
prop=
"status_val"
label=
"订单状态"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"pay_name"
label=
"对方付款方式"
min-width=
"100"
></el-table-column>
<el-table-column
prop=
"pay_status_val"
label=
"收款状态"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"shipping_status_val"
label=
"发货状态"
width=
"80"
></el-table-column>
<el-table-column
prop=
"pay_status_val"
label=
"收款状态"
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
<el-tag
type=
"primary"
v-if=
"scope.row.pay_status_val == '待付款'"
disable-transitions
>
{{
scope
.
row
.
pay_status_val
}}
</el-tag>
<el-tag
type=
"warning"
v-if=
"scope.row.pay_status_val == '部分付款'"
disable-transitions
>
{{
scope
.
row
.
pay_status_val
}}
</el-tag>
<el-tag
type=
"success"
v-if=
"scope.row.pay_status_val == '全部付款'"
disable-transitions
>
{{
scope
.
row
.
pay_status_val
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"shipping_status_val"
label=
"发货状态"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-tag
type=
"primary"
v-if=
"scope.row.shipping_status_val == '待发货'"
disable-transitions
>
{{
scope
.
row
.
shipping_status_val
}}
</el-tag>
<el-tag
type=
"warning"
v-if=
"scope.row.shipping_status_val == '部分发货'"
disable-transitions
>
{{
scope
.
row
.
shipping_status_val
}}
</el-tag>
<el-tag
type=
"success"
v-if=
"scope.row.shipping_status_val == '全部发货'"
disable-transitions
>
{{
scope
.
row
.
shipping_status_val
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"currency_val"
label=
"币种"
min-width=
"60"
></el-table-column>
<el-table-column
prop=
"purchase_amount"
label=
"订单金额"
min-width=
"110"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"订单人员"
width=
"100"
></el-table-column>
<el-table-column
prop=
"source_type"
label=
"订单来源"
width=
"100"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
min-width=
"150"
></el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
>
</el-pagination>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
</div>
<Menu/>
...
...
@@ -79,11 +89,11 @@
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
Cascader
,
DatePicker
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
Cascader
,
DatePicker
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Tag
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Cascader
).
use
(
Autocomplete
).
use
(
DatePicker
);
Vue
.
use
(
TableColumn
).
use
(
Table
).
use
(
Cascader
).
use
(
Autocomplete
).
use
(
DatePicker
)
.
use
(
Tag
)
;
export
default
{
name
:
"orderTrackGoods"
,
data
()
{
...
...
src/views/OrderTrack/invoice.vue
View file @
025bfed0
...
...
@@ -154,20 +154,20 @@ export default {
});
}
else
{
this
.
$message
({
message
:
'请选择作废待入库状态'
,
message
:
res
.
msg
,
type
:
'error'
});
}
})
}
else
{
this
.
$message
({
message
:
'请选择
云芯系统的发货单
'
,
message
:
'请选择
作废待入库状态
'
,
type
:
'warning'
});
}
}
else
{
this
.
$message
({
message
:
'请选择
云芯系统
的发货单'
,
message
:
'请选择
创建人为自己
的发货单'
,
type
:
'warning'
});
}
...
...
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