Browse Source

修订上报后,单价调整,只读

MaiXinRong 2 years ago
parent
commit
693a942d35
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/public/js/revise_price.js
  2. 1 0
      app/service/tender_info.js

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

@@ -60,6 +60,7 @@ $(document).ready(() => {
         defaultRowHeight: 21,
         headerFont: '12px 微软雅黑',
         font: '12px 微软雅黑',
+        readOnly,
     };
     autoFlashHeight();
     const priceSpread = SpreadJsObj.createNewSpread($('#price-spread')[0]);

+ 1 - 0
app/service/tender_info.js

@@ -195,6 +195,7 @@ module.exports = app => {
                         b.sjcl_qty = sjcl_qty;
                         b.qtcl_qty = qtcl_qty;
                         b.quantity = quantity;
+                        // this.ctx.helper.checkFieldPrecision(b, ['deal_qty'], precision.value);
                     } else {
                         this.ctx.helper.checkFieldPrecision(b, ['sgfh_qty', 'sjcl_qty', 'qtcl_qty', 'deal_qty'], precision.value);
                     }