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
7d5a9d18
authored
Jun 16, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
寄售商品上传增加包装方式
parent
08a2a830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/views/consignmentManagement/consignmentApplicationDetail.vue
src/views/consignmentManagement/consignmentApplicationDetail.vue
View file @
7d5a9d18
...
...
@@ -38,6 +38,7 @@
<el-table-column
prop=
"stock_in_num"
label=
"入库总数"
width=
"160"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"not_stock_in_num"
label=
"未入库总数"
width=
"160"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"date_code"
label=
"批次"
width=
"100"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"packing"
label=
"包装方式"
width=
"100"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"consignment_item_status_val"
label=
"状态"
width=
"160"
:show-overflow-tooltip=
"true"
align=
"center"
></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>
...
...
@@ -65,7 +66,7 @@ export default {
total
:
0
,
page
:
1
,
limit
:
10
,
list
:
[]
,
list
:
[]
};
},
created
()
{
...
...
@@ -74,7 +75,7 @@ export default {
},
methods
:
{
getData
()
{
this
.
$http
(
'GET'
,
"/api/consignment/getConsignmentDetail"
,
{
consignment_id
:
this
.
consignment_id
,
page
:
this
.
page
,
limit
:
this
.
limit
}).
then
(
res
=>
{
this
.
$http
(
'GET'
,
"/api/consignment/getConsignmentDetail"
,
{
consignment_id
:
this
.
consignment_id
,
page
:
this
.
page
,
limit
:
this
.
limit
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
detailData
=
res
.
data
;
this
.
list
=
res
.
data
.
items
.
list
;
...
...
@@ -126,7 +127,7 @@ export default {
type
:
'warning'
}).
then
(()
=>
{
let
consignment_item_ids
=
this
.
multipleSelection
.
map
(
item
=>
item
.
consignment_item_id
).
join
(
','
);
this
.
$http
(
'POST'
,
"/api/consignment/deleteConsignmentItems"
,
{
consignment_item_ids
:
consignment_item_ids
}).
then
(
res
=>
{
this
.
$http
(
'POST'
,
"/api/consignment/deleteConsignmentItems"
,
{
consignment_item_ids
:
consignment_item_ids
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
$message
({
message
:
'操作成功'
,
...
...
@@ -151,7 +152,7 @@ export default {
this
.
$message
.
warning
(
'请输入有效的数量'
);
return
;
}
this
.
$http
(
'POST'
,
"/api/consignment/updateConsignmentItems"
,
{
consignment_item_id
:
consignment_item_id
,
apply_num
:
apply_num
}).
then
(
res
=>
{
this
.
$http
(
'POST'
,
"/api/consignment/updateConsignmentItems"
,
{
consignment_item_id
:
consignment_item_id
,
apply_num
:
apply_num
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
}
else
{
...
...
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