|
@@ -712,13 +712,13 @@
|
|
|
}
|
|
|
function changeValues(prop) {
|
|
|
if (prop.col.key == 'quantity') {
|
|
|
- if (prop.row.quantity) {
|
|
|
+ if (prop.row.quantity==0||prop.row.quantity) {
|
|
|
var num = prop.row.quantity * Number(prop.row.taxPrice);
|
|
|
prop.row.money = isNaN(num) ? '' : num.toFixed(2);
|
|
|
}
|
|
|
}
|
|
|
if (prop.col.key == 'taxPrice') {
|
|
|
- if (prop.row.taxPrice) {
|
|
|
+ if (prop.row.taxPrice==0||prop.row.taxPrice) {
|
|
|
var num = prop.row.quantity * Number(prop.row.taxPrice);
|
|
|
prop.row.money = isNaN(num) ? '' : num.toFixed(2);
|
|
|
}
|