Commit 110e31af by 李伟康

提交

1 parent 696fd7e9
...@@ -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()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!