zxz 2 년 전
부모
커밋
275108b1c6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/views/houseSelfCollect/inspectionManagementNew.vue

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

@@ -1131,8 +1131,8 @@ export default {
         if (this.deptBudgetList.goodsName.indexOf('潮粮') != -1) {
           this.deptBudgetList.type = '潮粮'
           if(!this.deptBudgetList.grade){
-            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
@@ -1141,8 +1141,8 @@ export default {
         } else {
           this.deptBudgetList.type = '干粮'
           if(!this.deptBudgetList.grade){
-            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