wwt-certificate-tool 1.2.54 → 1.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.html +5 -4
- package/dist/version.json +6 -6
- package/package.json +1 -1
package/dist/app.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
-
<title>WWT 金蝶凭证工具 · 纯前端版 P1.2.
|
|
6
|
+
<title>WWT 金蝶凭证工具 · 纯前端版 P1.2.55</title>
|
|
7
7
|
<style>*{box-sizing:border-box;margin:0;padding:0}
|
|
8
8
|
body{font-family:"Microsoft YaHei","PingFang SC",-apple-system,Segoe UI,sans-serif;font-size:13px;color:#1f2328;background:#f4f6f9;line-height:1.6}
|
|
9
9
|
h1{font-size:17px;font-weight:600}
|
|
@@ -320,7 +320,7 @@ input[data-f="field"][list^="dlGe_"]::placeholder{color:#a8861f;font-style:itali
|
|
|
320
320
|
<div class="brand">
|
|
321
321
|
<span class="logo">WWT</span>
|
|
322
322
|
<div>
|
|
323
|
-
<h1>金蝶凭证工具 <span class="ver">P1.2.
|
|
323
|
+
<h1>金蝶凭证工具 <span class="ver">P1.2.55</span></h1>
|
|
324
324
|
<div class="sub">纯前端离线版 · 双击即用 · 数据只存在本机,不上传任何服务器</div>
|
|
325
325
|
</div>
|
|
326
326
|
</div>
|
|
@@ -332,6 +332,7 @@ input[data-f="field"][list^="dlGe_"]::placeholder{color:#a8861f;font-style:itali
|
|
|
332
332
|
<button class="btn ghost" onclick="UI.exportCfg()">📤 导出配置</button>
|
|
333
333
|
<button class="btn ghost" onclick="UI.importCfg()">📥 导入配置</button>
|
|
334
334
|
<button class="btn danger ghost" onclick="UI.clearAll()">⚠ 清空全部</button>
|
|
335
|
+
<button class="btn ghost" onclick="UI.clearBiz()" title="只清空本月业务数据表,保留基础数据、规则、映射和配置">🧹 清空业务数据</button>
|
|
335
336
|
<button class="btn ghost" onclick="UI.checkUpdate()">🔄 检查更新</button>
|
|
336
337
|
<button class="btn ghost" onclick="UI.setUpdateUrl()">⚙ 更新设置</button>
|
|
337
338
|
</div>
|
|
@@ -2540,7 +2541,7 @@ const S = window.__STATE__ = {
|
|
|
2540
2541
|
};
|
|
2541
2542
|
|
|
2542
2543
|
/* ---------------- 版本 & 框架自动更新(只更新程序本身,本地数据/规则不动) ---------------- */
|
|
2543
|
-
const WWT_VER=(function(){const raw='P1.2.
|
|
2544
|
+
const WWT_VER=(function(){const raw='P1.2.55';return raw.indexOf('__WVER__')>=0?'P1.2.10':raw;})();
|
|
2544
2545
|
const UPD_URL_KEY='wwt_fe_updurl';
|
|
2545
2546
|
// 默认更新源:Gitee 上本项目的 version.json(API 接口,浏览器可直接跨域读)
|
|
2546
2547
|
const DEFAULT_UPD_URL='https://gitee.com/api/v5/repos/wwtmrhu/certificate-generation/contents/dist/version.json';
|
|
@@ -6124,7 +6125,7 @@ window.UI={
|
|
|
6124
6125
|
restoreUpgradeBackup:restoreUpgradeBackup, dismissUpgradeBackup:dismissUpgradeBackup,
|
|
6125
6126
|
showUpgradeHelp:showUpgradeHelp, checkPendingUpgradeBackup:checkPendingUpgradeBackup,
|
|
6126
6127
|
renderPersistHint:renderPersistHint,
|
|
6127
|
-
clearAll:clearAll, switchTab:switchTab,
|
|
6128
|
+
clearAll:clearAll, clearBiz:clearBiz, switchTab:switchTab,
|
|
6128
6129
|
};
|
|
6129
6130
|
|
|
6130
6131
|
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);
|
package/dist/version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ver": "P1.2.
|
|
3
|
-
"npm": "1.2.
|
|
4
|
-
"url": "https://cdn.jsdelivr.net/npm/wwt-certificate-tool@1.2.
|
|
5
|
-
"url_unpkg": "https://unpkg.com/wwt-certificate-tool@1.2.
|
|
6
|
-
"url_gh": "https://api.github.com/repos/huweipei745839/certificate-generation/contents/dist/WWT%E5%87%AD%E8%AF%81%E5%B7%A5%E5%85%B7_P1.2.
|
|
7
|
-
"note": "① 内置默认基础表/规则/映射:新安装或分享打开即自带当前这套标准配置。② 生成凭证后实际生成了凭证的规则自动变绿并显示「已生成」徽章,状态持久化。③ 新增「清空已生成」按钮。④ 凭证起始号放到「④ 生成凭证」页生成栏。⑤ 对碰检测跳过未结算单据,缺失清单增加「单号」与「付款方式/结算方式」列。⑥ 凭证审核表「核算维度」列移到「科目名称」后。⑦ 【P1.2.
|
|
2
|
+
"ver": "P1.2.55",
|
|
3
|
+
"npm": "1.2.55",
|
|
4
|
+
"url": "https://cdn.jsdelivr.net/npm/wwt-certificate-tool@1.2.55/dist/app.html",
|
|
5
|
+
"url_unpkg": "https://unpkg.com/wwt-certificate-tool@1.2.55/dist/app.html",
|
|
6
|
+
"url_gh": "https://api.github.com/repos/huweipei745839/certificate-generation/contents/dist/WWT%E5%87%AD%E8%AF%81%E5%B7%A5%E5%85%B7_P1.2.55.html",
|
|
7
|
+
"note": "① 内置默认基础表/规则/映射:新安装或分享打开即自带当前这套标准配置。② 生成凭证后实际生成了凭证的规则自动变绿并显示「已生成」徽章,状态持久化。③ 新增「清空已生成」按钮。④ 凭证起始号放到「④ 生成凭证」页生成栏。⑤ 对碰检测跳过未结算单据,缺失清单增加「单号」与「付款方式/结算方式」列。⑥ 凭证审核表「核算维度」列移到「科目名称」后。⑦ 分录级拆分字段:每条分录可单独设置拆分字段,实现一张凭证内借方按单号拆、贷方汇总等混合拆分。⑧ 【P1.2.55】顶部工具栏增加「清空业务数据」按钮,只清本月业务数据表,保留基础数据、规则、映射和配置。"
|
|
8
8
|
}
|