高敬炎 2 gadi atpakaļ
vecāks
revīzija
0f6fdd0ddd

+ 1 - 1
components/flow.vue

@@ -134,7 +134,7 @@
 		watch: {
 			auditList(val1, val2) {
 				console.log(145)
-				console.log(val1[1])
+				console.log(val1)
 				this.list = val1
 				this.userInfo = uni.getStorageSync("userInfo")
 				for (let i = 0; i < this.list.length; i++) {

+ 2 - 1
pages/task/audit/warehouse_details.vue

@@ -151,7 +151,8 @@
 		},
 		methods: {
 			getStatus(val) {
-				if (val == 200) this.getList()
+				console.log(11111)
+				if (val == 200) this.getData()
 			},
 			showcontent(item) {
 				item.showflow = !item.showflow

+ 0 - 14
pages/task/audit/warehouse_warrant.vue

@@ -487,20 +487,6 @@
 
 					}
 				})
-				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
-					businessCode: 'WAREHOUSING-ORDER-APPROVE',
-					tmpCompId: uni.getStorageSync('pcUserInfo').compId
-				}).then(res1 => {
-					this.updateDate = res1.data.data[0].updateDate
-					this.$api.doRequest('get', '/commonUser/getHis', {
-						workflowId: res1.data.data[0].id,
-						businessKey: this.id
-					}).then(response => {
-						// uni.hideLoading()
-						this.auditList = response.data.data
-
-					})
-				})
 			},
 			close() {
 				this.show = false