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:
@@ -99,6 +99,16 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<!-- ========== 获取去重的客户名称列表(用于自动补全) ========== -->
|
||||
|
||||
<select id="selectDistinctClientNames" resultType="java.lang.String">
|
||||
SELECT DISTINCT client_name FROM biz_client_quote
|
||||
WHERE client_name IS NOT NULL AND client_name != ''
|
||||
<if test="keyword != null and keyword != ''">AND client_name LIKE CONCAT('%',#{keyword},'%')</if>
|
||||
ORDER BY client_name
|
||||
LIMIT 20
|
||||
</select>
|
||||
|
||||
<!-- ========== 按物料ID查询甲方报价历史(使用material_id精确关联) ========== -->
|
||||
|
||||
<select id="selectClientQuotesByMaterialId" resultType="java.util.Map">
|
||||
@@ -114,6 +124,23 @@
|
||||
ORDER BY cq.create_time DESC
|
||||
</select>
|
||||
|
||||
<!-- ========== 按客户+物料ID查询历史报价(甲方编辑时参考) ========== -->
|
||||
|
||||
<!-- materialId为可选,为空时返回该客户所有历史物料 -->
|
||||
<select id="selectClientQuoteHistory" resultType="java.util.Map">
|
||||
SELECT cqi.item_id AS itemId, cqi.spec, cqi.unit, cqi.quantity,
|
||||
cqi.cost_price AS costPrice, cqi.unit_price AS unitPrice, cqi.total_price AS totalPrice,
|
||||
cqi.delivery_days AS deliveryDays, cqi.material_id AS materialId,
|
||||
cqi.material_name AS materialName,
|
||||
cq.quote_id AS quoteId, cq.quote_no AS quoteNo, cq.create_time AS createTime
|
||||
FROM biz_client_quote_item cqi
|
||||
JOIN biz_client_quote cq ON cqi.quote_id = cq.quote_id
|
||||
WHERE cq.client_name LIKE CONCAT('%', #{clientName}, '%')
|
||||
<if test="materialId != null">AND cqi.material_id = #{materialId}</if>
|
||||
ORDER BY cq.create_time DESC
|
||||
LIMIT 20
|
||||
</select>
|
||||
|
||||
<!-- ========== 快速创建 - 复制历史报价单的明细(按报价单ID) ========== -->
|
||||
|
||||
<select id="selectItemsByQuoteIdForCopy" resultType="com.ruoyi.system.domain.bid.BizClientQuoteItem">
|
||||
|
||||
Reference in New Issue
Block a user