|
@@ -572,13 +572,13 @@ class AnalysisExcelTree {
|
|
|
node.code = _.trimEnd(this.ctx.helper.replaceReturn(row[this.colsDef.code]));
|
|
|
node.name = this.ctx.helper.replaceReturn(row[this.colsDef.name]);
|
|
|
node.unit = this.ctx.helper.replaceReturn(row[this.colsDef.unit]);
|
|
|
- node.dgn_qty1 = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.dgn_qty1]), 3);
|
|
|
- node.dgn_qty2 = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.dgn_qty2]), 3);
|
|
|
+ node.dgn_qty1 = aeUtils.toNumber(row[this.colsDef.dgn_qty1]);
|
|
|
+ node.dgn_qty2 = aeUtils.toNumber(row[this.colsDef.dgn_qty2]);
|
|
|
node.deal_tp = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.deal_tp]), this.decimal.tp);
|
|
|
node.total_price = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.total_price]), this.decimal.tp);
|
|
|
node.drawing_code = this.ctx.helper.replaceReturn(row[this.colsDef.drawing_code]);
|
|
|
node.memo = this.ctx.helper.replaceReturn(row[this.colsDef.memo]);
|
|
|
- this.ctx.helper.checkDgnQtyPrecision(data);
|
|
|
+ this.ctx.helper.checkDgnQtyPrecision(node);
|
|
|
return this.cacheTree.addXmjNode(node);
|
|
|
} catch (error) {
|
|
|
if (error.stack) {
|