Browse Source

货架设置基础信息,新增文字说明

chenrui 3 years ago
parent
commit
6ed836246f
1 changed files with 11 additions and 3 deletions
  1. 11 3
      src/views/numsGoodsShelves/shelfSet/basicInfoModal.vue

+ 11 - 3
src/views/numsGoodsShelves/shelfSet/basicInfoModal.vue

@@ -17,7 +17,15 @@
         :rules="rules"
         :label-col="formItemLayout.labelCol"
         :wrapper-col="formItemLayout.wrapperCol">
-        <a-form-model-item label="关联客户" prop="customerSn">
+        <a-form-model-item prop="customerSn">
+          <template slot="label">
+            <a-tooltip placement="top">
+              <template slot="title">
+                <span>此数字货架,归属于您的哪一位客户。如果没有搜索到客户,请在客户管理功能中新建客户。</span>
+              </template>
+              关联客户<a-icon type="question-circle" style="color: rgba(0,0,0,.65);font-size: 16px;margin-left: 2px;vertical-align: sub;cursor: pointer;" />
+            </a-tooltip>
+          </template>
           <custList ref="custList" :isEnabled="true" @change="custChange"></custList>
         </a-form-model-item>
       </a-form-model>
@@ -56,8 +64,8 @@ export default {
       spinning: false,
       isShow: this.openModal, //  是否打开弹框
       formItemLayout: {
-        labelCol: { span: 4 },
-        wrapperCol: { span: 18 }
+        labelCol: { span: 5 },
+        wrapperCol: { span: 17 }
       },
       form: {
         customerSn: undefined