ออกคำสั่งเลื่อนเงินเดือน/ค่าจ้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-25 12:06:07 +07:00
parent 5febe188a2
commit 23be6c5fb8
5 changed files with 699 additions and 557 deletions

View file

@ -103,8 +103,8 @@ onMounted(async () => {
});
const conditionData = async () => {
const id = route.params.orderid
? route.params.orderid.toString()
const id = route.params.id
? route.params.id.toString()
: localStorage.getItem("orderId")
? localStorage.getItem("orderId")
: null;
@ -336,8 +336,8 @@ const putSalary = async (salary: any) => {
const modalAddChange = async () => {
modalAdd.value = !modalAdd.value;
if (modalAdd.value == true) {
const id = route.params.orderid
? route.params.orderid.toString()
const id = route.params.id
? route.params.id.toString()
: localStorage.getItem("orderId")
? localStorage.getItem("orderId")
: null;
@ -394,8 +394,8 @@ const saveModalAdd = () => {
};
// API
const addlist = async (data: Object) => {
const id = route.params.orderid
? route.params.orderid.toString()
const id = route.params.id
? route.params.id.toString()
: localStorage.getItem("orderId")
? localStorage.getItem("orderId")
: null;