Commit cca27636b70dff57fe689c32a41edf9d540cdceb

Authored by YunaiV
1 parent e6acdf70

code review 订单列表.vue 界面

yudao-ui-admin/src/views/order/goodsOrder/index.vue
1 1 <template>
  2 + <!-- TODO:挪到 mall/trade/order/index.vue -->
  3 + <!-- TODO:咱的一些 html 标签,是不是可以按照一行,紧凑一点,嘿嘿,这样阅读起来方便一些 -->
2 4 <div class="app-container">
  5 +
  6 + <!-- 搜索工作栏 -->
  7 + <!-- TODO: inline 看看是不是需要; v-show= 那块逻辑还是要的 -->
3 8 <el-row :gutter="20">
4 9 <el-form
5 10 :model="queryParams"
... ... @@ -133,6 +138,7 @@
133 138 :row-class-name="rowClassName"
134 139 border
135 140 >
  141 + <!-- TODO: 多选,咱先去掉哈 -->
136 142 <el-table-column type="selection" :selectable="(row, index) => index % 2"/>
137 143 <el-table-column label="商品" prop="goods" width="360">
138 144 <template slot-scope="{ row, $index }">
... ... @@ -162,6 +168,7 @@
162 168 <el-button type="text">详情</el-button>
163 169 <el-button type="text">备注</el-button>
164 170 </el-col>
  171 + <!-- TODO:关闭订单、修改地址、调整价格 -->
165 172 </el-row>
166 173 <div v-else class="goods-info">
167 174 <img :src="row.picture"/>
... ... @@ -169,6 +176,7 @@
169 176 </div>
170 177 </template>
171 178 </el-table-column>
  179 + <!-- TODO:需要考虑下,一个订单下,有多个商品的情况 -->
172 180 <el-table-column label="单价(元)/数量" prop="fee" align="center" width="115">
173 181 <template slot-scope="{ row }">
174 182 <div>{{row.price}}</div>
... ...