浏览代码

总额计量调整

MaiXinRong 1 年之前
父节点
当前提交
e0384763ee
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/public/js/shares/sjs_setting.js
  2. 1 1
      app/public/js/stage.js

+ 1 - 1
app/public/js/shares/sjs_setting.js

@@ -122,7 +122,7 @@ const sjsSettingObj = (function () {
     const setIsTpCol = function(cols, rela) {
         setRelaCols(cols, rela, function(col, r) {
             col.headerCellType = 'tip';
-            col.getHeaderTip = function() { return '可用单位:元、总额、台、个、处、月 、棵、套、组、辆'; };
+            col.getHeaderTip = function() { return '可用单位:总额、元、台、个、处、月 、棵、套、组、辆、项、座、根、块、系统'; };
         });
     };
     return {

+ 1 - 1
app/public/js/stage.js

@@ -1320,7 +1320,7 @@ $(document).ready(() => {
                 const node = SpreadJsObj.getSelectObject(info.sheet);
                 const col = info.sheet.zh_setting.cols[info.col];
                 const posRange = stagePos.getLedgerPos(node.id);
-                const tpUnit = ['总额', '元', '台', '个', '处', '月', '棵', '套', '组', '辆'];
+                const tpUnit = ['总额', '元', '台', '个', '处', '月', '棵', '套', '组', '辆', '项', '座', '根', '块', '系统'];
                 if (node.pre_used === 1 ||
                     (node.children && node.children.length > 0) ||
                     (tpUnit.indexOf(node.unit) < 0) ||