feat(price): 信息价/市场价重设计——目录树+行内编辑+只收标准模板+导出一份数据(决策42)
- schema: 新增 price_dirs 目录树(批次级单根/多级/仅叶挂行),prices.dir_id;Class 冗余完整路径文本 - 导入只收标准模板 xlsx:表头严格校验(HTML/别名/多sheet拆批退役);名称默认=文件名可改;期次从文件名认 - 后台明细页重做:左树行内增删改名/上下移(↑↓✕两段式确认、选中按钮常显),右表行内新增/编辑(重算比对键即刻生效) - 导出 zip = 价格明细.xlsx(目录路径+批次信息页签)+ 附件原件,导入可复原 - 壳/跨页跳转带版本参数根治 WebView2 旧缓存;导入弹框文件框只收 .xlsx - 附 P0/P1 接口测试夹具与价格重设计回归(新增 test_price_redesign 等 8 件,全套 148 项绿)
This commit is contained in:
@@ -39,7 +39,8 @@ a:hover{text-decoration:underline}
|
||||
<div class="wrap">
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px">
|
||||
<h1 style="margin:0">造价审核 · 最近审核</h1>
|
||||
<a class="btn pri" style="text-decoration:none;flex:none" href="/workbench.html"
|
||||
<!-- 时间戳参数:老 WebView2 对 no-store 不完全遵守,跨页跳转带新 URL 强制绕缓存(2026-10-12) -->
|
||||
<a class="btn pri" style="text-decoration:none;flex:none" href="javascript:location.href='/workbench.html?v='+Date.now()"
|
||||
title="打开工作台:导入工程、做历史比对与审核">▶ 工作台</a>
|
||||
</div>
|
||||
<div class="panel">
|
||||
@@ -144,7 +145,7 @@ function delSel(){
|
||||
del(ITEMS.filter(x=>rep.includes(x.id)).flatMap(x=>(x.all||[]).map(a=>a.id)));
|
||||
}
|
||||
|
||||
function go(id){ location.href='/workbench.html?sid='+id; }
|
||||
function go(id){ location.href='/workbench.html?sid='+id+'&t='+Date.now(); }
|
||||
/* 2026-09-30 主人定:落地页每行**只留「打开」+「删除」**,去掉「重新解析」按钮。
|
||||
它只在解析器更新后才需要,不该占日常位置。
|
||||
⚠️ 去掉之后的替代路径:**删掉这个会话 → 重新打开工程**(走一遍全新解析,数据就是新的),
|
||||
|
||||
Reference in New Issue
Block a user