fix: 客商风险按编号查询透传客商名称

This commit is contained in:
刘泉佳
2026-10-30 20:53:41 +08:00
parent b76ada9d6c
commit 24fec3c7d7
+2 -2
View File
@@ -32,11 +32,11 @@ export const refreshMasterData = () =>
timeout: 60000, timeout: 60000,
}); });
export const getRisk = (customerCode, creditCode) => export const getRisk = (customerCode, creditCode, customerName) =>
request({ request({
url: `${baseUrl}/risk`, url: `${baseUrl}/risk`,
method: 'get', method: 'get',
params: { customerCode, creditCode }, params: { customerCode, creditCode, customerName },
timeout: 30000, timeout: 30000,
}); });