diff --git a/.superpowers/prototype/screens/m-stock-in-list.html b/.superpowers/prototype/screens/m-stock-in-list.html index 9cedd12..55f5657 100644 --- a/.superpowers/prototype/screens/m-stock-in-list.html +++ b/.superpowers/prototype/screens/m-stock-in-list.html @@ -20,18 +20,17 @@
-
- -
-
-
-
近30天入库笔数
28
▲ 12% 较上期
近30天入库金额
¥186万
▲ 8.4% 较上期
待审核 · 点击筛选
4
需尽快处理
草稿 · 点击筛选
2
待提交审核
+
+ +
全部
+
详细搜索
+
入库单
@@ -57,10 +56,9 @@ const OPS=['全部','王经理','李采购']; const REVIEWERS=['全部','张主管','王经理']; const DATES=['全部时间','近 7 天','近 30 天','本月']; const state={q:'',status:'全部'}; -/* ---- 状态代表图标(徽章图标化 2026-07-04:移动纯图标 .ico / 桌面图标+文字 .bi) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; -function icoB(v){ return ``; } -function biB(v){ return `${v}`; } +/* ---- 徽章:纯文字(2026-07-04 用户拍板移动端不用图标;.bi 抑制圆点,enhancer 跳过) ---- */ +function icoB(v){ return `${v}`; } +function biB(v){ return `${v}`; } /* ---- 详细搜索条件(与 Flutter _AdvSearchDialog 同一字段集,移动为竖排简化版) ---- */ const ADV_DEF={no:'',product:'',batch:'',party:'全部',series:'全部',spec:'全部',op:'全部',reviewer:'全部',status:'全部',date:'全部时间'}; let adv={...ADV_DEF}; @@ -79,9 +77,10 @@ function filtered(){ return ORDERS.filter(o=>{ return true; }); } function render(){ const n=advCount(); - document.getElementById('stIcon').innerHTML=''; + document.getElementById('stVal').textContent=state.status; const ss=document.getElementById('stSel'); ss.classList.toggle('primary',state.status!=='全部'); ss.classList.toggle('ghost',state.status==='全部'); + document.getElementById('advTxt').textContent='详细搜索'+(n?' · '+n:''); const ab=document.getElementById('advBtn'); ab.classList.toggle('primary',n>0); ab.classList.toggle('ghost',n===0); const rows=filtered(); @@ -91,8 +90,7 @@ function render(){ L.innerHTML=rows.map(o=>`
${o.no}
${o.party} · ${o.items} 项
-
${icoB(o.status)}${o.ret?icoB(o.ret):''}${o.pending?icoB('待定价'):''}
${o.amount}
-
+
${icoB(o.status)}${o.ret?icoB(o.ret):''}${o.pending?icoB('待定价'):''}
${o.amount}
${o.date} · 经手人 ${o.by}${o.auditor?' · 审核 '+o.auditor:''}
`).join(''); @@ -100,7 +98,7 @@ function render(){ function setSt(s){ state.status=s; render(); } /* ---- 状态下拉(底部选项 sheet) ---- */ function openStatusSheet(){ - openSheet('状态筛选', ST.map(s=>`
${s!=='全部'?``:''}${s}
`).join('')); + openSheet('状态筛选', ST.map(s=>`
${s}
`).join('')); } /* ==================== 详细搜索(底部 sheet,竖排单列) ==================== */ diff --git a/.superpowers/prototype/screens/m-stock-out-list.html b/.superpowers/prototype/screens/m-stock-out-list.html index 0382438..8e1f9c3 100644 --- a/.superpowers/prototype/screens/m-stock-out-list.html +++ b/.superpowers/prototype/screens/m-stock-out-list.html @@ -20,18 +20,17 @@
-
- -
-
-
-
近30天出库笔数
35
▲ 9.2% 较上期
近30天出库金额
¥216万
▲ 6.8% 较上期
待审核 · 点击筛选
3
需尽快处理
草稿 · 点击筛选
1
待提交审核
+
+ +
全部
+
详细搜索
+
出库单
@@ -56,10 +55,9 @@ const OPS=['全部','王经理','李销售']; const REVIEWERS=['全部','张主管','王经理']; const DATES=['全部时间','近 7 天','近 30 天','本月']; const state={q:'',status:'全部'}; -/* ---- 状态代表图标(徽章图标化 2026-07-04:移动纯图标 .ico / 桌面图标+文字 .bi) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; -function icoB(v){ return ``; } -function biB(v){ return `${v}`; } +/* ---- 徽章:纯文字(2026-07-04 用户拍板移动端不用图标;.bi 抑制圆点,enhancer 跳过) ---- */ +function icoB(v){ return `${v}`; } +function biB(v){ return `${v}`; } /* ---- 详细搜索条件(与 Flutter _AdvancedSearchDialog 同一字段集,移动为竖排简化版) ---- */ const ADV_DEF={no:'',product:'',batch:'',party:'全部',series:'全部',spec:'全部',op:'全部',reviewer:'全部',status:'全部',date:'全部时间'}; let adv={...ADV_DEF}; @@ -78,9 +76,10 @@ function filtered(){ return ORDERS.filter(o=>{ return true; }); } function render(){ const n=advCount(); - document.getElementById('stIcon').innerHTML=''; + document.getElementById('stVal').textContent=state.status; const ss=document.getElementById('stSel'); ss.classList.toggle('primary',state.status!=='全部'); ss.classList.toggle('ghost',state.status==='全部'); + document.getElementById('advTxt').textContent='详细搜索'+(n?' · '+n:''); const ab=document.getElementById('advBtn'); ab.classList.toggle('primary',n>0); ab.classList.toggle('ghost',n===0); const rows=filtered(); @@ -90,8 +89,7 @@ function render(){ L.innerHTML=rows.map(o=>`
${o.no}
${o.party} · ${o.items} 项
-
${icoB(o.status)}${o.ret?icoB(o.ret):''}${o.pending?icoB('待定价'):''}
${o.amount}
-
+
${icoB(o.status)}${o.ret?icoB(o.ret):''}${o.pending?icoB('待定价'):''}
${o.amount}
${o.date} · 经手人 ${o.by}${o.auditor?' · 审核 '+o.auditor:''}
`).join(''); @@ -99,7 +97,7 @@ function render(){ function setSt(s){ state.status=s; render(); } /* ---- 状态下拉(底部选项 sheet) ---- */ function openStatusSheet(){ - openSheet('状态筛选', ST.map(s=>`
${s!=='全部'?``:''}${s}
`).join('')); + openSheet('状态筛选', ST.map(s=>`
${s}
`).join('')); } /* ==================== 详细搜索(底部 sheet,竖排单列) ==================== */