Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Satini_pvduc
/
ocrpdf
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
tien_nemo
2025-09-16 08:21:46 +0700
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
57efd5e3b720ea879aae023851274701367c3d6f
57efd5e3
1 parent
43506d27
save table
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
resources/views/ocr/index.blade.php
resources/views/ocr/index.blade.php
View file @
57efd5e
...
...
@@ -1132,13 +1132,17 @@
alert
(
"Bạn phải map customer_name (quét/select) trước khi lưu."
);
return
;
}
const
tableColsPlain
=
{};
Object
.
keys
(
table_columns
).
forEach
(
key
=>
{
tableColsPlain
[
key
]
=
table_columns
[
key
];
});
const
payload
=
{
customer_name_text
:
customer_name
||
''
,
template_name
:
this
.
formData
.
template_name
||
this
.
formData
.
customer_name
,
customer_name_xy
:
customer_coords
||
[],
fields
:
fields
,
table_columns
:
table
_columns
table_columns
:
table
ColsPlain
};
try
{
...
...
Please
register
or
sign in
to post a comment