Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 07a7cd89
authored
Apr 15, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修正采购价验证逻辑,确保售价大于0
1 parent
30368870
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/goods/purchaseOnShelves/components/groundingForm.vue
src/views/goods/purchaseOnShelves/components/groundingForm.vue
View file @
07a7cd8
...
...
@@ -383,7 +383,7 @@ export default {
{
required
:
true
,
message
:
"请输入采购价"
,
trigger
:
"blur"
}
,
{
validator
:
(
rule
,
value
,
callback
)
=>
{
;
+
value
<
=
0
?
callback
(
new
Error
(
"售
价需大于0"
))
:
callback
()
;
+
value
<
0
?
callback
(
new
Error
(
"采购
价需大于0"
))
:
callback
()
}
}
],
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment