Explorar o código

工程量清单,添加父项设置

MaiXinRong hai 1 ano
pai
achega
2160ac3ab3
Modificáronse 4 ficheiros con 4 adicións e 2 borrados
  1. 1 1
      app/lib/stage_im.js
  2. 1 0
      app/public/js/ledger.js
  3. 1 0
      app/public/js/revise.js
  4. 1 1
      app/public/js/stage_im.js

+ 1 - 1
app/lib/stage_im.js

@@ -1035,7 +1035,7 @@ class StageIm {
     }
 
     _sortImData() {
-        const st = (['fj', 'sz'].indexOf(this.tender.info.s_type) > 0 && [imType.zl.value, imType.bw.value].indexOf(stage.im_type) >= 0)
+        const st = (['fj', 'sz'].indexOf(this.tender.info.s_type) >= 0 && [imType.zl.value, imType.bw.value].indexOf(stage.im_type) >= 0)
             ? SortType.TZ
             : (stage.im_type !== imType.tz.value && stage.im_type !== imType.bb.value ? SortType.GCL : SortType.TZ);
         if (st === SortType.GCL) {

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

@@ -2968,6 +2968,7 @@ $(document).ready(function() {
         cellDoubleClick: stdLibCellDoubleClick,
         page: 'ledger',
         tid: getTenderId(),
+        showAddType: 1,
     };
     // 展开收起标准清单
     $('a', '#side-menu').bind('click', function (e) {

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

@@ -2856,6 +2856,7 @@ $(document).ready(() => {
         cellDoubleClick: stdLibCellDoubleClick,
         page: 'revise',
         tid: window.location.pathname.split('/')[2],
+        showAddType: 1,
     };
     // 展开收起标准节点
     $('a', '#side-menu').bind('click', function (e) {

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

@@ -956,7 +956,7 @@ const stageIm = (function () {
     }
 
     function _sortImData() {
-        const st = (['fj', 'sz'].indexOf(tenderInfo.s_type) > 0 && [imType.zl.value, imType.bw.value].indexOf(stage.im_type) >= 0)
+        const st = (['fj', 'sz'].indexOf(tenderInfo.s_type) >= 0 && [imType.zl.value, imType.bw.value].indexOf(stage.im_type) >= 0)
             ? SortType.TZ
             : (stage.im_type !== imType.tz.value && stage.im_type !== imType.bb.value ? SortType.GCL : SortType.TZ);
         if (st === SortType.GCL) {