优化表格组件checkbox样式,订单管理列表宽度调整

This commit is contained in:
Apple 2022-08-26 11:53:15 +08:00
parent 06097d73eb
commit e36f8c6f3f
2 changed files with 16 additions and 16 deletions

View File

@ -348,8 +348,8 @@ export default class menu extends React.Component {
<div
className='th-td'
style={{
width: "50px",
textAlign: "left",
width: '30px',
textAlign: 'left',
background: this.props.headBackgroud
}}>
<Checkbox
@ -432,8 +432,8 @@ export default class menu extends React.Component {
<div
className='td'
style={{
width: "50px",
textAlign: "left"
width: '30px',
textAlign: 'left'
}}>
<Checkbox
checked={item.checked}

View File

@ -53,14 +53,14 @@ const Column = [
name: 'order_number',
prop: 'order_number',
type: 'normal',
width: '100px'
width: '150px'
},
{
title: '兑换码-批次ID',
name: 'code_batch_id',
prop: 'code_batch_id',
type: 'normal',
width: '100px'
width: '80px'
},
{
title: '商品名称',
@ -74,14 +74,14 @@ const Column = [
name: 'official_price',
prop: 'official_price',
type: 'normal',
width: 'auto'
width: '80px',
},
{
title: '合同价(成本价)',
name: 'cost',
type: 'slot',
prop: 'cost',
width: 'auto'
width: '120px',
},
{
title: '分销商',
@ -94,7 +94,7 @@ const Column = [
title: '归属key批次',
name: 'key_batch_id',
prop: 'key_batch_id',
width: 'auto',
width: '80px',
type: 'normal'
},
{
@ -109,14 +109,14 @@ const Column = [
name: 'num',
type: 'normal',
prop: 'num',
width: 'auto'
width: '50px',
},
{
title: '状态',
name: 'statusDom',
prop: 'statusDom',
type: 'slot',
width: 'auto'
width: '80px'
},
{
title: '操作',
@ -136,7 +136,7 @@ const Column = [
title: '创建时间',
name: 'create_time',
prop: 'create_time',
width: '120px',
width: '130px',
type: 'normal'
},
{
@ -150,7 +150,7 @@ const Column = [
title: '订单类型',
name: 'type_text',
prop: 'type_text',
width: 'auto',
width: '50px',
type: 'slot'
},
{
@ -158,20 +158,20 @@ const Column = [
name: 'discount',
type: 'normal',
prop: 'discount',
width: 'auto'
width: '80px'
},
{
title: '结算',
name: 'total',
prop: 'total',
width: 'auto',
type: 'normal'
type: '80px'
},
{
title: 'key',
name: 'key',
prop: 'key',
width: 'auto',
width: '140px',
type: 'normal'
}
]