feat: save branch

This commit is contained in:
Methapon2001 2024-08-06 16:34:12 +07:00
parent 2993cf0f02
commit 80ac35dce0
3 changed files with 322 additions and 9 deletions

View file

@ -1883,6 +1883,12 @@ watch(
customerFormState.editReadonly === false
"
@add-branch="customerFormStore.addCurrentCustomerBranch()"
@save-branch="
(idx) => {
customerFormState.saveMode = 'branch';
customerFormState.branchIndex = idx;
}
"
v-model:customer-branch="customerFormData.customerBranch"
/>
</div>