fix: correct form submission handler and update step status attributes
This commit is contained in:
parent
594a416e3d
commit
e445d0e7d2
2 changed files with 7 additions and 6 deletions
|
|
@ -119,7 +119,7 @@ function assignToForm() {
|
|||
id="btn-info-basic-save"
|
||||
icon-only
|
||||
type="submit"
|
||||
@click.stop="refForm?.submit()"
|
||||
@click.stop="refForm?.submit"
|
||||
/>
|
||||
<EditButton
|
||||
v-if="!state.isEdit"
|
||||
|
|
|
|||
|
|
@ -782,11 +782,12 @@ function goToQuotation(
|
|||
"
|
||||
@update-attributes="
|
||||
(opt) => {
|
||||
value.stepStatus[pageState.currentStep - 1] = {
|
||||
...opt,
|
||||
requestWorkId: value.id || '',
|
||||
step: pageState.currentStep,
|
||||
};
|
||||
value.stepStatus[
|
||||
pageState.currentStep - 1
|
||||
].responsibleUserId = opt.responsibleUserId;
|
||||
value.stepStatus[
|
||||
pageState.currentStep - 1
|
||||
].responsibleUserLocal = opt.responsibleUserLocal;
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue