feat(workbench): 工程量公式、另存为导出与字段编辑历史等多项功能

This commit is contained in:
lianjianwei2024
2026-10-17 14:15:07 +08:00
parent ca19d9f929
commit a4772bc97b
32 changed files with 2099 additions and 1532 deletions

View File

@@ -27,7 +27,8 @@ def _mk_sess():
c.execute("INSERT INTO sessions(id, name, src_name) VALUES(1,'工程甲','HASHA_甲.cos4')")
c.execute("""CREATE TABLE s_lme_proj(id INTEGER PRIMARY KEY, session_id INT,
code TEXT, name TEXT, spec TEXT, unit TEXT, kind INT,
qty REAL, ntp REAL, taxp REAL, x_remark TEXT)""")
qty REAL, ntp REAL, taxrate REAL, taxp REAL,
x_merged_hide INTEGER DEFAULT 0, x_remark TEXT)""")
c.execute("""CREATE TABLE s_lmes(id INTEGER PRIMARY KEY, session_id INT,
Number TEXT, Name TEXT, Unit TEXT, x_remark TEXT)""")
c.execute("""CREATE TABLE s_remarks(id INTEGER PRIMARY KEY, src_key TEXT, uw_name TEXT,