| | |
| | | exportSupplierExcel: async (params: any) => |
| | | request.download({ url: '/srm/supplier/export-excel', params }), |
| | | |
| | | // 下载导入模板 |
| | | getImportTemplate: async () => |
| | | request.download({ url: '/srm/supplier/get-import-template' }), |
| | | |
| | | // 导入 Excel(formData 需包含 file、updateSupport) |
| | | importSupplierExcel: async (formData: any) => |
| | | request.upload({ url: '/srm/supplier/import-excel', data: formData }), |
| | | |
| | | // 联系人列表 |
| | | getContactList: async (supplierId: number) => |
| | | request.get({ url: '/srm/supplier-contact/list-by-supplier', params: { supplierId } }), |