Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
ba86f2b7
Commit
ba86f2b7
authored
Nov 18, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 点击列表时刷新数量
parent
ae144102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
src/views/warehouse/stockingPlan.vue
+11
-4
No files found.
src/views/warehouse/stockingPlan.vue
View file @
ba86f2b7
...
@@ -949,7 +949,12 @@
...
@@ -949,7 +949,12 @@
<
el
-
button
type
=
"primary"
@
click
=
"updateShipmentNumber"
>
确认
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"updateShipmentNumber"
>
确认
<
/el-button
>
<
/template
>
<
/template
>
<
/ElDialog
>
<
/ElDialog
>
<
ElDialog
v
-
model
=
"scanDialogVisible"
width
=
"800px"
title
=
"盘点"
>
<
ElDialog
v
-
model
=
"scanDialogVisible"
width
=
"800px"
title
=
"盘点"
@
close
=
"getTreeNum()"
>
<
el
-
input
<
el
-
input
ref
=
"scanInputRef"
ref
=
"scanInputRef"
v
-
model
=
"scanInput"
v
-
model
=
"scanInput"
...
@@ -1905,10 +1910,10 @@ const handleBatchDelete = async () => {
...
@@ -1905,10 +1910,10 @@ const handleBatchDelete = async () => {
search
()
search
()
await
getTreeNum
()
await
getTreeNum
()
}
}
const
nodeClick
=
(
data
:
InterWarehouseTree
)
=>
{
const
nodeClick
=
async
(
data
:
InterWarehouseTree
)
=>
{
nodeCode
.
value
=
data
.
code
??
''
nodeCode
.
value
=
data
.
code
??
''
sessionStorage
.
setItem
(
'InRecord_NodeCode'
,
data
.
code
??
''
)
sessionStorage
.
setItem
(
'InRecord_NodeCode'
,
data
.
code
??
''
)
search
(
)
Promise
.
all
([
search
(),
getTreeNum
()]
)
}
}
const
searchDetail
=
async
()
=>
{
const
searchDetail
=
async
()
=>
{
try
{
try
{
...
@@ -2043,12 +2048,14 @@ const openScanDialog = () => {
...
@@ -2043,12 +2048,14 @@ const openScanDialog = () => {
}
}
// 扫码盘点
// 扫码盘点
const
scan
=
async
()
=>
{
const
scan
=
async
()
=>
{
console
.
log
(
scanInput
.
value
,
'scanInput.value'
)
if
(
!
scanInput
.
value
)
{
if
(
!
scanInput
.
value
)
{
return
ElMessage
.
warning
(
'请输入备货单号'
)
return
ElMessage
.
warning
(
'请输入备货单号'
)
}
}
scanInput
.
value
=
scanInput
.
value
.
trim
()
// 将中文破折号转换为下划线
// 将中文破折号转换为下划线
scanInput
.
value
=
scanInput
.
value
.
replace
(
/——/g
,
'_'
)
scanInput
.
value
=
scanInput
.
value
.
replace
(
/——/g
,
'_'
)
console
.
log
(
scanInput
.
value
)
const
formatRegex
=
/^BHD
\d
{9
}
_
\d
+$/
const
formatRegex
=
/^BHD
\d
{9
}
_
\d
+$/
if
(
!
formatRegex
.
test
(
scanInput
.
value
))
{
if
(
!
formatRegex
.
test
(
scanInput
.
value
))
{
...
...
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