浏览代码

变更令,新增部位,复制整块问题

MaiXinRong 2 年之前
父节点
当前提交
a3a87385fc
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/service/change_ledger.js

+ 2 - 0
app/service/change_ledger.js

@@ -1208,6 +1208,7 @@ module.exports = app => {
                         qtcl_expr: d.qtcl_expr,
                         check_calc: 1,
                         ccid: this.ctx.change.cid,
+                        formc: 1,
                     };
                     for (const c of d.children) {
                         c.ledger_pid = newBills.ledger_id;
@@ -1236,6 +1237,7 @@ module.exports = app => {
                                 ex_memo2: pos.ex_memo2,
                                 ex_memo3: pos.ex_memo3,
                                 ccid: this.ctx.change.cid,
+                                formc: 1,
                             };
                             this._calcExpr(newPos, 'sgfh_qty', pos.sgfh_expr, pos.sgfh_qty, precision);
                             this._calcExpr(newPos, 'sjcl_qty', pos.sjcl_expr, pos.sjcl_qty, precision);