MaiXinRong 1 mesiac pred
rodič
commit
4127bd4203
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      app/service/cost_stage_analysis.js

+ 2 - 0
app/service/cost_stage_analysis.js

@@ -185,6 +185,7 @@ module.exports = app => {
                 idata.calc_type = pl.calc_type;
                 idata.has_detail = pl.has_detail && pl.detail.length > 0;
                 idata.import_cost_id = pl.import_cost_id;
+                idata.import_cost_type = pl.import_cost_type;
                 if (!idata.has_detail) {
                     for (const prop of costFields.preCopyFields) {
                         idata[prop] = pl[prop];
@@ -222,6 +223,7 @@ module.exports = app => {
         //         idata.calc_type = pl.calc_type;
         //         idata.has_detail = pl.has_detail && pl.detail.length > 0;
         //         idata.import_cost_id = pl.import_cost_id;
+        //         idata.import_cost_type = pl.import_cost_type;
         //         if (!idata.has_detail) {
         //             for (const prop of costFields.preCopyFields) {
         //                 idata[prop] = pl[prop];