Ver Fonte

修改bug

695593266@qq.com há 2 dias atrás
pai
commit
3ed282acc3
1 ficheiros alterados com 17 adições e 0 exclusões
  1. 17 0
      src/views/produce/components/jobBooking/index.vue

+ 17 - 0
src/views/produce/components/jobBooking/index.vue

@@ -794,6 +794,23 @@
       setTaskReportInfo(index, data) {
         if (this.List[index]) {
           this.$set(this.List[index], 'taskReportInfo', data || {});
+          if (
+            this.clientEnvironmentId == 9 &&
+            data &&
+            data.isAssign == 1 &&
+            data.reportQuantity !== undefined &&
+            data.reportQuantity !== null &&
+            data.reportQuantity !== ''
+          ) {
+            if (!this.List[index].workReportInfo) {
+              this.$set(this.List[index], 'workReportInfo', {});
+            }
+            this.$set(
+              this.List[index].workReportInfo,
+              'formedNum',
+              data.reportQuantity
+            );
+          }
         }
       },