|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | form: { | 
|---|
|  |  |  | id: null, | 
|---|
|  |  |  | applyChangId: '', | 
|---|
|  |  |  | applyChangeId: '', | 
|---|
|  |  |  | solutionId: '', | 
|---|
|  |  |  | solutionsName: '', | 
|---|
|  |  |  | applyStartTime: '', | 
|---|
|  |  |  | 
|---|
|  |  |  | 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() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | // 获取换厂人员 | 
|---|
|  |  |  | getapplyChagneDetailList() { | 
|---|
|  |  |  | applyChagneDetailList({ | 
|---|
|  |  |  | applyChangId: this.form.applyChangId, | 
|---|
|  |  |  | applyChangeId: this.form.applyChangeId, | 
|---|
|  |  |  | types: [2] | 
|---|
|  |  |  | }).then(res => { | 
|---|
|  |  |  | res.forEach(item => { | 
|---|
|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  | // }) | 
|---|
|  |  |  | this.isWorking = true | 
|---|
|  |  |  | update({ | 
|---|
|  |  |  | id: this.form.applyChangId, | 
|---|
|  |  |  | id: this.form.applyChangeId, | 
|---|
|  |  |  | applyId: this.form.id, | 
|---|
|  |  |  | changeDetailList: this.form.factory, | 
|---|
|  |  |  | validTime: this.form.applyStartTime, | 
|---|