zxz преди 2 години
родител
ревизия
ba0d7966aa
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 4 - 4
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -3737,16 +3737,16 @@ export default {
             this.deptBudgetList.goodsName = this.taskNolist[i].goodsName
             if(this.taskNolist[i].goodsName.indexOf('潮粮') != -1){  //收购从合同中带出货名  单价等信息  用货名是否带有潮粮字符来判断干潮类型
               this.deptBudgetList.type = '潮粮'
-              this.deptBudgetList.grade = this.gradeList[1].constValue
-				  this.deptBudgetList.gradeKey = this.gradeList[1].constKey
+              this.deptBudgetList.grade = this.gradeList[2].constValue
+				  this.deptBudgetList.gradeKey = this.gradeList[2].constKey
               this.deptBudgetList.imperfectGrain=8
 							this.deptBudgetList.impurity=1
 							this.deptBudgetList.mildewGrain=2
 							this.deptBudgetList.jiaorenli=0
             }else{
               this.deptBudgetList.type = '干粮'
-              this.deptBudgetList.grade = this.gradeList[1].constValue
-				  this.deptBudgetList.gradeKey = this.gradeList[1].constKey
+              this.deptBudgetList.grade = this.gradeList[2].constValue
+				  this.deptBudgetList.gradeKey = this.gradeList[2].constKey
               this.deptBudgetList.imperfectGrain=8
 							this.deptBudgetList.impurity=1
 							this.deptBudgetList.mildewGrain=2