Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 110e31af
authored
May 22, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
696fd7e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/productGroup/editProduct.vue
src/views/productGroup/editProduct.vue
View file @
110e31a
...
@@ -872,15 +872,15 @@ export default {
...
@@ -872,15 +872,15 @@ export default {
},
},
// 零售价
// 零售价
'editForm.retailPrice'
(
newValue
,
oldValue
)
{
'editForm.retailPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
editForm
.
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
6
,
2
)
},
},
// 划线价
// 划线价
'editForm.originalPrice'
(
newValue
,
oldValue
)
{
'editForm.originalPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
originalPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
editForm
.
originalPrice
=
limitPrice
(
newValue
,
oldValue
,
6
,
2
)
},
},
// 供货价
// 供货价
'editForm.supplyPrice'
(
newValue
,
oldValue
)
{
'editForm.supplyPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
supplyPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
editForm
.
supplyPrice
=
limitPrice
(
newValue
,
oldValue
,
6
,
2
)
},
},
// 分润比例
// 分润比例
'editForm.takeFee'
(
newValue
,
oldValue
)
{
'editForm.takeFee'
(
newValue
,
oldValue
)
{
...
@@ -888,7 +888,7 @@ export default {
...
@@ -888,7 +888,7 @@ export default {
},
},
// 会员价
// 会员价
'editForm.memberPrice'
(
newValue
,
oldValue
)
{
'editForm.memberPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
memberPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
editForm
.
memberPrice
=
limitPrice
(
newValue
,
oldValue
,
6
,
2
)
},
},
// 库存
// 库存
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
...
@@ -1078,7 +1078,7 @@ export default {
...
@@ -1078,7 +1078,7 @@ export default {
if
(
e
.
key
!=
'Backspace'
&&
newValue
.
length
>
1
)
{
if
(
e
.
key
!=
'Backspace'
&&
newValue
.
length
>
1
)
{
oldValue
=
newValue
.
slice
(
0
,
newValue
.
length
-
1
)
oldValue
=
newValue
.
slice
(
0
,
newValue
.
length
-
1
)
}
}
this
.
nameToValSpecsList
[
idx
].
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
nameToValSpecsList
[
idx
].
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
6
,
2
)
},
},
handleRetailPriceBlur
()
{
handleRetailPriceBlur
()
{
this
.
findSpeceMin
()
this
.
findSpeceMin
()
...
...
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