From 3ba79fc36cf9ac31b9ff2b326cc2ba9ecb9cb794 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期五, 22 七月 2022 20:57:13 +0800
Subject: [PATCH] 提交代码

---
 src/views/basics/manufacturer/index.vue |   29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/src/views/basics/manufacturer/index.vue b/src/views/basics/manufacturer/index.vue
index f647474..729966f 100644
--- a/src/views/basics/manufacturer/index.vue
+++ b/src/views/basics/manufacturer/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px" @submit.native.prevent>
       <el-form-item label="鍘傚晢鍚嶇О" prop="name">
         <el-input
           v-model="queryParams.name"
@@ -96,12 +96,13 @@
           <span>{{ scope.$index + (queryParams.pageNum - 1) * queryParams.pageSize + 1 }} </span>
         </template>
       </el-table-column>
-      <el-table-column label="鍘傚晢鍚嶇О" align="center" prop="name" />
-      <el-table-column label="鍘傚晢浠g爜" align="center" prop="code" />
-      <el-table-column label="鑱旂郴鏂瑰紡" align="center" prop="phone" />
-      <el-table-column label="閭" align="center" prop="mailbox" />
+      <el-table-column label="鍘傚晢鍚嶇О" align="center" prop="name" show-overflow-tooltip/>
+      <el-table-column label="鍘傚晢浠g爜" align="center" prop="code" show-overflow-tooltip/>
+      <el-table-column label="鑱旂郴浜�" align="center" prop="contactBy" show-overflow-tooltip/>
+      <el-table-column label="鑱旂郴鏂瑰紡" align="center" prop="phone" show-overflow-tooltip/>
+      <el-table-column label="閭" align="center" prop="mailbox" show-overflow-tooltip/>
       <el-table-column label="鑱旂郴鍦板潃" align="center" prop="contactAddress" show-overflow-tooltip />
-      <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="鎿嶄綔" width="120" fixed="right" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button
             size="mini"
@@ -134,19 +135,25 @@
     <Dialog :title="title" :visible.sync="open" width="500px" :append-to-body="true" :close-on-click-modal="false">
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="鍘傚晢鍚嶇О" prop="name">
-          <el-input v-model="form.name" placeholder="璇疯緭鍏ュ巶鍟嗗悕绉�" />
+          <el-input v-model="form.name" maxlength="30" show-word-limit placeholder="璇疯緭鍏ュ巶鍟嗗悕绉�" />
         </el-form-item>
         <el-form-item label="鍘傚晢浠g爜" prop="code">
-          <el-input v-model="form.code" placeholder="璇疯緭鍏ュ巶鍟嗕唬鐮�" />
+          <el-input v-model="form.code" maxlength="60" show-word-limit placeholder="璇疯緭鍏ュ巶鍟嗕唬鐮�" />
+        </el-form-item>
+        <el-form-item label="鑱旂郴浜�" prop="contactBy">
+          <el-input v-model="form.contactBy" maxlength="30" show-word-limit placeholder="璇疯緭鍏ヨ仈绯讳汉" />
         </el-form-item>
         <el-form-item label="鑱旂郴鏂瑰紡" prop="phoneNumber">
-          <el-input v-model="form.phone" placeholder="璇疯緭鍏ヨ仈绯绘柟寮�" />
+          <el-input v-model="form.phone" maxlength="100" show-word-limit placeholder="璇疯緭鍏ヨ仈绯绘柟寮�" />
         </el-form-item>
         <el-form-item label="閭" prop="mailbox">
-          <el-input v-model="form.mailbox" placeholder="璇疯緭鍏ラ偖绠�" />
+          <el-input v-model="form.mailbox" maxlength="30" show-word-limit placeholder="璇疯緭鍏ラ偖绠�" />
         </el-form-item>
         <el-form-item label="鑱旂郴鍦板潃" prop="contactAddress">
-          <el-input v-model="form.contactAddress" placeholder="璇疯緭鍏ヨ仈绯诲湴鍧�" />
+          <el-input v-model="form.contactAddress" maxlength="128" show-word-limit placeholder="璇疯緭鍏ヨ仈绯诲湴鍧�" />
+        </el-form-item>
+        <el-form-item label="澶囨敞" prop="remarks">
+          <el-input v-model="form.remarks" type="textarea" rows="4" maxlength="255" show-word-limit placeholder="璇疯緭鍏ラ偖绠�" />
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">

--
Gitblit v1.9.1