ysy vor 2 Jahren
Ursprung
Commit
1226066d25

+ 5 - 1
pages/pda/picking/details.vue

@@ -150,7 +150,11 @@
 				console.log(this.List)
 				
 				batchSave(this.List).then(res => {
-					console.log(res)
+					
+					uni.navigateTo({
+						url: `/pages/pda/picking/index/index?tabType`,
+					});
+					
 				})
 			},
 

+ 10 - 4
pages/pda/picking/index/index.vue

@@ -1,6 +1,7 @@
 <template>
-	<view>
-		
+		<view class="content-box">
+		<uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="领料" background-color="#157A2C"
+			color="#fff" @clickLeft="back"></uni-nav-bar>
 	</view>
 </template>
 
@@ -17,6 +18,11 @@
 	}
 </script>
 
-<style>
-
+<style lang="scss" scoped>
+	.content-box {
+		height: 100vh;
+		overflow: hidden;
+		display: flex;
+		flex-direction: column;
+	}
 </style>

+ 1 - 3
pages/pda/workOrder/extrusionMolding/index.vue

@@ -197,9 +197,7 @@
 			getSteps() {
 				getTaskInstanceList(this.id).then(res => {
 					this.stepsList = res
-					if(!this.title && this.stepsList.length) {
-					this.title = this.stepsList[0].taskTypeName
-					}
+				
 				})
 			},
 			

+ 1 - 1
pages/pda/workOrder/index/index.vue

@@ -99,7 +99,7 @@
 
 			handleDetail(item) {
 				let url = '/pages/pda/workOrder/extrusionMolding/index'
-				url += `?id=${item.id}&title=${item.produceTaskInstanceName}`
+				url += `?id=${item.id}&title=${item.taskName}`
 				console.log(url)
 				uni.navigateTo({
 					url