From 676fba209b6bd2c0405b06078f05a72585546dc2 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期四, 11 四月 2024 10:15:08 +0800
Subject: [PATCH] 提交一把
---
company/src/components/enterprise/editFactoryChange.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/company/src/components/enterprise/editFactoryChange.vue b/company/src/components/enterprise/editFactoryChange.vue
index 1d123ae..976d5b3 100644
--- a/company/src/components/enterprise/editFactoryChange.vue
+++ b/company/src/components/enterprise/editFactoryChange.vue
@@ -28,7 +28,7 @@
<el-form-item label="鎶曚繚骞撮緞" v-if="item">
<span>{{item.minAge}} 鑷� {{item.maxAge}}</span>
</el-form-item>
- <el-form-item label="璐圭敤" v-if="item">
+ <el-form-item label="璐圭敤" v-if="item && item.type==0">
<span>{{item.price}}鍏�</span>
<span v-if="item.timeUnit === 0">/澶�</span>
<span v-if="item.timeUnit === 1">/鍗婃湀</span>
@@ -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