Browse Source

mod:编辑弹出框

panqiuyao 6 tháng trước cách đây
mục cha
commit
db9dcd863a
1 tập tin đã thay đổi với 17 bổ sung18 xóa
  1. 17 18
      frontend/src/views/Tpl/List/index.vue

+ 17 - 18
frontend/src/views/Tpl/List/index.vue

@@ -47,11 +47,20 @@
     />
 
     <!-- 新增/编辑弹出框 -->
-    <el-dialog v-model="dialogVisible" :title="dialogTitle" width="500px">
+    <el-dialog v-model="dialogVisible" :title="dialogTitle" width="600px">
       <el-form :model="form" label-width="100px">
         <el-form-item label="模板名称">
           <el-input v-model="form.name" placeholder="请输入模板名称" maxlength="20" show-word-limit />
         </el-form-item>
+        <el-form-item label="照片名称">
+          <el-input
+              v-model="form.name"
+              placeholder="用逗号分隔,例:俯视图,仰视图,侧视图,鞋底,内里"
+              maxlength="100"
+              show-word-limit
+          />
+
+        </el-form-item>
         <el-form-item label="所属企业">
           <el-select v-model="form.company" filterable placeholder="请选择所属企业">
             <el-option
@@ -87,23 +96,13 @@
             <el-button type="primary">数据EXCEL</el-button>
           </el-upload>
           <el-upload
-            action="#"
-            :auto-upload="false"
-            :on-change="handleShoeImageChange"
-            class="mar-left-10"
-        >
-          <el-button type="primary">EXCEL模板</el-button>
-        </el-upload>
-<!--          <div v-for="(image, index) in form.shoeImages" :key="index" style="margin-top: 10px;">
-            <el-input
-              v-model="image.name"
-              placeholder="请输入图片名称"
-              maxlength="5"
-              show-word-limit
-              style="width: 200px; margin-right: 10px;"
-            />
-            <el-image :src="image.url" style="width: 100px; height: 100px;" />
-          </div>-->
+              action="#"
+              :auto-upload="false"
+              :on-change="handleShoeImageChange"
+              class="mar-left-10"
+          >
+            <el-button type="primary">EXCEL模板</el-button>
+          </el-upload>
         </el-form-item>
       </el-form>
       <template #footer>