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
7eca516f
authored
Jan 06, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交寄售审核
parent
f11ba9d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
src/views/consignmentManagement/consignmentImportDetail.vue
src/views/consignmentManagement/consignmentImportDetail.vue
View file @
7eca516f
...
...
@@ -31,12 +31,13 @@
<el-table-column
prop=
"reject_msg"
label=
"审核不通过原因"
min-width=
"150"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"stock"
label=
"库存数量"
width=
"100"
></el-table-column>
<el-table-column
prop=
"moq"
label=
"最小起订量"
width=
"120"
></el-table-column>
<el-table-column
prop=
"mpq"
label=
"标准包装量"
width=
"120"
></el-table-column>
<el-table-column
prop=
"batch_sn"
label=
"批次"
width=
"100"
></el-table-column>
<el-table-column
prop=
"cn_delivery_time"
label=
"大陆交期"
width=
"120"
></el-table-column>
<el-table-column
prop=
"hk_delivery_time"
label=
"香港交期"
width=
"120"
></el-table-column>
<el-table-column
prop=
"stock"
label=
"申请寄售库存"
width=
"100"
></el-table-column>
<el-table-column
prop=
"moq"
label=
"最小起订量"
width=
"90"
></el-table-column>
<el-table-column
prop=
"mpq"
label=
"标准包装量"
width=
"90"
></el-table-column>
<el-table-column
prop=
"batch_sn"
label=
"批次"
width=
"80"
></el-table-column>
<el-table-column
prop=
"cn_delivery_time"
label=
"大陆交期"
width=
"90"
></el-table-column>
<el-table-column
prop=
"hk_delivery_time"
label=
"香港交期"
width=
"90"
></el-table-column>
<el-table-column
prop=
"sku_id"
label=
"SKUID"
width=
"200"
></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>
</div>
...
...
@@ -84,7 +85,7 @@ export default {
multipleSelection
:
[],
uploadUrl
:
NODE_ENVS
+
'/api/uploadSku/import'
,
remark
:
''
,
sku_
ids
:
''
,
sku_
apply_num_json
:
[]
,
fileData
:
{
token
:
Tool
.
getCookie
(
'token'
),
type
:
2
//1覆盖 2新增
...
...
@@ -117,7 +118,7 @@ export default {
* 获取列表数据
*/
getList
()
{
this
.
$http
(
'GET'
,
"/api/uploadSku/itemList"
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
up_sn
:
this
.
up_sn
}).
then
(
res
=>
{
this
.
$http
(
'GET'
,
"/api/uploadSku/itemList"
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
up_sn
:
this
.
up_sn
,
source
:
12
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
||
[];
this
.
total
=
res
.
data
.
total
||
0
;
...
...
@@ -150,7 +151,12 @@ export default {
this
.
$message
.
warning
(
'只能选择待审核状态的数据'
);
return
;
}
this
.
sku_ids
=
this
.
multipleSelection
.
map
(
item
=>
item
.
sku_id
).
join
(
','
);
this
.
sku_apply_num_json
=
this
.
multipleSelection
.
map
(
item
=>
{
return
{
sku_id
:
item
.
sku_id
,
apply_num
:
item
.
stock
}
});
this
.
dialogVisible_1
=
true
;
break
;
}
...
...
@@ -159,7 +165,7 @@ export default {
* 提交寄售审核
*/
submitConsignmentAudit
()
{
this
.
$http
(
'POST'
,
"/api/sku/submitConsignmentAudit"
,
{
sku_
ids
:
this
.
sku_ids
,
remark
:
this
.
remark
}).
then
(
res
=>
{
this
.
$http
(
'POST'
,
"/api/sku/submitConsignmentAudit"
,
{
sku_
apply_num_json
:
JSON
.
stringify
(
this
.
sku_apply_num_json
)
,
remark
:
this
.
remark
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
$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