Эх сурвалжийг харах

修复报价梯度校验bug

yangc 8 жил өмнө
parent
commit
2d5e10368d

+ 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('输入值必须为正整数')