una 4 ヶ月 前
コミット
001fedac95
2 ファイル変更4 行追加4 行削除
  1. 3 3
      src/views/goods/create.vue
  2. 1 1
      src/views/goods/list.vue

+ 3 - 3
src/views/goods/create.vue

@@ -338,7 +338,7 @@
           </el-table-column>
         </el-table>
 
-        <el-dialog :visible.sync="productVisiable" title="添加商品规格" width="1060px">
+        <el-dialog :visible.sync="productVisiable" title="添加商品规格" width="1060px"  :close-on-click-modal="false">
           <el-form
             ref="productForm"
             :rules="productRules"
@@ -457,7 +457,7 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="加购单位" prop="unitArea" v-if="goods.productType == 1">
-                  <el-input v-model="productForm.unitArea" type="number" placeholder="如(平米、台等)" />
+                  <el-input v-model="productForm.unitArea"  placeholder="如(平米、台等)" />
                 </el-form-item>
               </el-col>
             </el-row>
@@ -574,7 +574,7 @@
                 </el-form-item>
               </el-col>
               <el-col :span="12">
-                <el-form-item label="每天工作开始时间" prop="endTime">
+                <el-form-item label="每天工作结束时间" prop="endTime">
                   <el-time-select
                     v-model="productForm.endTime"
                     :picker-options="{

+ 1 - 1
src/views/goods/list.vue

@@ -45,7 +45,7 @@
               <span>{{ props.row.goodsSn }}</span>
             </el-form-item>
             <el-form-item label="宣传画廊">
-              <img v-for="pic in props.row.gallery" :key="pic" :src="pic" class="gallery">
+              <img v-for="pic in props.row.gallery.split(',')" :key="pic" :src="pic" class="gallery">
             </el-form-item>
             <el-form-item label="商品介绍">
               <span>{{ props.row.brief }}</span>