gjy 2 jaren geleden
bovenliggende
commit
e09602cf44
1 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 5 1
      pages/task/audit/Issueandreceipt_task_approval.vue

+ 5 - 1
pages/task/audit/Issueandreceipt_task_approval.vue

@@ -763,6 +763,7 @@
 				}
 			},
 			rejectSubmit() {
+				
 				// (1出库2入库3移库4退库并出库)
 				if (!this.auditMind) {
 					this.$api.msg('驳回原因不能为空!')
@@ -778,6 +779,7 @@
 								uni.showLoading({
 									title: "审核中"
 								})
+								this.show1=false
 								if (that.OutList.taskTypeKey == 1) {
 									that.requestaudit(that.OutList)
 								} else if (that.OutList.taskTypeKey == 2) {
@@ -814,6 +816,7 @@
 				}
 			},
 			requestadd(list, status) {
+				this.show1=false
 				let that = this
 				uni.getStorage({
 					key: 'pcUserInfo',
@@ -833,13 +836,14 @@
 										needReapply: false
 									}).then(res => {
 										if (res.data.code == 200) {
-											that.show1=true
+											
 											that.$api.msg('审核成功!')
 											that.count++
 											if (that.everyCheck) {
 												helper.setAudit(that.list)
 											}
 										} else {
+											that.show1=true
 											that.$api.msg('审核失败!')
 										}
 										if (list.taskTypeKey == '3' || list.taskTypeKey == '4') {