소스 검색

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

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>