gjy 2 年之前
父節點
當前提交
b1a634beec
共有 2 個文件被更改,包括 27 次插入1 次删除
  1. 24 0
      src/views/houseSelfCollect/inspectionManagementNew.vue
  2. 3 1
      src/views/universalityAudit/audit.vue

+ 24 - 0
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -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) {

+ 3 - 1
src/views/universalityAudit/audit.vue

@@ -51,6 +51,8 @@
           </el-table-column>
           <el-table-column prop="auditBusinessNo" label="审核业务编号">
           </el-table-column>
+          <el-table-column prop="sponsor" label="发起人">
+          </el-table-column>
           <el-table-column prop="businessType" label="类型">
           </el-table-column>
           <el-table-column prop="buyer" label="备注">
@@ -441,7 +443,7 @@
           })
           .then(() => {
             this.form.compId=localStorage.getItem('ws-pf_compId')
-            this.form.sponsor=localStorage.getItem('ws-pf_roleName')
+            this.form.sponsor=localStorage.getItem('ws-pf_staffName')
           addaduitinfo(this.form).toPromise().then(response => {
             this.$message({
                 message: '提交成功!',