fix: แก้ taxNo ของนายจ้างไม่แสดง
This commit is contained in:
parent
8c7f467579
commit
035d3b0dcf
1 changed files with 8 additions and 0 deletions
|
|
@ -1157,6 +1157,8 @@ async function assignFormData(customerId: string, branch?: CustomerBranch) {
|
|||
};
|
||||
|
||||
data.branch.forEach((v) => {
|
||||
console.log(v.taxNo);
|
||||
|
||||
prevCustomer.value.customerBranch?.push({
|
||||
code: v.code,
|
||||
branchNo: v.branchNo,
|
||||
|
|
@ -1190,6 +1192,8 @@ async function assignFormData(customerId: string, branch?: CustomerBranch) {
|
|||
});
|
||||
|
||||
cloneData();
|
||||
|
||||
console.log(formData.value);
|
||||
}
|
||||
|
||||
function cloneData() {
|
||||
|
|
@ -3560,6 +3564,10 @@ watch([inputSearch, currentStatus], async () => {
|
|||
formData.customerBranch?.[indexTab]
|
||||
"
|
||||
:type-customer="customerType"
|
||||
v-model:legal-entity-code="
|
||||
formData.customerBranch[indexTab].legalPersonNo
|
||||
"
|
||||
v-model:tax-no="formData.customerBranch[indexTab].taxNo"
|
||||
v-model:branch-code="formData.customerBranch[indexTab].code"
|
||||
v-model:branch-no="formData.customerBranch[indexTab].branchNo"
|
||||
v-model:customer-name="formData.customerBranch[indexTab].name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue