twt 3 years ago
parent
commit
18ad58ce30
2 changed files with 5 additions and 1 deletions
  1. 4 1
      pages/module/confirmOrder.vue
  2. 1 0
      pages/module/maintain.vue

+ 4 - 1
pages/module/confirmOrder.vue

@@ -279,7 +279,10 @@ export default {
 			}else{
 				this.payMoney=this.goodsMoney+this.itemMoney;
 			}	
-						//this.payMoney=3;		
+			this.payMoney=this.payMoney.toFixed(2)
+						//this.payMoney=3;	
+							console.log(this.payMoney)
+							//return false
 			if(this.iphoneData){
 							if(this.iphoneData.name==''){
 								uni.showToast({

+ 1 - 0
pages/module/maintain.vue

@@ -218,6 +218,7 @@ export default {
 			//this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2].goodsName='666'
 			//console.log(this.mealData[this.leftIndex].listPackage[this.replaceIndex1].listGoodsAll[this.replaceIndex2])
 			this.$forceUpdate()
+			this.calculation()
 		}
 		
 	},