|
|
@@ -28,9 +28,19 @@ export const sayPriceReplace = {
|
|
|
this.validSayPrice.replaceBrand = this.sayPriceObj.replaceBrand && this.sayPriceObj.replaceBrand !== '' && nullStrFlag
|
|
|
if (!this.validSayPrice.replaceBrand) {
|
|
|
if (!nullStrFlag) {
|
|
|
- this.$message.error('品牌输入不合法')
|
|
|
+ if (this.$store.state.option.isMobile === true) {
|
|
|
+ this.remindText = '品牌输入不合法'
|
|
|
+ this.timeoutCount++
|
|
|
+ } else {
|
|
|
+ this.$message.error('品牌输入不合法')
|
|
|
+ }
|
|
|
} else {
|
|
|
- this.$message.error('品牌不能为空')
|
|
|
+ if (this.$store.state.option.isMobile === true) {
|
|
|
+ this.remindText = '品牌不能为空'
|
|
|
+ this.timeoutCount++
|
|
|
+ } else {
|
|
|
+ this.$message.error('品牌不能为空')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return this.validSayPrice.brand
|
|
|
@@ -41,9 +51,19 @@ export const sayPriceReplace = {
|
|
|
this.validSayPrice.replaceCmpCode = code && code !== '' && nullStrFlag
|
|
|
if (!this.validSayPrice.replaceCmpCode) {
|
|
|
if (!nullStrFlag) {
|
|
|
- this.$message.error('型号输入不合法')
|
|
|
+ if (this.$store.state.option.isMobile === true) {
|
|
|
+ this.remindText = '型号输入不合法'
|
|
|
+ this.timeoutCount++
|
|
|
+ } else {
|
|
|
+ this.$message.error('型号输入不合法')
|
|
|
+ }
|
|
|
} else {
|
|
|
- this.$message.error('型号不能为空')
|
|
|
+ if (this.$store.state.option.isMobile === true) {
|
|
|
+ this.remindText = '型号不能为空'
|
|
|
+ this.timeoutCount++
|
|
|
+ } else {
|
|
|
+ this.$message.error('型号不能为空')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return this.validSayPrice.replaceCmpCode
|