2
3
lining 6 rokov pred
rodič
commit
157d766a75

+ 20 - 20
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/bassicoperation.vue

@@ -228,11 +228,11 @@
                 </el-option>
               </el-select>
             </el-form-item>
-            <el-form-item label="专业处室">
-              <el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable
-                style="width: 100%" v-model="majorDept" placeholder="请选择专业处室" @change="orgtreeChange">
-              </el-cascader>
-            </el-form-item>
+            <!--<el-form-item label="专业处室">-->
+              <!--<el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable-->
+                <!--style="width: 100%" v-model="majorDept" placeholder="请选择专业处室" @change="orgtreeChange">-->
+              <!--</el-cascader>-->
+            <!--</el-form-item>-->
           </el-col>
           <el-col :span="24">
             <el-form-item label="备注">
@@ -527,7 +527,7 @@ import apiCert from '@/api/oilsupplier/suppliercert'
       if (this.Status > 0) {
         this.add_flat = false
       }
-      this.orgtreeChange(this.majorDept)
+      // this.orgtreeChange(this.majorDept)
     },
     methods: {
       SubpEntity () {
@@ -940,20 +940,20 @@ import apiCert from '@/api/oilsupplier/suppliercert'
               })
               return
             }
-            if (this.majorDept.length === 0) {
-              this.$message({
-                type: 'warning',
-                message: '请选择专业处室!'
-              })
-              return
-            }
-            if (this.userOptions == null || this.userOptions.length === 0) {
-              this.$message({
-                type: 'warning',
-                message: '该专业科室未配置接收人!'
-              })
-              return
-            }
+            // if (this.majorDept.length === 0) {
+            //   this.$message({
+            //     type: 'warning',
+            //     message: '请选择专业处室!'
+            //   })
+            //   return
+            // }
+            // if (this.userOptions == null || this.userOptions.length === 0) {
+            //   this.$message({
+            //     type: 'warning',
+            //     message: '该专业科室未配置接收人!'
+            //   })
+            //   return
+            // }
             this.entityForm.SupplierId = parseInt(this.certId)
             this.entityForm.SupplierTypeName = this.formData.SupplierTypeCode
             this.auditform.FirstAuditName = this.auditer

+ 20 - 20
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -232,11 +232,11 @@
                 </el-option>
               </el-select>
             </el-form-item>
-            <el-form-item label="专业处室">
-              <el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable
-                style="width: 100%" v-model="majorDept" placeholder="请选择专业处室" @change="orgtreeChange">
-              </el-cascader>
-            </el-form-item>
+            <!--<el-form-item label="专业处室">-->
+              <!--<el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable-->
+                <!--style="width: 100%" v-model="majorDept" placeholder="请选择专业处室" @change="orgtreeChange">-->
+              <!--</el-cascader>-->
+            <!--</el-form-item>-->
           </el-col>
           <el-col :span="24">
             <el-form-item label="备注">
@@ -530,7 +530,7 @@
       if (this.Status > 0) {
         this.add_flat = false
       }
-      this.orgtreeChange(this.majorDept)
+      // this.orgtreeChange(this.majorDept)
     },
     methods: {
       chooseAuditorShowFen () {
@@ -932,20 +932,20 @@
               })
               return
             }
-            if (this.majorDept.length === 0) {
-              this.$message({
-                type: 'warning',
-                message: '请选择专业处室!'
-              })
-              return
-            }
-            if (this.userOptions == null || this.userOptions.length === 0) {
-              this.$message({
-                type: 'warning',
-                message: '该专业科室未配置接收人!'
-              })
-              return
-            }
+            // if (this.majorDept.length === 0) {
+            //   this.$message({
+            //     type: 'warning',
+            //     message: '请选择专业处室!'
+            //   })
+            //   return
+            // }
+            // if (this.userOptions == null || this.userOptions.length === 0) {
+            //   this.$message({
+            //     type: 'warning',
+            //     message: '该专业科室未配置接收人!'
+            //   })
+            //   return
+            // }
             this.entityForm.SupplierId = parseInt(this.certId)
             this.entityForm.SupplierTypeName = this.formData.SupplierTypeCode
             this.auditform.FirstAuditName = this.auditer