回筐逻辑修改
This commit is contained in:
@@ -52,8 +52,8 @@ const CustomerLevelPage: React.FC = () => {
|
||||
return (
|
||||
<Image
|
||||
src={url}
|
||||
width={60}
|
||||
height={60}
|
||||
width={30}
|
||||
height={30}
|
||||
style={{ objectFit: 'cover', borderRadius: 4 }}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -86,30 +86,6 @@ const StorePage: React.FC = () => {
|
||||
fieldProps: { min: 0, precision: 0 },
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '待回筐数量',
|
||||
dataIndex: 'pending_box_num',
|
||||
hideInForm: true,
|
||||
hideInSearch: true,
|
||||
align: 'center',
|
||||
render: (_, record) => (
|
||||
<Text strong type={Number(record.pending_box_num) > 0 ? 'warning' : undefined}>
|
||||
{record.pending_box_num ?? 0}
|
||||
</Text>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: '待回托盘数量',
|
||||
dataIndex: 'pending_tray_num',
|
||||
hideInForm: true,
|
||||
hideInSearch: true,
|
||||
align: 'center',
|
||||
render: (_, record) => (
|
||||
<Text strong type={Number(record.pending_tray_num) > 0 ? 'warning' : undefined}>
|
||||
{record.pending_tray_num ?? 0}
|
||||
</Text>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: '总采购金额',
|
||||
dataIndex: 'total_purchase_amount',
|
||||
|
||||
@@ -96,6 +96,7 @@ const SupplierPage: React.FC = () => {
|
||||
grid: true,
|
||||
colProps: { span: 12 },
|
||||
layout: 'vertical',
|
||||
rowProps: {gutter: 24}
|
||||
},
|
||||
modalProps: { width: 720 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user