|
发表于 2022-4-27 11:18
来自手机
|
显示全部楼层
dznvvv 发表于 2022-4-27 09:06
不必注意多少张,只要两表字符串“普票????????”相同即可
cli_add_css~~ .bg1{ background:goldenrod; } ~; create temp table aa as select rowid old_rowid,regexp2('普票[\d,-]+$',摘要) 摘要2 from 两表字符串普票相同即可标注颜色; select iif(发票号码 like 摘要2,'<span class="hi">'||a.rowid||'</span>',a.rowid) 序,* from 两表字符串普票相同即可标注颜色 as a left join aa on a.发票号码=aa.摘要2; cli_add_script~~ function dom2(a){ var c = a.parentNode; var c = c.parentNode; c.classList.add("bg1"); } function dom3(){ var aa = document.querySelectorAll(".hi"); for (i = 0; i < aa.length; i++) { dom2(aa); } } window.addEventListener('load',dom3());~;
|
|