|
@@ -1907,7 +1907,7 @@ $(document).ready(() => {
|
|
|
select.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
cInfo.spamount = select.spamount;
|
|
|
cInfo.camount_expr = select.camount_expr;
|
|
|
- cInfo.camount = validText;
|
|
|
+ cInfo.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
// console.log(select);
|
|
|
delete cInfo.waitingLoading;
|
|
|
|
|
@@ -3911,10 +3911,10 @@ $(document).ready(() => {
|
|
|
}
|
|
|
select.spamount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
select.camount_expr = exprQuantity.expr;
|
|
|
- select.camount = validText;
|
|
|
+ select.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
cInfo.spamount = select.spamount;
|
|
|
cInfo.camount_expr = select.camount_expr;
|
|
|
- cInfo.camount = validText;
|
|
|
+ cInfo.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
// console.log(select);
|
|
|
delete cInfo.waitingLoading;
|
|
|
|
|
@@ -4433,10 +4433,10 @@ $(document).ready(() => {
|
|
|
}
|
|
|
select.spamount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
select.camount_expr = exprQuantity.expr;
|
|
|
- select.camount = validText;
|
|
|
+ select.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
cInfo.spamount = select.spamount;
|
|
|
cInfo.camount_expr = select.camount_expr;
|
|
|
- cInfo.camount = validText;
|
|
|
+ cInfo.camount = ZhCalc.round(validText, findDecimal(select.unit)) || 0;
|
|
|
// console.log(select);
|
|
|
delete cInfo.waitingLoading;
|
|
|
|
|
@@ -4449,6 +4449,7 @@ $(document).ready(() => {
|
|
|
};
|
|
|
const refreshData = ledgerTree.loadPostData(loadResult);
|
|
|
ledgerTreeSpreadObj.refreshTree(ledgerSheet, refreshData);
|
|
|
+ ledgerTreeSpreadObj.loadExprToInput();
|
|
|
}, function () {
|
|
|
select.camount = orgValue;
|
|
|
select.camount_expr = orgExprValue;
|