Selaa lähdekoodia

Signed-off-by: liuboyan <632697560@qq.com>
1

liuboyan 4 vuotta sitten
vanhempi
commit
573c890ce8
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      pagesGood/goodForm.vue

+ 4 - 4
pagesGood/goodForm.vue

@@ -122,14 +122,14 @@
 				}, 'POST').then(res => {
 					this.goodInfo = {
 						productName: res.data.productName,
-						originalPrice: parseInt(res.data.originalPrice),
-						bizPrice: parseInt(res.data.bizPrice),
+						originalPrice: parseFloat(res.data.originalPrice),
+						bizPrice: parseFloat(res.data.bizPrice),
 						unit: res.data.unit,
 						stock: res.data.stock,
 						productDescribe: res.data.productDescribe,
 						categoryId: res.data.categoryId,
-						auctionStartPrice: parseInt(res.data.auctionStartPrice),
-						auctionMinAddPrice: parseInt(res.data.auctionMinAddPrice),
+						auctionStartPrice: parseFloat(res.data.auctionStartPrice),
+						auctionMinAddPrice: parseFloat(res.data.auctionMinAddPrice),
 						auctionEndTime: res.data.auctionEndTime,
 					}
 					this.parentId = res.data.parentId