zs 2 년 전
부모
커밋
9b020bef32
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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({