Просмотр исходного кода

Merge branch 'master' into release-20170915

yangc 8 лет назад
Родитель
Сommit
3e57c63eab
1 измененных файлов с 2 добавлено и 2 удалено
  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('输入值必须为正整数')