|
@@ -1106,8 +1106,20 @@ export default {
|
|
|
if (this.deptBudgetList.goodsName && type != 'water') {
|
|
|
if (this.deptBudgetList.goodsName.indexOf('潮粮') != -1) {
|
|
|
this.deptBudgetList.type = '潮粮'
|
|
|
+ this.deptBudgetList.grade = this.gradeList[1].value
|
|
|
+ this.deptBudgetList.gradeKey = this.gradeList[1].key
|
|
|
+ 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].value
|
|
|
+ this.deptBudgetList.gradeKey = this.gradeList[1].key
|
|
|
+ this.deptBudgetList.imperfectGrain=8
|
|
|
+ this.deptBudgetList.impurity=1
|
|
|
+ this.deptBudgetList.mildewGrain=2
|
|
|
+ this.deptBudgetList.jiaorenli=0
|
|
|
}
|
|
|
if (!this.deptBudgetList.dryGrainPrice || this.deptBudgetList.dryGrainPrice == 0) {
|
|
|
getDryGrainPrice({
|
|
@@ -3623,8 +3635,20 @@ 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].value
|
|
|
+ this.deptBudgetList.gradeKey = this.gradeList[1].key
|
|
|
+ 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].value
|
|
|
+ this.deptBudgetList.gradeKey = this.gradeList[1].key
|
|
|
+ this.deptBudgetList.imperfectGrain=8
|
|
|
+ this.deptBudgetList.impurity=1
|
|
|
+ this.deptBudgetList.mildewGrain=2
|
|
|
+ this.deptBudgetList.jiaorenli=1
|
|
|
}
|
|
|
} else {
|
|
|
if (this.taskNolist[i].contractNo) {
|