feat(ui): 类似清单落单组并入连续编号并新增打开项目加载进度遮罩
This commit is contained in:
@@ -475,7 +475,7 @@ a:hover{text-decoration:underline}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="common.js?v=20261010i"></script>
|
||||
<script src="common.js?v=20261011b"></script>
|
||||
<script src="period.js"></script>
|
||||
<script>
|
||||
const $=id=>document.getElementById(id);
|
||||
@@ -939,7 +939,7 @@ async function loadTab(pid){
|
||||
n0.textContent=d.total+' 项';
|
||||
if(!n1.textContent) { /* 首次也把另两个数量取出来 */
|
||||
const a=await J(`/api/admin/batch/${DID}/inconsistent`); n1.textContent=a.total+' 组';
|
||||
const b=await J(`/api/admin/batch/${DID}/similar`); n2.textContent=b.total+' 组';
|
||||
const b=await J(`/api/admin/batch/${DID}/similar`); n2.textContent=b.total+(b.extra||[]).length+' 组';
|
||||
}
|
||||
ALME_ROWS=d.rows||[]; ALME_SORT={k:-1,dir:1}; // 新批次:排序复位(同工作台换数据)
|
||||
cg.innerHTML=colgHTML(COLS.lme);
|
||||
@@ -952,7 +952,8 @@ async function loadTab(pid){
|
||||
// similar 的专业取自**批次绑定的 profession**(后端决定),不再靠 URL 临时参数
|
||||
const url = pid==='p1' ? `/api/admin/batch/${DID}/inconsistent` : `/api/admin/batch/${DID}/similar`;
|
||||
const d=await J(url);
|
||||
(pid==='p1'?n1:n2).textContent=d.total+' 组';
|
||||
// 徽标含落单组(与左树根一致,2026-10-11 主人定);组价不一致 extra 恒空、数值不变
|
||||
(pid==='p1'?n1:n2).textContent=d.total+(d.extra||[]).length+' 组';
|
||||
BILL_SORT={k:-1,dir:1}; // 新数据:组内排序复位(2026-10-10)
|
||||
cg.innerHTML=colgHTML(COLS.bill); sumw($('dtb')); colwApply($('dtb'));
|
||||
// 2026-10-10 主人定:类似清单/组价不一致表头都可点=在展开的组内排序(与工作台同款)
|
||||
|
||||
Reference in New Issue
Block a user