diff --git a/src/views/shop/shopAdmin/index.vue b/src/views/shop/shopAdmin/index.vue index 9154de6..d9adc6e 100644 --- a/src/views/shop/shopAdmin/index.vue +++ b/src/views/shop/shopAdmin/index.vue @@ -232,12 +232,12 @@ align: 'center', showSorterTooltip: false }, - { - title: '所属部门', - dataIndex: 'organizationName', - key: 'organizationName', - align: 'center' - }, + // { + // title: '所属部门', + // dataIndex: 'organizationName', + // key: 'organizationName', + // align: 'center' + // }, { title: '角色', dataIndex: 'roles', diff --git a/src/views/shop/shopOrder/components/orderInfo.vue b/src/views/shop/shopOrder/components/orderInfo.vue index 9ae0f29..0de5eb2 100644 --- a/src/views/shop/shopOrder/components/orderInfo.vue +++ b/src/views/shop/shopOrder/components/orderInfo.vue @@ -1,7 +1,7 @@ + - @@ -104,146 +152,105 @@ - - - - - - - - @@ -346,8 +353,7 @@ { title: '用户信息', dataIndex: 'userId', - key: 'userInfo', - width: 220 + key: 'userInfo' }, { title: '商品信息', @@ -359,36 +365,20 @@ dataIndex: 'payPrice', key: 'payPrice', align: 'center', + width: 120, customRender: ({ text }) => '¥' + text }, + // { + // title: '支付方式', + // dataIndex: 'payType', + // key: 'payType', + // align: 'center', + // width: 120, + // }, { - title: '支付方式', - dataIndex: 'payType', - key: 'payType', - align: 'center' - }, - { - title: '支付状态', - dataIndex: 'payStatus', - key: 'payStatus', - align: 'center' - }, - { - title: '发货状态', - dataIndex: 'deliveryStatus', - key: 'deliveryStatus', - align: 'center' - }, - { - title: '开票状态', - dataIndex: 'isInvoice', - key: 'isInvoice', - align: 'center' - }, - { - title: '订单状态', + title: '状态', dataIndex: 'orderStatus', - key: 'orderStatus', + key: 'statusInfo', align: 'center' }, // { @@ -417,7 +407,7 @@ { title: '操作', key: 'action', - width: 220, + width: 120, fixed: 'right', align: 'center', hideInSetting: true @@ -722,11 +712,11 @@ return { // 行点击事件 onClick: () => { - openEdit(record); + // openEdit(record); }, // 行双击事件 onDblclick: () => { - // openEdit(record); + openEdit(record); } }; };