فهرست منبع

台账分解,输入清单编号,应清空设计数量、经济指标

MaiXinRong 6 سال پیش
والد
کامیت
6216fae715
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      app/service/ledger.js

+ 4 - 0
app/service/ledger.js

@@ -1643,6 +1643,10 @@ module.exports = app => {
                         if (!row.quantity) { row.quantity = updateNode.quantity; }
                         if (!row.deal_qty) { row.deal_qty = updateNode.deal_qty; }
                     }
+                    if (row.b_code) {
+                        row.dgn_qty1 = null;
+                        row.dgn_qty2 = null;
+                    }
                     if (this._checkCalcField(row)) {
                         let calcData = JSON.parse(JSON.stringify(row));
                         const precision = this.ctx.helper.findPrecision(this.ctx.tender.info.precision, row.unit ? row.unit : updateNode.unit);