From b78421001291f48205dd3dcd63ae70cb40550b12 Mon Sep 17 00:00:00 2001 From: liu <2302563948@qq.com> Date: Mon, 7 Sep 2026 12:21:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pages/purchase/order.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/pages/purchase/order.tsx b/web/pages/purchase/order.tsx index e05cbc6..5bffe87 100644 --- a/web/pages/purchase/order.tsx +++ b/web/pages/purchase/order.tsx @@ -688,6 +688,7 @@ const PurchaseOrderPage: React.FC = () => { key={`${row.product_id}-${store.id}-${quantity}`} size="small" min={0} + styles={{ input: { textAlign: 'center' }, root: {width: 80} }} precision={0} className="w-full" defaultValue={quantity} @@ -1344,7 +1345,7 @@ const PurchaseOrderPage: React.FC = () => { dataSource={detail.items} onChange={(_pagination, filters) => setItemColumnFilters(filters)} pagination={false} - scroll={{ x: 1200, y: 800 }} + scroll={{ x: 900 + (detail?.stores.length * 100), y: 500 }} summary={renderSummary} />