生产报工提交审批按钮修改

This commit is contained in:
yinjinlu-pc\尹金路 2023-06-27 18:54:34 +08:00
parent ee88167d19
commit 050ac0e937

View File

@ -513,9 +513,9 @@ export default {
}); });
}, },
handleSubmit(){ handleSubmit(){
this.form.status = "APPROVING";
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
this.form.status = "APPROVING";
if (this.form.recordId != null) { if (this.form.recordId != null) {
updateFeedback(this.form).then(response => { updateFeedback(this.form).then(response => {
this.$modal.msgSuccess("提交成功"); this.$modal.msgSuccess("提交成功");