From 556227f639fc5d5bc7b35c3da437634d8215d263 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期四, 11 四月 2024 09:31:02 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/enterprise/editFactoryChange.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/company/src/components/enterprise/editFactoryChange.vue b/company/src/components/enterprise/editFactoryChange.vue
index a46d79b..976d5b3 100644
--- a/company/src/components/enterprise/editFactoryChange.vue
+++ b/company/src/components/enterprise/editFactoryChange.vue
@@ -175,7 +175,7 @@
             return {
                 form: {
                     id: null,
-                    applyChangId: '',
+                    applyChangeId: '',
                     solutionId: '',
                     solutionsName: '',
                     applyStartTime: '',
@@ -219,7 +219,7 @@
                     this.$nextTick(() => {
                         this.$refs.form.resetFields()
                         this.form.id = target.id
-                        this.form.applyChangId = target.applyChangId
+                        this.form.applyChangeId = target.applyChangId
                         this.getDetails()
                         this.getapplyChagneDetailList()
                     })
@@ -236,7 +236,7 @@
             // 鑾峰彇鎹㈠巶浜哄憳
             getapplyChagneDetailList() {
                 applyChagneDetailList({
-                    applyChangId: this.form.applyChangId,
+                    applyChangeId: this.form.applyChangeId,
                     types: [2]
                 }).then(res => {
                     res.forEach(item => {
@@ -282,7 +282,7 @@
                         this.pickerOptions = {
                             disabledDate(time) {
                                 // - 8.64e7
-                                return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date().getTime()
+                                return time.getTime() > new Date(res.endTime).getTime() || time.getTime() <new Date(res.startTime).getTime()
                             }
                         };
                         this.changeSolution1(res.solutionId)
@@ -323,7 +323,7 @@
                         // })
                         this.isWorking = true
                         update({
-                            id: this.form.applyChangId,
+                            id: this.form.applyChangeId,
                             applyId: this.form.id,
                             changeDetailList: this.form.factory,
                             validTime: this.form.applyStartTime,

--
Gitblit v1.9.3