Skip to content

Commit cd93b78

Browse files
committed
save taux in project
1 parent ce13ffd commit cd93b78

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/components/JehMaker.vue

+8-7
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,12 @@ export default class JehMaker extends Vue {
195195
}
196196
}
197197
198-
get saveObject () : { projectName: string, phases: PhaseObject[], fee: number } {
198+
get saveObject () : { projectName: string, phases: PhaseObject[], fee: number, taux: TauxObject } {
199199
return {
200200
projectName: this.projectName,
201201
phases: this.phases,
202-
fee: this.fee
202+
fee: this.fee,
203+
taux: this.taux
203204
}
204205
}
205206
@@ -252,11 +253,11 @@ export default class JehMaker extends Vue {
252253
this.phases = project.phases
253254
this.fee = project.fee
254255
this.taux = new TauxObject(
255-
jsonImported.taux.urssafBase,
256-
jsonImported.taux.jeContrib,
257-
jsonImported.taux.jepay,
258-
jsonImported.taux.consultantContrib,
259-
jsonImported.taux.consultantPay
256+
project.taux.urssafBase,
257+
project.taux.jeContrib,
258+
project.taux.jepay,
259+
project.taux.consultantContrib,
260+
project.taux.consultantPay
260261
)
261262
262263
if (project.id) {

0 commit comments

Comments
 (0)