diff --git a/src/views/bst/order/index.vue b/src/views/bst/order/index.vue index d6b9ab7..2732a3e 100644 --- a/src/views/bst/order/index.vue +++ b/src/views/bst/order/index.vue @@ -9,50 +9,18 @@ @keyup.enter.native="handleQuery" /> - + - + - - - - - - - - - - - - @@ -65,37 +33,20 @@ @keyup.enter.native="handleQuery" /> - - + - - - - - - - - - - + > + + 搜索 @@ -156,6 +107,16 @@ + @@ -189,62 +150,6 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -262,27 +167,18 @@ const defaultSort = { export default { name: "Order", mixins: [$showColumns], + dicts:['order_status'], components: {FormCol}, data() { return { span: 24, // 字段列表 columns: [ - {key: 'id', visible: true, label: '订单ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'orderNo', visible: true, label: '订单号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'storeId', visible: true, label: '店铺ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'storeName', visible: true, label: '店铺名称', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'userId', visible: true, label: '用户ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'payId', visible: true, label: '支付成功的支付单ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, + {key: 'userName', visible: true, label: '用户', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'payAmount', visible: true, label: '支付金额', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'mark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'status', visible: true, label: '状态(WAIT_PAY待支付 PROCESSING进行中 FINISHED已结束 CANCELED已取消)', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'suitId', visible: true, label: '套餐ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'suitName', visible: true, label: '套餐名称', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'suitNum', visible: true, label: '套餐次数', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'suitAmount', visible: true, label: '套餐金额(单位:元)', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'cancelRemark', visible: true, label: '订单取消备注', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'payExpireTime', visible: true, label: '支付超时时间', minWidth: null, sortable: false, overflow: false, align: 'center', width: "100"}, + {key: 'status', visible: true, label: '状态', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, + {key: 'suitName', visible: true, label: '套餐', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, ], // 排序方式 orderSorts: ['ascending', 'descending', null],