瀏覽代碼

台账分解,台账修订,单位列允许双击编辑

MaiXinRong 2 周之前
父節點
當前提交
9a1ef60bcb
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      app/public/js/ledger.js
  2. 2 0
      app/public/js/revise.js

+ 2 - 0
app/public/js/ledger.js

@@ -61,6 +61,8 @@ const checkOption = {
 };
 
 $(document).ready(function() {
+    const unit = ledgerSpreadSetting.cols.find(x => { return x.field === 'unit'; });
+    if (unit) unit.comboEdit = true;
     let stdXmj, stdGcl, dealBills, searchLedger, featureDisplay;
     autoFlashHeight();
     const changeFeaturesDisplay = function (show, init = false) {

+ 2 - 0
app/public/js/revise.js

@@ -53,6 +53,8 @@ const checkOption = {
 };
 
 $(document).ready(() => {
+    const unit = billsSpreadSetting.cols.find(x => { return x.field === 'unit'; });
+    if (unit) unit.comboEdit = true;
     let stdXmj, stdGcl, searchLedger, reviseAtt;
     autoFlashHeight();
     // 初始化spread