Selaa lähdekoodia

修复工资管理不补0

master
Klein Blue 2 vuotta sitten
vanhempi
commit
a27fd6e9f4
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5
    3
      src/views/luru/gongzi.vue

+ 5
- 3
src/views/luru/gongzi.vue Näytä tiedosto

@@ -366,9 +366,11 @@ export default {
// }
let ee = parseFloat(item.wages_money);
let newitem = JSON.parse(JSON.stringify(item));
newitem.wages_money = isNaN(ee)
? sum.toFixed(2)
: ee.toFixed(2).replace(/[^0-9.]/g, "");
newitem.wages_money =
// isNaN(ee)
// ? sum.toFixed(2)
// :
ee.toFixed(2).replace(/[^0-9.]/g, "");
this.gongzi.splice(idx, 1, newitem);
console.log("gongzi:", this.gongzi);
this.edit_idx = -1;

Loading…
Peruuta
Tallenna