feat: 页面功能完善
3.1 供货商管理页面 - 移除了右侧面板的"供货清单"Tab - 报价历史板块新增搜索功能(物料名称/报价单号/状态/日期范围) - 后端 Mapper 改造支持动态 SQL 过滤 3.2 报价请求与供应商报价关联 - 新增"供应商报价汇总"弹窗,展示 RFQ 下所有供应商的报价对比 - 报价单号改为可点击链接,跳转到供应商报价列表并按单号搜索 3.3 智慧比价详情页 - 修复了比价详情页路由(在 router/index.js 中补充) - 移除了评分维度展示(价格/交期/质量/服务评分条、综合分标签) - 精简为纯粹的供应商价格对比视图 3.4 其他修复 - 首页快捷操作路径修正(/bid/xxx → /xxx) - 停用 bid 目录后受影响的 router.push 路径全部修复 - biz_tenant 表缺失修复(创建建表 SQL 并执行) - 比价详情页路由注册补充 - goCompare 跳转路径修正
This commit is contained in:
@@ -17,3 +17,7 @@ export const getMonthlyTrend = () => request({ url: baseUrl + '/monthly-trend',
|
||||
export const getClientQuoteByMaterial = (materialId) => request({ url: baseUrl + '/by-material/' + materialId, method: 'get' })
|
||||
// 基于历史报价快速新建
|
||||
export const quickCreateFromQuote = (quoteId) => request({ url: baseUrl + '/quick-create/' + quoteId, method: 'post' })
|
||||
// 按客户+物料查询历史报价(编辑参考用)
|
||||
export const getClientQuoteHistory = (clientName, materialId) => request({ url: baseUrl + '/history', method: 'get', params: { clientName, materialId } })
|
||||
// 客户名称自动补全
|
||||
export const getClientNames = (keyword) => request({ url: baseUrl + '/client-names', method: 'get', params: { keyword } })
|
||||
|
||||
@@ -10,6 +10,7 @@ export const delMaterial = (ids) => request({ url: baseUrl + '/' + ids, method:
|
||||
// 物料详情页
|
||||
export const getSupplierQuotes = (id) => request({ url: baseUrl + '/' + id + '/supplier-quotes', method: 'get' })
|
||||
export const getClientQuotes = (id) => request({ url: baseUrl + '/' + id + '/client-quotes', method: 'get' })
|
||||
export const getSupplierQuoteReference = (id) => request({ url: baseUrl + '/' + id + '/supplier-reference', method: 'get' })
|
||||
export const listManufacturer = () => request({ url: baseUrl + '/manufacturer/list', method: 'get' })
|
||||
export const compareMaterials = (data) => request({ url: baseUrl + '/compare', method: 'post', data })
|
||||
|
||||
|
||||
@@ -9,5 +9,11 @@ export const acceptQuotation = (id) => request({ url: baseUrl + '/accept/' + id,
|
||||
export const rejectQuotation = (id) => request({ url: baseUrl + '/reject/' + id, method: 'put' })
|
||||
export const delQuotation = (ids) => request({ url: baseUrl + '/' + ids, method: 'delete' })
|
||||
|
||||
// 按供应商ID查询报价明细(展开为每行一条物料)
|
||||
export const getSupplierQuoteItems = (supplierId) => request({ url: baseUrl + '/supplier-items/' + supplierId, method: 'get' })
|
||||
// 按供应商ID查询报价明细(展开为每行一条物料,支持搜索过滤参数:materialName, quoteNo, quoteStatus, beginTime, endTime)
|
||||
export const getSupplierQuoteItems = (params) => {
|
||||
const { supplierId, ...query } = params;
|
||||
return request({ url: baseUrl + '/supplier-items/' + supplierId, method: 'get', params: query });
|
||||
}
|
||||
|
||||
// 根据RFQ ID查询所有供应商报价(用于RFQ页面的"供应商报价汇总"弹窗)
|
||||
export const getQuotationsByRfq = (rfqId) => request({ url: baseUrl + '/by-rfq/' + rfqId, method: 'get' })
|
||||
|
||||
Reference in New Issue
Block a user