|
@@ -749,7 +749,7 @@ export default {
|
|
let type = this.activeType;
|
|
let type = this.activeType;
|
|
if (type == 'DISCOUNT') {
|
|
if (type == 'DISCOUNT') {
|
|
if (this.attribute1 < 0 || this.attribute1 > 100) {
|
|
if (this.attribute1 < 0 || this.attribute1 > 100) {
|
|
- this.$message('折扣必须大于0且小于100')
|
|
|
|
|
|
+ this.$message.error('折扣必须大于0且小于100')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
}
|
|
}
|