Explorar el Código

需不需要专业处室审批,不在页面展示

yuedefeng hace 5 años
padre
commit
a1fd530fb8

+ 7 - 19
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplieraudit/_opera/techedit.vue

@@ -320,10 +320,7 @@
                 </el-option>
               </el-select>
             </el-form-item>
-            <el-form-item label="专业处室" v-if="inStyle != '2' && inStyle != '4' && inStyle != '6' && inStyle != '3' ">
-              <!--<el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable-->
-              <!--style="width: 100%" v-model="majorDept" placeholder="请选择专业处室">-->
-              <!--</el-cascader>-->
+            <el-form-item label="专业处室">
               <el-select  v-model="selectDept" filterable
                           placeholder="请选择" style="width: 100%" @change="changeOrgUnit">
                 <el-option  v-for="item in allorgunitOptions" :key="item.Id" :label="item.Fullname"
@@ -990,14 +987,12 @@
               })
               return
             }
-            if (this.inStyle != '2' && this.inStyle != '4' && this.inStyle != '6') {
-              if (this.userOptions == null || this.userOptions.length === 0) {
-                this.$message({
-                  type: 'warning',
-                  message: '该专业科室未配置接收人!'
-                })
-                return
-              }
+            if (this.userOptions == null || this.userOptions.length === 0) {
+              this.$message({
+                type: 'warning',
+                message: '该专业科室未配置接收人!'
+              })
+              return
             }
           }
           if (this.formData.Status == '10') {
@@ -1039,13 +1034,6 @@
             })
             return
           }
-          // if ((!this.auditer || this.auditer === 0) && this.formData.Status == '3') {
-          //   this.$message({
-          //     type: 'warning',
-          //     message: '请选择审核人!'
-          //   })
-          //   return
-          // }
         } else {
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark