feat: 采购订单自动生成到货通知单功能
在采购订单查看页面新增"生成到货通知单"按钮,已审核的采购订单可一键生成到货通知单, 自动携带供应商信息和未到货物料明细行。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -173,6 +173,11 @@ export function exportPurchaseOrder(params: PurchaseOrderQuery): Promise<Blob> {
|
||||
return request.post('/erp/po/order/export', params, { responseType: 'blob' })
|
||||
}
|
||||
|
||||
// 根据采购订单生成到货通知单
|
||||
export function genArrivalNotice(orderId: number): Promise<number> {
|
||||
return request.post(`/erp/po/order/genArrivalNotice/${orderId}`).then((res: any) => res.data)
|
||||
}
|
||||
|
||||
// ============ 供应商 API(使用 MOM md_vendor,表 erp_po_supplier 在 my_mes 中未建) ============
|
||||
|
||||
export function getPoSupplierList(params?: { supplierName?: string; contact1?: string; pageNum?: number; pageSize?: number }): Promise<{ rows: PoSupplier[]; total: number }> {
|
||||
|
||||
Reference in New Issue
Block a user