TonyKang 3 年 前
コミット
ef6e50ae73
1 ファイル変更9 行追加5 行削除
  1. 9 5
      app/view/tender/detail_modal.ejs

+ 9 - 5
app/view/tender/detail_modal.ejs

@@ -1785,7 +1785,7 @@
                 <div class="form-group">
                     <div class="custom-control custom-checkbox mb-2">
                         <input type="checkbox" class="custom-control-input" id="sl_ignoreParent" checked="">
-                        <label class="custom-control-label" for="lc_same_code">计量台账-导入其他标段数据-忽略父项</label>
+                        <label class="custom-control-label" for="sl_ignoreParent">计量台账-导入其他标段数据-忽略父项</label>
                     </div>
                 </div>
             </div>
@@ -1805,10 +1805,12 @@
         $('#lc_same_code')[0].checked = property.ledger_check.same_code;
         $('#lc_sibling')[0].checked = property.ledger_check.sibling;
         $('#lc_over')[0].checked = property.ledger_check.over;
-    }
+    };
+
     $('#bd-set-10').on('show.bs.modal', function () {
         loadLedgerCheckProperty();
     });
+
     function post10 () {
         const prop = {
             ledger_check: {
@@ -1823,9 +1825,11 @@
             $('#bd-set-10').modal('hide');
         });
     }
-    const loadLedgerCheckProperty = function () {
-        $('#lc_same_code')[0].checked = property.sum_load.ignoreParent;
-    }
+
+    const loadFunRelaProperty = function () {
+        // $('#lc_same_code')[0].checked = property.sum_load.ignoreParent;
+    };
+
     $('#bd-set-12').on('show.bs.modal', function () {
         loadFunRelaProperty();
     });