Commit e3d60d64 by 王志慧

fixed

1 parent 191474db
......@@ -441,7 +441,6 @@ export default {
}
//针对保底工资显示隐藏
this.changeFormAttr('performanceFormData', 'isHide', ['minimumWage'], !form.minimumWageBFlag)
this.changeFormAttr('performanceFormData', 'isHide', showList, !form[value + 'BFlag'])
return
}
......@@ -542,7 +541,7 @@ export default {
formData.push({
bonusType,
startValue: line == 2 ? '' : 0,
endValue: bonusType == 2 ? 99.99 : 999999.99,
endValue: bonusType == 2 ? 100 : 999999.99,
calculateValue: '',
isStartEdit: line == 1 ? true : false,
isEndEdit: true
......@@ -574,7 +573,7 @@ export default {
if (formData.length == 1) return
formData.splice(index, 1)
formData[formData.length - 1].isEndEdit = true
formData[formData.length - 1].endValue = bonusType == 2 ? 99.99 : 999999.99
formData[formData.length - 1].endValue = bonusType == 2 ? 100 : 999999.99
},
changeFormAttr(formName, attrName, labelList, attrValue) {
labelList.forEach(item => {
......@@ -622,7 +621,7 @@ export default {
bonusType.forEach((type, inx) => {
res.performanceBonusConfigList.forEach(item => {
item.startValue == 0 ? (item.isStartEdit = false) : ''
item.endValue == '999999.99' || item.endValue == '99.99' ? (item.isEndEdit = true) : ''
item.endValue == '999999.99' || item.endValue == '100' ? (item.isEndEdit = true) : ''
if (item.bonusType == inx) {
this.employeePerformanceConfig[type + 'List'].push(item)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!