Browse Source

计算式说明调整

MaiXinRong 5 years ago
parent
commit
13e9b3cc49
2 changed files with 8 additions and 6 deletions
  1. 4 3
      app/lib/stage_im.js
  2. 4 3
      app/public/js/stage_im.js

+ 4 - 3
app/lib/stage_im.js

@@ -539,9 +539,10 @@ class StageIm {
 
                 this._addBwBillsGclBills(imDefault, {
                     b_code: p.b_code, name: p.name, unit: p.unit, unit_price: p.unit_price,
-                    jl: p.gather_qty ? p.gather_qty : p.gather_tp,
-                    contract_jl: p.contract_qty ? p.contract_qty : p.contract_tp,
-                    qc_jl: p.qc_qty ? p.qc_qty : p.tp,
+                    // jl: p.gather_qty ? p.gather_qty : p.gather_tp,
+                    // contract_jl: p.contract_qty ? p.contract_qty : p.contract_tp,
+                    // qc_jl: p.qc_qty ? p.qc_qty : p.tp,
+                    jl: p.gather_qty, contract_jl: p.contract_qty, qc_jl: p.qc_jl,
                 });
             }
         }

+ 4 - 3
app/public/js/stage_im.js

@@ -536,9 +536,10 @@ const stageIm = (function () {
 
                     addBwBillsGclBills(imDefault, {
                         b_code: p.b_code, name: p.name, unit: p.unit, unit_price: p.unit_price,
-                        jl: p.gather_qty ? p.gather_qty : p.gather_tp,
-                        contract_jl: p.contract_qty ? p.contract_qty : p.contract_tp,
-                        qc_jl: p.qc_qty ? p.qc_qty : p.tp,
+                        // jl: p.gather_qty ? p.gather_qty : p.gather_tp,
+                        // contract_jl: p.contract_qty ? p.contract_qty : p.contract_tp,
+                        // qc_jl: p.qc_qty ? p.qc_qty : p.tp,
+                        jl: p.gather_qty, contract_jl: p.contract_qty, qc_jl: p.qc_jl,
                     });
                 }
             }