From 5b37b75e21ce0fc86d48a7027238470aed9a56d4 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Fri, 31 May 2024 16:29:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=AE=97=E8=AE=A1=E5=88=92=E4=BA=8B?= =?UTF-8?q?=E5=89=8D=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/away/addAway.vue | 38 +++---- src/views/away/component/addAway.vue | 54 ++++----- src/views/away/index.vue | 123 +++++++++++---------- src/views/budget/budgetList.vue | 114 ++++++++++++++++++- src/views/contract/contractEdit.vue | 3 +- src/views/system/workerComponents/toDo.vue | 3 + 6 files changed, 227 insertions(+), 108 deletions(-) diff --git a/src/views/away/addAway.vue b/src/views/away/addAway.vue index 6dcf246..4a85270 100644 --- a/src/views/away/addAway.vue +++ b/src/views/away/addAway.vue @@ -8,15 +8,15 @@ - + - - - - - - + + + + + + @@ -27,12 +27,12 @@ style="max-width: 300px;width: 100%;" v-model="form.end_date"> - - - - - - + + + + + + 重置 提交 @@ -52,12 +52,12 @@ export default { loading: false, form: { title: '', - use_car: 0, + //use_car: 0, start_date: '', end_date: '', - is_subsidize: 0, - use_car_status: 1, - subsidize_status: 1, + //is_subsidize: 0, + // use_car_status: 1, + // subsidize_status: 1, expense_status: 1, away_status: 1, }, @@ -117,8 +117,8 @@ export default { this.loading = true this.$refs.form.validate((valid) => { if (valid) { - this.form.use_car_status = this.form.use_car ? 1 : ""; - this.form.subsidize_status = this.form.is_subsidize ? 1 : ""; + // this.form.use_car_status = this.form.use_car ? 1 : ""; + // this.form.subsidize_status = this.form.is_subsidize ? 1 : ""; save(this.form,true).then(res => { this.loading = false this.$message({ diff --git a/src/views/away/component/addAway.vue b/src/views/away/component/addAway.vue index b98a35c..2e0fe2b 100644 --- a/src/views/away/component/addAway.vue +++ b/src/views/away/component/addAway.vue @@ -11,7 +11,7 @@ > - - + + + + + + + + + + + + + + + + + + + + + + + +