zxz 1 ano atrás
pai
commit
3de3ad8239

+ 4 - 4
pages/erpbusiness/add_quality_testing.vue

@@ -1149,8 +1149,8 @@
 					// number = number.substring(number.length - 4, number.length)
 					// number = number.substring(number.length - 4, number.length)
 					// this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
 					// this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
 				}
 				}
-				this.gridList.grade = this.gradeList[1].value
-				this.gridList.gradeKey = this.gradeList[1].key
+				this.gridList.grade = this.gradeList[2].value
+				this.gridList.gradeKey = this.gradeList[2].key
 				this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
 				this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
 					flag: this.flag,
 					flag: this.flag,
 					warehouseName: this.gridList.warehouseName
 					warehouseName: this.gridList.warehouseName
@@ -1328,8 +1328,8 @@
 						}
 						}
 					}
 					}
 					this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
 					this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
-					this.gridList.grade = this.gradeList[1].value
-					this.gridList.gradeKey = this.gradeList[1].key
+					this.gridList.grade = this.gradeList[2].value
+					this.gridList.gradeKey = this.gradeList[2].key
 					// this.gridList.grade = this.contractNolist.grade
 					// this.gridList.grade = this.contractNolist.grade
 					this.gridList.inOutType = this.contractNolist.inOutType
 					this.gridList.inOutType = this.contractNolist.inOutType
 
 

+ 2 - 3
pages/erpbusiness/edit_quality_testing.vue

@@ -776,9 +776,8 @@
 					that.carModeList = res.data.data
 					that.carModeList = res.data.data
 				}
 				}
 			})
 			})
-			
-			this.gridList.grade = this.gradeList[0].value
-			this.gridList.gradeKey = this.gradeList[0].key
+			this.gridList.grade = this.gradeList[2].value
+			this.gridList.gradeKey = this.gradeList[2].key
 		},
 		},
 		onShow() {
 		onShow() {
 			this.multiSelector1=[{name:'他运',value:'他运'}]
 			this.multiSelector1=[{name:'他运',value:'他运'}]