refactor(order): 调整订单列表栏位顺序
- 移除原有的商品、价格、邮费、总金额和下单时间栏位
- 在状态栏位之后重新添加商品、价格、邮费、总金额和下单时间栏位
| | |
| | | return '' |
| | | } |
| | | }, minWidth: 100,align:'center'}, |
| | | {field: 'goodsName', title: '商品', minWidth: 160,align:'left'}, |
| | | {field: 'goodsAmount', title: '价格', minWidth: 80,align:'left', totalRow:true}, |
| | | {field: 'carriage', title: '邮费', minWidth: 80,align:'left', totalRow:true}, |
| | | {field: 'amount', title: '总金额', minWidth: 100,align:'left', totalRow:true}, |
| | | {field: 'orderTime', title: '下单时间', minWidth: 200,align:'left'}, |
| | | {field: 'status', title: '状态', |
| | | templet: function (d) { |
| | | if (d.status === 1) { |
| | |
| | | return '' |
| | | } |
| | | }, minWidth: 80,align:'center'}, |
| | | {field: 'goodsName', title: '商品', minWidth: 160,align:'left'}, |
| | | {field: 'goodsAmount', title: '价格', minWidth: 80,align:'left', totalRow:true}, |
| | | {field: 'carriage', title: '邮费', minWidth: 80,align:'left', totalRow:true}, |
| | | {field: 'amount', title: '总金额', minWidth: 100,align:'left', totalRow:true}, |
| | | {field: 'orderTime', title: '下单时间', minWidth: 200,align:'left'}, |
| | | |
| | | // {field: 'deliveryState', title: '配送状态', |
| | | // templet: function (d) { |
| | | // if (d.deliveryState === 1) { |