戴艳蓉 3 年 前
コミット
c15841f2e4
1 ファイル変更4 行追加4 行削除
  1. 4 4
      src/views/serviceParam/supplier/components/baseForm.vue

+ 4 - 4
src/views/serviceParam/supplier/components/baseForm.vue

@@ -298,7 +298,7 @@
           />
         </el-form-item>
       </el-col>
-      <el-col :span="8" v-if="!ruleForm.supplier_img">
+      <el-col :span="8" v-if="!(ruleForm.supplier_img&&type === 'add') ">
         <el-form-item label="公司类型" prop="nature">
           <search-company-type
             :value="ruleForm.nature"
@@ -310,7 +310,7 @@
           />
         </el-form-item>
       </el-col>
-      <el-col :span="16" v-if="!ruleForm.supplier_img">
+      <el-col :span="16" v-if="!(ruleForm.supplier_img&&type === 'add') ">
         <el-form-item label="详细地址" prop="addr">
           <el-input
             v-model="ruleForm.addr"
@@ -320,7 +320,7 @@
           />
         </el-form-item>
       </el-col>
-      <el-col :span="8" v-if="!ruleForm.supplier_img">
+      <el-col :span="8" v-if="!(ruleForm.supplier_img&&type === 'add') ">
         <el-form-item label="法人代表" prop="legaler">
           <el-input
             v-model="ruleForm.legaler"
@@ -343,7 +343,7 @@
         </el-form-item>
       </el-col>
 
-      <el-col :span="16" v-if="!ruleForm.supplier_img">
+      <el-col :span="16" v-if="!(ruleForm.supplier_img&&type === 'add') ">
         <el-form-item label="运营范围" prop="scope">
           <el-input
             v-model="ruleForm.scope"