ysy il y a 1 an
Parent
commit
ddabf9620f
1 fichiers modifiés avec 21 ajouts et 7 suppressions
  1. 21 7
      pages/pda/components/outsourceList.vue

+ 21 - 7
pages/pda/components/outsourceList.vue

@@ -246,7 +246,8 @@
 
 <script>
 	import {
-		checkOutsourceMaterial
+		checkOutsourceMaterial,
+		applyoutsourceSave
 	} from '@/api/pda/workOrder.js'
 	import {
 		tableHeader
@@ -299,7 +300,6 @@
 
 		computed: {
 
-
 		},
 
 
@@ -417,7 +417,20 @@
 			},
 
 			handOK() {
-
+				let param = {
+					...this.outObj,
+					isRelease: 0,
+					bomMaterialList: this.bomMaterialList,
+					pickOutInList: this.pickOutInList.filter(f => f.checked == true) ,
+					materialList: this.materialList,
+					standardOutputList: this.standardOutputList,
+				}
+          
+				applyoutsourceSave(param).then(res => {
+				 this.$emit('close', true)
+				   this.close()
+				 
+				})
 			},
 		}
 	}
@@ -463,11 +476,12 @@
 			background-color: $theme-color !important;
 			border-color: $theme-color !important;
 		}
-		
-		.listBox-sel{
-			
+
+		.listBox-sel {
+
 			margin-top: 10rpx;
 			margin-right: 8rpx;
+
 			.round {
 				width: 32rpx;
 				height: 32rpx;
@@ -481,7 +495,7 @@
 				color: #fff;
 			}
 		}
-		
+
 
 		.round {
 			width: 32rpx;