|
|
@@ -1533,9 +1533,9 @@ INTERFACE_EXPORT = (() => {
|
|
|
{name: 'LaborWorkDays', value: 0},
|
|
|
{name: 'LaborUnitPrice', value: 0},
|
|
|
{name: 'LaborUnitTotal', value: 0},
|
|
|
- {name: 'MainMaterialConsume', value: showQty},
|
|
|
- {name: 'MainMaterialUnit', value: gljItem.mainMaterialUnit},
|
|
|
- {name: 'MainMaterialUnitPrice', value: gljItem.mainMaterialUnitPrice},
|
|
|
+ {name: 'MainMaterialConsume', value: scMathUtil.roundForObj(showQty, decimalObj.glj.quantity)},
|
|
|
+ {name: 'MainMaterialUnit', value: scMathUtil.roundForObj(gljItem.mainMaterialUnit, decimalObj.glj.unitPrice)},
|
|
|
+ {name: 'MainMaterialUnitPrice', value: scMathUtil.roundForObj(gljItem.mainMaterialUnitPrice, decimalObj.glj.unitPrice)},
|
|
|
{name: 'MainMaterialTotal', value: scMathUtil.roundForObj(showQty * gljItem.mainMaterialUnitPrice, decimalObj.glj.unitPrice)},
|
|
|
{name: 'AuxiliaryMaterialFee', value: 0},
|
|
|
{name: 'MaterialSum', value: 0},
|
|
|
@@ -1544,7 +1544,7 @@ INTERFACE_EXPORT = (() => {
|
|
|
{name: 'ManageFee', value: 0},
|
|
|
{name: 'Tax', value: 0},
|
|
|
{name: 'Profit', value: 0},
|
|
|
- {name: 'Price', value: _getFee(bill)},
|
|
|
+ {name: 'Price', value: scMathUtil.roundForObj(_getFee(bill), decimalObj.glj.unitPrice)},
|
|
|
];
|
|
|
sno++;
|
|
|
let gljItemNode = new emptyElement('Item');
|