销售计提比例配置时间、百分比调整

This commit is contained in:
wuteng 2025-07-31 11:21:19 +08:00
parent 71b7278bcd
commit 202bc576f5
2 changed files with 13 additions and 0 deletions

View File

@ -51,6 +51,7 @@
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择结束时间"
@change="changeEndDate"
/>
</el-form-item>
</el-col>
@ -147,6 +148,9 @@ export default {
});
}
},
changeEndDate(val){
this.form.endDate = val.split(' ')[0] + ' 23:59:59';
},
// 取消按钮
cancel() {
this.reset();

View File

@ -260,6 +260,15 @@ export default {
return '停用';
}
}
if(j === 'salesExecutiveRatio'){
return v[j] + '%';
}
if(j === 'salesmenRatio'){
return v[j] + '%';
}
if(j === 'salesSupportRatio'){
return v[j] + '%';
}
return v[j]
}))
},