|
|
@@ -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];
|