ออกคำสั่งเลื่อนเงินเดือน/ค่าจ้าง
This commit is contained in:
parent
5febe188a2
commit
23be6c5fb8
5 changed files with 699 additions and 557 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue