From 5056b731dcaebbc3a48a4a910413cc4dd6c9c19a Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期四, 11 四月 2024 15:36:12 +0800
Subject: [PATCH] 提交一把
---
company/src/components/enterprise/editFactoryChange.vue | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/company/src/components/enterprise/editFactoryChange.vue b/company/src/components/enterprise/editFactoryChange.vue
index 1d123ae..d1b4d52 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,15 +236,15 @@
// 鑾峰彇鎹㈠巶浜哄憳
getapplyChagneDetailList() {
applyChagneDetailList({
- applyChangId: this.form.applyChangId,
+ applyChangeId: this.form.applyChangeId,
types: [2]
}).then(res => {
res.forEach(item => {
item.idCard = item.memberIdcardNo
- item.oldDuId = item.duId
- item.oldDuName = item.duName
- item.oldWorkTypeName = item.workTypeName
- item.oldWorktypeId = item.worktypeId
+ // item.oldDuId = item.duId
+ // item.oldDuName = item.duName
+ // item.oldWorkTypeName = item.workTypeName
+ // item.oldWorktypeId = item.worktypeId
item.workTypeName = ''
item.worktypeId = ''
item.duId = ''
@@ -255,7 +255,7 @@
},
// 鑾峰彇鎶曚繚璇︽儏
getDetails() {
- findList({ applyId: this.form.id })
+ /*findList({ applyId: this.form.id })
.then(res => {
res.forEach(item => {
item.idCard = item.idcardNo
@@ -272,7 +272,7 @@
item.duName = ''
})
// this.form.factory = res
- })
+ })*/
getDetail(this.form.id)
.then(res => {
this.list.push(res)
@@ -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