chenrui 3 tahun lalu
induk
melakukan
a556876b43

+ 4 - 4
src/views/salesManagement/salesQuery/chooseCustomModal.vue

@@ -19,13 +19,13 @@
         :wrapper-col="formItemLayout.wrapperCol"
       >
         <a-row :gutter="15">
-          <a-col :span="8">
-            <a-form-model-item label="客户名称" prop="buyerSn">
+          <a-col :span="16">
+            <a-form-model-item label="客户名称" prop="buyerSn" :labelCol="{ span: 3 }" :wrapperCol="{ span: 20 }">
               <custList ref="custList" id="chooseCustom-buyerSn" @change="custChange" v-model="form.buyerSn"></custList>
             </a-form-model-item>
           </a-col>
-          <a-col :span="16" v-if="$hasPermissions('B_customer_customerInfo_add')">
-            <a-form-model-item>
+          <a-col :span="8" v-if="$hasPermissions('B_customer_customerInfo_add')">
+            <a-form-model-item :labelCol="{ span: 0 }" :wrapperCol="{ span: 24 }">
               <a-button type="primary" class="button-primary" @click="openNewCust" icon="plus">新增</a-button>
               (点击新增按钮新增客户)
             </a-form-model-item>

+ 2 - 2
src/views/salesManagement/salesReturn/chooseCustomModal.vue

@@ -19,8 +19,8 @@
         :wrapper-col="formItemLayout.wrapperCol"
       >
         <a-row :gutter="15">
-          <a-col :span="8">
-            <a-form-model-item label="客户名称" prop="buyerSn">
+          <a-col :span="16">
+            <a-form-model-item label="客户名称" prop="buyerSn" :labelCol="{ span: 3 }" :wrapperCol="{ span: 20 }">
               <custList ref="custList" @change="custChange" v-model="form.buyerSn"></custList>
             </a-form-model-item>
           </a-col>