Browse Source

更换周转车

ysy 2 năm trước cách đây
mục cha
commit
7650df5d72

+ 0 - 16
pages/pda/feeding/details.vue

@@ -274,14 +274,6 @@
 			scanIt(id) {
 				console.log(id)
 
-				// CX-EQ-YLSJL-008	  设备
-				// M001 M002 模具 
-				//  S310000552731 物料
-				//               干燥区 
-				// w0300000003140004 周转车
-				// this.scanItData('w0300000003140004', id)
-				// return false
-
 				let _this = this
 				uni.scanCode({
 					success: function(res) {
@@ -379,14 +371,6 @@
 			handlScanCode() {
 
 
-				// CX-EQ-YLSJL-008	  设备
-				// M001 M002 模具 
-				//  S310000552731 物料
-				// w0300000003140004 周转车
-				// this.scanItAllData('w0300000003140004')
-				// return false
-
-
 				let _this = this
 				uni.scanCode({
 					success: function(res) {

+ 0 - 5
pages/pda/jobBooking/index/index.vue

@@ -219,11 +219,6 @@
 
 			// 相机扫码
 			HandlScanCode() {
-				// CX-EQ-YLSJL-008	  设备
-				// M001 M002 模具 
-				// 周转车 w0300000003140004
-				// this.scanItAllData('M002')
-				// return false
 
 				let _this = this
 				uni.scanCode({

+ 0 - 3
pages/pda/sample/inspection/index.vue

@@ -199,9 +199,6 @@
 				console.log(id)
 
 
-				// this.scanItData('CX-PW-FZ-002995001', id)
-				// return false
-
 				let _this = this
 				uni.scanCode({
 					success: function(res) {

+ 4 - 4
pages/pda/turnover/components/turnoverBom.vue

@@ -198,7 +198,7 @@
 				this.wordInfo.categoryCode = arr[0].categoryCode
 
 
-				this.$refs.turnoverRef.open('w0300000004195005', this.wordInfo, this.newList, this.wordItem, index)
+				this.$refs.turnoverRef.open('w0300000003431001', this.wordInfo, this.newList, this.wordItem, index)
 				return false
 
 				let _this = this
@@ -229,7 +229,7 @@
 				turnoverArr = [this.newList[index], ...newTurnover]
 				
 				transferVehicle(turnoverArr).then(res => {
-					
+					 this.$emit('refreshList')
 				})
 
 
@@ -455,8 +455,8 @@
 	}
 
 	.check {
-		width: 40rpx;
-		height: 40rpx;
+		width: 30rpx;
+		height: 30rpx;
 	}
 
 	.isend {

+ 7 - 16
pages/pda/turnover/index/index.vue

@@ -10,9 +10,7 @@
 
 
 					<turnoverBom v-if='item.turnover.length != 0' :list='item.turnover' :wordItem='item'
-						:newTurnover='item.newTurnover' @handleScan='handleScan'></turnoverBom>
-
-
+						:newTurnover='item.newTurnover' @handleScan='handleScan' @refreshList='getList'></turnoverBom>
 
 
 
@@ -21,7 +19,7 @@
 
 		</view>
 
-	
+
 
 
 	</view>
@@ -61,14 +59,14 @@
 			this.taskName = options.taskName
 
 			this.getList()
-        
+
 		},
 
 
 		methods: {
 			scrolltolower() {},
 
-	
+
 
 			getList() {
 				getVehicle({
@@ -89,13 +87,11 @@
 					}
 
 					this.List.push(res)
-					console.log(this.List)
-
+					
 				})
 			},
-			
-			
-	
+
+
 
 
 
@@ -111,11 +107,6 @@
 
 
 			handleScan(id, type) {
-				console.log(id)
-				console.log(type)
-
-				// this.scanData('SCJHGD20240117002', type, id)
-				// return false
 
 				let _this = this
 				uni.scanCode({