zs 2 years ago
parent
commit
9b020bef32
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pagesMy/order/service.vue

+ 2 - 2
pagesMy/order/service.vue

@@ -269,7 +269,6 @@
 			async onSubmit(ref) {
 				const that = this;
 				let status = that.status;
-				let money = that.moneyInfo.payTotal;
 				that.$refs[ref].validate().then(async params => {
 					if (status == '3') {
 						that.Receip(params)
@@ -284,7 +283,8 @@
 				const that = this;
 				e.file = that.icon;
 				e.order_detail = that.id;
-				if (e.type != '2') {
+				let money = that.moneyInfo.payTotal;
+				if (e.type != '3') {
 					if (e.money) {
 						if (parseFloat(e.money) > parseFloat(money)) {
 							uni.showToast({