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