isAttachment
This commit is contained in:
parent
57dd12d6d2
commit
13317f94f2
5 changed files with 9 additions and 8 deletions
|
|
@ -39,6 +39,8 @@ let formData = reactive<FormDataDetail>({
|
|||
commandAffectDate: null, //วันที่ลงนาม
|
||||
commandExcecuteDate: null, //วันที่คำสั่งมีผล
|
||||
isBangkok: false,
|
||||
isAttachment:true
|
||||
|
||||
});
|
||||
const modalPreview = ref<boolean>(false); //แสดงตัวอย่าง
|
||||
|
||||
|
|
|
|||
|
|
@ -138,9 +138,10 @@ function onDelete(id: string) {
|
|||
dialogRemove($q, async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.commandAction(id, "tab2"))
|
||||
.delete(config.API.commandAction(id, "tab2"))
|
||||
.then((res) => {
|
||||
success($q, "ลบข้อมูลสำเร็จ");
|
||||
getPersonList();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ function onSubmit() {
|
|||
mouthSalaryAmount: formData.salaryAmount, //เงินเดือน
|
||||
positionSalaryAmount: formData.positionSalaryAmount, //เงินประจำตำแหน่ง
|
||||
amount: formData.monthSalaryAmount, //เงินค่าตอบแทนรายเดือน
|
||||
remarkHorizontal: formData.remarkVertical, //หมายเหตุแนวตั้ง
|
||||
remarkVertical: formData.remarkHorizontal, //หมายเหตุแนวนอน
|
||||
remarkVertical: formData.remarkVertical, //หมายเหตุแนวตั้ง
|
||||
remarkHorizontal: formData.remarkHorizontal, //หมายเหตุแนวนอน
|
||||
})
|
||||
.then((res) => {
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue