Browse Source

调整车间修改日报的取值

Lljy-ai 1 year ago
parent
commit
45bba912b3

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet-workshop-h5/src/views/workView/fillReport.vue

@@ -133,9 +133,9 @@ export default {
         finishNum: this.reportForm.finishNum,
         isFinish: this.reportForm.isFinish
       };
-      const { id, reportBoolean } = this.$route.query;
+      const { id, reportBoolean, ohterId } = this.$route.query;
       if(reportBoolean == 'true') {
-        postData.id = id;
+        postData.id = ohterId;
       }
       if (this.reportForm.isFinish) {
         if (this.reportForm.check_type != 0) {

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet-workshop-h5/src/views/workView/workView.vue

@@ -263,7 +263,8 @@ export default {
         path: '/fillReport',
         query: {
           id: this.reportBoolean ? item.userProcedureTeamId : item.id,
-          reportBoolean: this.reportBoolean
+          reportBoolean: this.reportBoolean,
+          ohterId: item.id
         }
       })
     },