浏览代码

修改bug

chenrui 1 年之前
父节点
当前提交
b2f4e053ee

+ 1 - 1
src/views/dealerManagement/merchantInfoManagement/chooseTypeList.vue

@@ -4,7 +4,7 @@
       <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
         <a-row :gutter="15">
           <a-col :md="6" :sm="24">
-            <a-form-item label="产品品牌">
+            <a-form-item label="品牌分类">
               <v-select
                 code="BRAND_TYPE"
                 id="inventoryQueryList-productBrandType"

+ 9 - 6
src/views/dealerManagement/merchantInfoManagement/chooseTypeModal.vue

@@ -26,11 +26,11 @@
             allowClear
             placeholder="请选择价格级别"></v-select>
         </a-form-model-item>
-        <a-form-model-item label="添加品类" prop="productScopeList">
-          <div class="typeListBox">
-            <chooseTypeList ref="chooseTypeInfo" :maxHeight="500"></chooseTypeList>
-          </div>
-        </a-form-model-item>
+        <a-form-model-item label="添加品类" prop="productScopeList"></a-form-model-item>
+        <div class="typeListBox">
+          <chooseTypeList ref="chooseTypeInfo" :maxHeight="500"></chooseTypeList>
+        </div>
+
       </a-form-model>
       <div class="btn-cont">
         <a-button id="chooseType-modal-back" @click="isShow = false" >取消</a-button>
@@ -58,7 +58,7 @@ export default {
       isShow: this.openModal, //  是否打开弹框
       spinning: false,
       formItemLayout: {
-        labelCol: { span: 4 },
+        labelCol: { span: 2 },
         wrapperCol: { span: 18 }
       },
       form: {
@@ -136,4 +136,7 @@ export default {
       margin: 35px 0 10px;
     }
   }
+  .has-error .ant-form-explain, .has-error .ant-form-split{
+    margin-top:9px;
+  }
 </style>