ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-09 14:33:20 +07:00
parent 73c41d9b01
commit 671c7103ab
7 changed files with 86 additions and 61 deletions

View file

@ -102,19 +102,19 @@ async function fetchDataCommandList() {
*
* เชคการเปลยนแปลงของขอม าการเปลยนแปลงของขอมลจะบนทกขอม
*/
watch(tabs, (newValue, oldValue) => {
//
if (isChangeData.value) {
const refMap: { [key: string]: any } = {
Detail: childDetailRef,
ListPersons: childListPersonsRef,
ReceivedCopy: childReceivedCopyRef,
Attached: childAttachedRef,
};
// watch(tabs, (newValue, oldValue) => {
// //
// if (isChangeData.value) {
// const refMap: { [key: string]: any } = {
// Detail: childDetailRef,
// ListPersons: childListPersonsRef,
// ReceivedCopy: childReceivedCopyRef,
// Attached: childAttachedRef,
// };
refMap[oldValue]?.value?.onSubmit();
}
});
// refMap[oldValue]?.value?.onSubmit();
// }
// });
/**
* ทำงานเม Components กเรยกใชงาน