فهرست منبع

管理后台-编辑页按钮删除优化

panyong 3 سال پیش
والد
کامیت
26e0dddc20
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      htmldev/manage/src/views/business/pms/goods/index.vue

+ 4 - 4
htmldev/manage/src/views/business/pms/goods/index.vue

@@ -80,20 +80,20 @@
             <div class="table-layout">
               <el-row>
                 <el-col :span="2" class="table-cell-title">ID</el-col>
-                <el-col :span="8" class="table-cell-title">SKU名</el-col>
+                <el-col :span="7" class="table-cell-title">SKU名</el-col>
                 <el-col :span="2" class="table-cell-title">库存</el-col>
                 <el-col :span="2" class="table-cell-title">价格</el-col>
-                <el-col :span="2" class="table-cell-title">是否上架</el-col>
+                <el-col :span="3" class="table-cell-title">是否上架</el-col>
                 <el-col :span="4" class="table-cell-title">创建时间</el-col>
                 <el-col :span="4" class="table-cell-title">更新时间</el-col>
               </el-row>
               <el-row v-for="(item, index) in props.row.skus"
                       :key="index">
                 <el-col :span="2" class="table-cell">{{ item.id }}</el-col>
-                <el-col :span="8" class="table-cell">{{ item.product_sku }}</el-col>
+                <el-col :span="7" class="table-cell">{{ item.product_sku }}</el-col>
                 <el-col :span="2" class="table-cell">{{ item.product_stock }}</el-col>
                 <el-col :span="2" class="table-cell">{{ item.product_price | fen2Yuan }}</el-col>
-                <el-col :span="2" class="table-cell">{{ ['下架', '上架'][item.product_status] }}</el-col>
+                <el-col :span="3" class="table-cell">{{ ['下架', '上架'][item.product_status] }}</el-col>
                 <el-col :span="4" class="table-cell">{{ item.created_at }}</el-col>
                 <el-col :span="4" class="table-cell">{{ item.updated_at }}</el-col>
               </el-row>