|
|
|
|
@ -144,9 +144,11 @@ export default {
|
|
|
|
|
submit() {
|
|
|
|
|
this.form.id = this.id
|
|
|
|
|
if (this.type === 1) {
|
|
|
|
|
this.form.year_middle_audit = (this.form.year_middle_audit && this.form.year_middle_audit < 0) ? Math.abs(this.form.year_middle_audit) : 0
|
|
|
|
|
// this.form.year_middle_audit = (this.form.year_middle_audit && this.form.year_middle_audit < 0) ? Math.abs(this.form.year_middle_audit) : 0
|
|
|
|
|
this.form.year_middle_audit = 0
|
|
|
|
|
} else {
|
|
|
|
|
this.form.year_end_audit = (this.form.year_end_audit && this.form.year_end_audit < 0) ? Math.abs(this.form.year_end_audit) : 0
|
|
|
|
|
// this.form.year_end_audit = (this.form.year_end_audit && this.form.year_end_audit < 0) ? Math.abs(this.form.year_end_audit) : 0
|
|
|
|
|
this.form.year_end_audit = 0
|
|
|
|
|
}
|
|
|
|
|
editorBudget({
|
|
|
|
|
...this.form,
|
|
|
|
|
|