From e4be5ba9eea9fe8408f3a7048a315b3767b33f49 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期五, 23 二月 2024 09:54:38 +0800 Subject: [PATCH] mrshi --- company/src/components/enterprise/additionSubtractionApplication.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/company/src/components/enterprise/additionSubtractionApplication.vue b/company/src/components/enterprise/additionSubtractionApplication.vue index 3129e40..623e54c 100644 --- a/company/src/components/enterprise/additionSubtractionApplication.vue +++ b/company/src/components/enterprise/additionSubtractionApplication.vue @@ -184,6 +184,7 @@ import { all } from '@/api/business/solutions' import { getDetail } from '@/api/business/insuranceApply' import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange' + import { getDate } from '@/utils/util' export default { name: 'additionSubtractionApplication', extends: BaseOpera, @@ -279,16 +280,20 @@ getDetail(this.form.id) .then(res => { this.list.push(res) + this.item = res this.endTime = res.endTime this.form.solutionId = res.solutionId this.form.solutionsName = res.solutionsName this.pickerOptions = { disabledDate(time) { // - 8.64e7 + if (getDate()) { + + } return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate ? res.lastChangeDate : res.startTime).getTime() } }; - this.changeSolution1(res.solutionId) + // this.changeSolution1(res.solutionId) }) }, getSummaries(param) { @@ -428,6 +433,7 @@ // 鍒囨崲鏂规 changeSolution1(e) { this.company.forEach(item => { + console.log(item.id + '-----' + e) if (item.id === e) { console.log(item) this.item = item @@ -516,7 +522,6 @@ this.seleData = e.map(item => item.name) }, getValue(list) { - console.log(list) if (this.activeName === '0') { this.form.addDetailList.push(...list) } else { -- Gitblit v1.9.3