Browse Source

修复报价梯度校验bug

yangc 7 years ago
parent
commit
2d5e10368d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/applyPurchase/SayPrice.vue

+ 2 - 2
components/applyPurchase/SayPrice.vue

@@ -219,8 +219,8 @@
         }
       },
       onReplyLapQtyBlur: function (index) {
-        let lapQty = this.sayPriceObj.replies[index].lapQty
-        let limitDownObj = this.getLimitDownQty()
+        let lapQty = Number(this.sayPriceObj.replies[index].lapQty)
+        let limitDownObj = Number(this.getLimitDownQty())
         if (!lapQty || lapQty < 1) {
           this.sayPriceObj.replies[index].lapQty = ''
           this.$message.error('输入值必须为正整数')