From 082b572b91abd0d5ae8e409714553130448aa6d1 Mon Sep 17 00:00:00 2001 From: 张涛 <“2538313560@qq.com”> Date: 星期五, 30 八月 2024 17:25:44 +0800 Subject: [PATCH] fix:薪资调整 --- src/views/employeeSalary/salaryPlan/components/SilkSetDialog.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/employeeSalary/salaryPlan/components/SilkSetDialog.vue b/src/views/employeeSalary/salaryPlan/components/SilkSetDialog.vue index 5ec9a12..94c2546 100644 --- a/src/views/employeeSalary/salaryPlan/components/SilkSetDialog.vue +++ b/src/views/employeeSalary/salaryPlan/components/SilkSetDialog.vue @@ -7,11 +7,11 @@ :model="form" label-width="300px" label-position="top"> - <el-form-item label="璇烽�夋嫨閲庣氦鍖呭惈閭e嚑涓敓涓濇爣鍑嗭細" prop="purchaseTypeList"> - <el-checkbox-group v-model="form.purchaseTypeList"> + <el-form-item label="璇烽�夋嫨閲庣氦鍖呭惈閭e嚑涓敓涓濇爣鍑嗭細" prop="wildSilkList"> + <el-checkbox-group v-model="form.wildSilkList"> <el-checkbox v-for="item in silkSetList" - :label="item.id" + :label="item.value" :key=item.id >{{ item.value }}</el-checkbox > @@ -43,11 +43,11 @@ islook: false, silkSetList:getDataByType('silkSet'), form: { - purchaseTypeList:[1], + wildSilkList:['閲庣氦'], }, rules: { // 閲囪喘绫诲瀷 - purchaseTypeList: [ + wildSilkList: [ { required: true, message: "璇烽�夋嫨", trigger: ["blur",'change'] }, ], }, @@ -61,8 +61,8 @@ if (newVal) { this.$nextTick(() => { this.$refs["form"].resetFields(); + this.form.wildSilkList=this.editRow.wildSilkList.value||['閲庣氦'] }); - this.form=this.editRow } }, }, @@ -70,8 +70,7 @@ onSubmit() { this.$refs.form.validate((valid) => { if (valid) { - this.$emit('confirmValueSave',this.form,1) - this.shutdown() + this.$emit('confirmValueSave',this.form,9) } }); }, -- Gitblit v1.8.0