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 fa62d66f
authored
Mar 27, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
规格适用车价放开到最大值199.99
1 parent
e4128289
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/goods/productManage/components/multipleSpecificationForm.vue
src/views/goods/productManage/components/multipleSpecificationForm.vue
View file @
fa62d66
...
@@ -1009,11 +1009,11 @@ export default {
...
@@ -1009,11 +1009,11 @@ export default {
if (this.selectTypeSequence > 0) {
if (this.selectTypeSequence > 0) {
let newValue = e.replace(/[^\d.]/g, '')
let newValue = e.replace(/[^\d.]/g, '')
let oldValue = this[`
old$
{
key
}
`]
let oldValue = this[`
old$
{
key
}
`]
//
let intergerDigit = this.selectTypeSequence == 3 ? 3 : 2 // 整数位数
let intergerDigit = this.selectTypeSequence == 3 ? 3 : 2 // 整数位数
//
let pointDigit = this.selectTypeSequence == 3 ? 2 : 0 // 小数位数
let pointDigit = this.selectTypeSequence == 3 ? 2 : 0 // 小数位数
// let maxValue = this.selectTypeSequence == 3 ? 200
: 99 // 最大值
let maxValue = this.selectTypeSequence == 3 ? 199.99
: 99 // 最大值
//
this.$set(this, key, limitPrice(newValue, oldValue, intergerDigit, pointDigit, 0, maxValue))
this.$set(this, key, limitPrice(newValue, oldValue, intergerDigit, pointDigit, 0, maxValue))
this.$set(this, key, limitPrice(newValue, oldValue, 2, this.selectTypeSequence == 3 ? 2 : 0, 0))
//
this.$set(this, key, limitPrice(newValue, oldValue, 2, this.selectTypeSequence == 3 ? 2 : 0, 0))
this.$set(this, `
old$
{
key
}
`, this[key])
this.$set(this, `
old$
{
key
}
`, this[key])
}
}
this.$nextTick(() => {
this.$nextTick(() => {
...
...
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