yangc 7 سال پیش
والد
کامیت
35fa852ce1
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      components/mobile/applyPurchase/SayPrice.vue
  2. 1 1
      components/mobile/applyPurchase/SayPriceInfo.vue

+ 2 - 2
components/mobile/applyPurchase/SayPrice.vue

@@ -177,7 +177,7 @@
               this.onRemind('response.data.message')
             } else {
 //              this.onRemind('报价成功')
-//              this.resetSayPrice()
+              this.resetSayPrice()
               this.$emit('cancelSayPriceAction', true, JSON.parse(response.data).quteId)
             }
           }, error => {
@@ -232,7 +232,7 @@
         }
       },
       onReplyLapQtyBlur: function (index) {
-        let lapQty = this.sayPriceObj.replies[index].lapQty
+        let lapQty = Number(this.sayPriceObj.replies[index].lapQty)
         let limitDownObj = this.getLimitDownQty()
         if (!lapQty || lapQty < 1) {
           this.sayPriceObj.replies[index].lapQty = ''

+ 1 - 1
components/mobile/applyPurchase/SayPriceInfo.vue

@@ -75,7 +75,7 @@
               规格:<span>{{purchaseDetail.spec || '-'}}</span>
             </div>
             <div class="content-line">
-              采购数量:<span>{{purchaseDetail.offerAmount || '-'}}</span>
+              采购数量:<span>{{purchaseDetail.needquantity || '-'}}</span>
             </div>
             <div class="content-line">
               币种:<span>{{purchaseDetail.currency || '不限'}}</span>