前端打包
This commit is contained in:
@@ -460,8 +460,9 @@ const PurchaseOrderPage: React.FC = () => {
|
||||
return;
|
||||
}
|
||||
await updatePurchaseStoreItem(detail.purchase.id!, storeId, row.product_id, { quantity });
|
||||
const res = await getPurchaseDetail(detail.purchase.id!);
|
||||
setDetail(res.data.data ?? null);
|
||||
message.success('订货量已更新,订货单与采购单汇总已重算');
|
||||
await loadDetail(detail.purchase.id!);
|
||||
await tableRef.current?.reload();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user