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"
|
id="btn-info-basic-save"
|
||||||
icon-only
|
icon-only
|
||||||
type="submit"
|
type="submit"
|
||||||
@click.stop="refForm?.submit()"
|
@click.stop="refForm?.submit"
|
||||||
/>
|
/>
|
||||||
<EditButton
|
<EditButton
|
||||||
v-if="!state.isEdit"
|
v-if="!state.isEdit"
|
||||||
|
|
|
||||||
|
|
@ -782,11 +782,12 @@ function goToQuotation(
|
||||||
"
|
"
|
||||||
@update-attributes="
|
@update-attributes="
|
||||||
(opt) => {
|
(opt) => {
|
||||||
value.stepStatus[pageState.currentStep - 1] = {
|
value.stepStatus[
|
||||||
...opt,
|
pageState.currentStep - 1
|
||||||
requestWorkId: value.id || '',
|
].responsibleUserId = opt.responsibleUserId;
|
||||||
step: pageState.currentStep,
|
value.stepStatus[
|
||||||
};
|
pageState.currentStep - 1
|
||||||
|
].responsibleUserLocal = opt.responsibleUserLocal;
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue