gjy 3 lat temu
rodzic
commit
d72158dec3
1 zmienionych plików z 11 dodań i 1 usunięć
  1. 11 1
      pages/task/audit/salecontract.vue

+ 11 - 1
pages/task/audit/salecontract.vue

@@ -83,7 +83,7 @@
 			<u-form-item  label-width='260' label="杂质(%)<=">
 				<u-input v-model="list.contractGoodsInfo.impurity" input-align="right" placeholder="" disabled/>
 			</u-form-item>
-			<u-form-item  label-width='260' label="容重(克/升)>=">
+			<u-form-item  label-width='260' label="容重(克/升)>=">
 				<u-input v-model="list.contractGoodsInfo.bulkDensity" input-align="right" placeholder="" disabled/>
 			</u-form-item>
 			<u-form-item  label-width='260' label="霉变粒(%)<=">
@@ -217,12 +217,17 @@
 			//驳回
 			rejectSubmit() {
 				var that = this
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				});
 				that.$api.doRequest('post', '/workflow/api/handle', {
 					taskId: that.list.taskId,
 					approved: false,
 					auditMind: this.auditMind,
 					needReapply: true,
 				}).then(res => {
+					uni.hideLoading()
 					that.$api.msg('驳回成功')
 					that.show=false
 				})
@@ -238,12 +243,17 @@
 			//通过
 			passSubmit() {
 				var that = this
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				});
 				that.$api.doRequest('post', '/workflow/api/handle', {
 					taskId: that.list.taskId,
 					approved: true,
 					auditMind: this.auditMind,
 					needReapply: true,
 				}).then(res => {
+					uni.hideLoading()
 					that.$api.msg('通过成功')
 					that.show=false
 					setTimeout(function() {