shish 4 years ago
parent
commit
458051700a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      hdApp/src/admin/order/refund.vue
  2. 2 2
      hdApp/src/common/success.vue

+ 1 - 1
hdApp/src/admin/order/refund.vue

@@ -113,7 +113,7 @@ export default {
 
 				}
 			}
-			this.refundMoney = price
+			this.refundMoney = parseFloat(price.toFixed(2))
 			return price
 		}
 	},

+ 2 - 2
hdApp/src/common/success.vue

@@ -1,6 +1,6 @@
 <template>
   <appResult :title="title">
-	<button class="admin-button-com big blue" style="width:80%;margin-top:50upx;" @click="goBackHome">返回首页</button>
+	<button class="admin-button-com big blue" style="width:80%;margin-top:50upx;" @click="goBackHome">返回</button>
   </appResult>
 </template>
 <script>
@@ -34,7 +34,7 @@ export default {
 	},
 	methods: {
         goBackHome() {
-            this.$util.pageTo({ url: "/admin/home/workbench", type: 3, query: { tabIndex: 0 }})
+            uni.navigateBack()
         }
   },
 };