Explorar el Código

Merge branch 'dev' into test

longfenglin hace 1 año
padre
commit
03f89bc75c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/workOrder/index.vue

+ 2 - 1
src/views/workOrder/index.vue

@@ -449,6 +449,7 @@ export default {
       this.visible = true;
       this.FirstTaskIdFn();
       this.WorkCenterIdFn();
+      this.form.singleReport = this.clientEnvironmentId == 2 ? 0 : 1
     },
     // 下达
     confirm() {
@@ -494,7 +495,7 @@ export default {
         crewIds: '',
         workstationIds: '',
         teamId: '',
-        singleReport: ''
+        singleReport: this.clientEnvironmentId == 2 ? 0 : 1
       };
     },