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
3f94cb85
authored
Dec 30, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
寄售库存
parent
49078541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
2 deletions
src/views/consignmentManagement/consignmentInventory.vue
src/views/consignmentManagement/consignmentInventory.vue
View file @
3f94cb85
...
...
@@ -432,6 +432,29 @@
<el-button
type=
"primary"
@
click=
""
>
确 定
</el-button>
</span>
</el-dialog>
<!--寄售召回-->
<el-dialog
title=
"寄售召回"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisibleConsignmentRecall"
width=
"900px"
>
<div
class=
"kc-mask"
>
<el-table
:data=
"kucundata"
border
max-height=
"600"
>
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"25%"
>
</el-table-column>
<el-table-column
prop=
"stock"
label=
"可用库存数量"
min-width=
"25%"
>
</el-table-column>
<el-table-column
label=
"申请召回数量"
min-width=
"25%"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.updateStock"
placeholder=
"点击修改"
onkeyup=
"if(event.keyCode !=37 && event.keyCode != 39)
{if (!/^[\d]+$/ig.test(this.value)){this.value='';}}">
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisibleConsignmentRecall = false"
>
取 消
</el-button>
<el-button
type=
"primary"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
<Menu/>
</div>
...
...
@@ -459,6 +482,7 @@ export default {
dialogVisibleLog
:
false
,
//日志
dialogVisibleLogDetail
:
false
,
//日志详情
dialogVisibleBatchModify
:
false
,
//批量修改
dialogVisibleConsignmentRecall
:
false
,
//寄售召回
logs
:
[],
downHref
:
""
,
cp_time_val
:
''
,
...
...
@@ -1064,13 +1088,36 @@ export default {
* 寄售补货
*/
consignmentReplenishment
()
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
$message
({
message
:
'请至少选择一条数据'
,
type
:
'warning'
});
return
;
}
var
html
=
`
<p style="font-size: 14px;">确定将选择的商品提交寄售补货申请?</p>
<p style="font-size: 14px;color: #FF7E11">确认后请到【寄售申请】菜单编辑申请寄售数量,并提交审核</p>
`
this
.
$confirm
(
html
,
'寄售补货'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
dangerouslyUseHTMLString
:
true
}).
then
(()
=>
{
// TODO: 在这里添加确认后的处理逻辑
this
.
$message
({
type
:
'success'
,
message
:
'提交成功'
});
}).
catch
(()
=>
{
// 取消时不需要提示
});
},
/**
* 寄售召回
*/
consignmentRecall
()
{
this
.
dialogVisibleConsignmentRecall
=
true
;
}
},
components
:
{
...
...
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