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
21e76b01
Commit
21e76b01
authored
Feb 03, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
ded1d9e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/views/supply/stockingOrder/SupplierDispatchOrderDialog.vue
+1
-4
src/views/supply/stockingOrder/index.vue
+1
-1
No files found.
src/views/supply/stockingOrder/SupplierDispatchOrderDialog.vue
View file @
21e76b01
...
@@ -414,7 +414,7 @@ const validateField = (
...
@@ -414,7 +414,7 @@ const validateField = (
)
=>
{
)
=>
{
const
value
=
row
[
field
]
const
value
=
row
[
field
]
const
strValue
=
value
===
0
||
value
===
'0'
?
'0'
:
String
(
value
??
''
)
const
strValue
=
value
===
0
||
value
===
'0'
?
'0'
:
String
(
value
??
''
)
const
fieldLabel
=
'本次发货数量'
//
const fieldLabel = '本次发货数量'
if
(
!
strValue
)
{
if
(
!
strValue
)
{
if
(
field
===
'currentShipQuantity'
)
if
(
field
===
'currentShipQuantity'
)
...
@@ -422,9 +422,6 @@ const validateField = (
...
@@ -422,9 +422,6 @@ const validateField = (
}
else
if
(
!
/^
\d
+$/
.
test
(
strValue
))
{
}
else
if
(
!
/^
\d
+$/
.
test
(
strValue
))
{
if
(
field
===
'currentShipQuantity'
)
if
(
field
===
'currentShipQuantity'
)
row
.
_currentShipQuantityError
=
'只能输入正整数'
row
.
_currentShipQuantityError
=
'只能输入正整数'
}
else
if
(
Number
(
strValue
)
===
0
)
{
if
(
field
===
'currentShipQuantity'
)
row
.
_currentShipQuantityError
=
`
${
fieldLabel
}
不能为0`
}
else
{
}
else
{
if
(
field
===
'currentShipQuantity'
)
row
.
_currentShipQuantityError
=
''
if
(
field
===
'currentShipQuantity'
)
row
.
_currentShipQuantityError
=
''
}
}
...
...
src/views/supply/stockingOrder/index.vue
View file @
21e76b01
...
@@ -689,7 +689,7 @@ const handleDeleteOrder = async () => {
...
@@ -689,7 +689,7 @@ const handleDeleteOrder = async () => {
return
ElMessage
.
warning
(
'请选择一条数据'
)
return
ElMessage
.
warning
(
'请选择一条数据'
)
}
}
try
{
try
{
await
ElMessageBox
.
confirm
(
'确定删除选中的订单
??
'
,
'提示'
,
{
await
ElMessageBox
.
confirm
(
'确定删除选中的订单
?
'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
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