|
@@ -938,13 +938,15 @@ const fnDetail = () => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const fnInsert = async () => {
|
|
const fnInsert = async () => {
|
|
|
|
|
+ gridApi.value.stopEditing();
|
|
|
|
|
+
|
|
|
try {
|
|
try {
|
|
|
const req = {
|
|
const req = {
|
|
|
item_seq: useDtStore.boardInfo.seq,
|
|
item_seq: useDtStore.boardInfo.seq,
|
|
|
inf_seq: form.value.contact_inf,
|
|
inf_seq: form.value.contact_inf,
|
|
|
orderList: tblItems.value || []
|
|
orderList: tblItems.value || []
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
const response = await useAxios().post('/deli/reg', req);
|
|
const response = await useAxios().post('/deli/reg', req);
|
|
|
|
|
|
|
|
if (response.data) {
|
|
if (response.data) {
|