回筐逻辑修改

This commit is contained in:
liu
2026-08-14 23:47:49 +08:00
parent 4bdaf2a219
commit 7c3f6147ac
20 changed files with 325 additions and 342 deletions
+2 -2
View File
@@ -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 }}
/>
);
-24
View File
@@ -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',
+1
View File
@@ -96,6 +96,7 @@ const SupplierPage: React.FC = () => {
grid: true,
colProps: { span: 12 },
layout: 'vertical',
rowProps: {gutter: 24}
},
modalProps: { width: 720 },
};