Commit f3cba918 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改样式

parent 00007b11
......@@ -161,9 +161,11 @@ export default () => {
}}
bordered
actionRef={table}
scroll={{ x: '100%' }}
scroll={{ x: '100%', y: 400 }}
toolBarRender={false}
search={{
collapsed: false,
collapseRender: () => null,
}}
/>
<RejectModal visible={visible} onCancel={closeModal} serviceNo={serviceNoInfo} />
......
......@@ -108,10 +108,12 @@ export default () => {
}}
bordered
actionRef={table}
scroll={{ x: '100%' }}
scroll={{ x: '100%', y: 400 }}
search={{
collapsed: false,
collapseRender: () => null,
}}
toolBarRender={false}
/>
<AuditModal visible={visible} onCancel={closeModal} formData={auditInfo} />
<DetailTable visible={detailVisible} onCancel={closeModal} dataSource={detailInfo} />
......
import { Tag } from 'antd';
import { Tag, Badge } from 'antd';
import React from 'react';
export const appealType = {
......@@ -12,23 +12,24 @@ export const columnSticData = [
hideInTable: true,
width: 200,
},
{
title: '售后单ID',
dataIndex: 'serviceNo',
width: 300,
render: (orderNo, r) => (
<div>
<Tag className="mr10">{r.serviceNo}</Tag>
{<Badge count={r.reminderFlag ? '' : ''} size="default" />}
</div>
),
},
{
title: '订单ID',
dataIndex: 'orderNo',
hideInSearch: true,
width: 300,
// eslint-disable-next-line no-confusing-arrow
render: (orderNo, r) =>
r.timeout || r.reminderFlag ? (
<Tag color={r.timeout ? 'red' : 'green'}>{orderNo}</Tag>
) : (
orderNo
),
},
{
title: '售后单ID',
dataIndex: 'serviceNo',
width: 200,
render: (orderNo, r) => <div>{r.timeout ? <Tag color="red">{orderNo}</Tag> : orderNo}</div>,
},
{
title: '售后状态',
......
......@@ -86,7 +86,7 @@ const Appeal = () => {
bordered
className={styles.table}
toolBarRender={false}
scroll={{ x: '100%' }}
scroll={{ x: '100%', y: 400 }}
/>
<Detail
data={selectedRow}
......
......@@ -12,13 +12,13 @@ export function columns(res) {
return [
{
title: '售后申诉单ID',
width: 120,
width: 300,
dataIndex: 'appealNo',
key: 'appealNo',
},
{
title: '售后单ID',
width: 120,
width: 300,
dataIndex: 'serviceNo',
key: 'serviceNo',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment