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} />