Selaa lähdekoodia

修改质检、检斤对齐样式

wangchao 3 vuotta sitten
vanhempi
commit
d43101138e

+ 2 - 18
pages/erp/index.vue

@@ -203,7 +203,7 @@
 			confirmPositon() {},
 			init() {
 				console.log(this.userInfo)
-				this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseViewinfo', {
+				this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf', {
 					compId: '',
 				}).then(res => {
 					if (res.data.data) {
@@ -219,23 +219,7 @@
 				})
 			},
 			makeBinNumber(){debugger
-				let _data = this.warehouseList
-				let _arr = []
-				for(let i = 0;i<_data.length;i++){
-					//判断当前对象是否在数组中
-					let result = _arr.some(item=>{
-					   if(item.warehouseId==_data[i].warehouseId){
-						  _arr.cwList.push(_data[i].binNumber)
-					      return true 
-					  } 
-					})
-					console.log(result) 
-					if(!result){ 
-						 _arr.push(_data[i])
-						 _arr.cwList = [_data[i].binNumber]
-					 }
-					
-				}
+
 				console.log(_arr)
 			
 			},

+ 5 - 3
pages/erpbusiness/acquisitionInspection/acquisitionInspection.vue

@@ -254,18 +254,20 @@
 			background: #F9F9FA;
 			border-radius: 10rpx;
 			padding: 10rpx 0;
-			justify-content: space-evenly;
-			margin: 20rpx;
+			justify-content: space-around;
+			margin: 20rpx 0;
 			color: #878C9C;
+			padding-left: 24rpx;
 		}
 
 		.row3 {
 			display: flex;
 			margin-top: 30rpx;
+			padding-left: 14rpx;
 			.row3-item {
 				display: flex;
 				margin-right: 40rpx;
-
+				align-items: center;
 				.left {
 					background: #22C572;
 					border-radius: 10rpx;

+ 1 - 1
pages/erpbusiness/quality_testing.vue

@@ -460,7 +460,7 @@
 			background: #F9F9FA;
 			border-radius: 10rpx;
 			padding: 10rpx 0;
-			justify-content: space-evenly;
+			justify-content: space-around;
 			margin: 20rpx;
 			color: #878C9C;
 		}