ccj 2 jaren geleden
bovenliggende
commit
48fee78769
1 gewijzigde bestanden met toevoegingen van 19 en 19 verwijderingen
  1. 19 19
      pages/task/audit/charge_against_revenue.vue

+ 19 - 19
pages/task/audit/charge_against_revenue.vue

@@ -407,19 +407,19 @@
 					title: "加载中...",
 					mask: true
 				})
-				this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
-					currentPage: 1,
-					pageSize: 100,
-					searchType: '1', //searchType:1待审核
-					warehouseName: this.vesselId,
-					managementType: 1
-				}).then(res1 => {
-					uni.hideLoading()
-					if (res1.data.code == 200) {
-						this.List = res1.data.data.records
+				// this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
+				// 	currentPage: 1,
+				// 	pageSize: 100,
+				// 	searchType: '1', //searchType:1待审核
+				// 	warehouseName: this.vesselId,
+				// 	managementType: 1
+				// }).then(res1 => {
+				// 	uni.hideLoading()
+				// 	if (res1.data.code == 200) {
+				// 		this.List = res1.data.data.records
 
-					}
-				})
+				// 	}
+				// })
 				// this.$api.doRequest('get', '/paymentManagement/getInfo', {
 				// 	id: this.id
 				// }).then(res => {
@@ -638,7 +638,7 @@
 							success: function(res) {
 								if (res.confirm) {
 									uni.showLoading({
-										title: "审核中...",
+										title: "驳回中...",
 										mask: true
 									})
 									var count = 0
@@ -649,15 +649,15 @@
 										auditMind: that.auditMind ? that.auditMind : "",
 										needReapply: true
 									}).then(res => {
-										count++
-										if (count == that.List.length) {
+										// count++
+										// if (count == that.List.length) {
 											uni.hideLoading()
-											that.$api.msg('审核成功!')
+											that.$api.msg('驳回成功!')
 											console.log('驳回成功!')
 											setTimeout(function() {
 												uni.navigateBack();
 											}, 2000);
-										}
+										// }
 									})
 									// }
 								}
@@ -678,14 +678,14 @@
 									mask: true
 								})
 								// for (let num = 0; num < that.List.length; num++) {
-								var tmp = 0
+								// var tmp = 0
 								that.$api.doRequest('post', '/workflow/api/handle', {
 									taskId: that.auditInfo.taskId,
 									approved: true,
 									auditMind: that.auditMind ? that.auditMind : "",
 									needReapply: false
 								}).then(res => {
-									tmp++
+									// tmp++
 									// if (tmp == that.List.length) {
 									uni.hideLoading()
 									that.$api.msg('审核成功!')