zxz há 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)
 					// 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', {
 					flag: this.flag,
 					warehouseName: this.gridList.warehouseName
@@ -1328,8 +1328,8 @@
 						}
 					}
 					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.inOutType = this.contractNolist.inOutType
 

+ 2 - 3
pages/erpbusiness/edit_quality_testing.vue

@@ -776,9 +776,8 @@
 					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() {
 			this.multiSelector1=[{name:'他运',value:'他运'}]