fix(03): br id select
This commit is contained in:
parent
c6f2dc216d
commit
75a8e43a22
2 changed files with 21 additions and 13 deletions
|
|
@ -2133,7 +2133,8 @@ watch(isMainPage, () => {
|
|||
round
|
||||
flat
|
||||
@click.stop="
|
||||
() => {
|
||||
async () => {
|
||||
await fetchListOfOptionBranch();
|
||||
const { branch, ...payload } = props.row;
|
||||
currentCustomer = payload;
|
||||
|
||||
|
|
@ -2928,19 +2929,14 @@ watch(isMainPage, () => {
|
|||
"
|
||||
@viewDetail="
|
||||
async (v, i) => {
|
||||
await fetchListOfOptionBranch();
|
||||
currentBranchId = v.id;
|
||||
|
||||
statusToggle = v.status === 'INACTIVE' ? false : true;
|
||||
|
||||
currentBranch = {
|
||||
name: v.name,
|
||||
code: v.code,
|
||||
};
|
||||
|
||||
if (currentCustomer) assignFormData(currentCustomer.id, v, i);
|
||||
|
||||
await fetchListOfOptionBranch();
|
||||
|
||||
infoDrawerBranch = true;
|
||||
}
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue