|
@@ -201,7 +201,12 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<el-dialog title="修改成本" :visible.sync="dialogVisible1" width="550px" >
|
|
|
+
|
|
|
<el-form ref="form1" :model="insertForm" :rules="rules" label-width="80px">
|
|
|
+ <el-form-item label="名字" prop="name">
|
|
|
+ <el-input v-model="insertForm.name" placeholder="请输入姓名" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item label="薪酬方式" prop="salaryType">
|
|
|
<el-radio-group v-model="insertForm.salaryType" @change="onSalaryTypeChange">
|
|
|
<el-radio :label="0" >固定月成本</el-radio>
|
|
@@ -911,6 +916,7 @@
|
|
|
for(var i in arr1) {
|
|
|
array1.push(parseInt(arr1[i]))
|
|
|
}
|
|
|
+ console.log(list1)
|
|
|
this.insertForm = {
|
|
|
id: list1.id,
|
|
|
name: list1.name,
|
|
@@ -919,7 +925,8 @@
|
|
|
monthCost:list1.monthCost,
|
|
|
cost: list1.cost,
|
|
|
departmentId: array1.reverse(),
|
|
|
- salaryType: list1.salaryType
|
|
|
+ salaryType: list1.salaryType,
|
|
|
+ name: list1.name
|
|
|
};
|
|
|
this.dialogVisible1 = true;
|
|
|
},
|