ปรับส่งไปออกคำสั่ง วินัย

This commit is contained in:
setthawutttty 2024-10-09 11:02:17 +07:00
parent 605608ff04
commit d714562571
9 changed files with 30 additions and 9 deletions

View file

@ -276,7 +276,7 @@ function getListChannel() {
/** ฟังก์ชั่นเช็คการแก้ไขฟอร์มแล้วไม่ได้กดบันทึก */
function changeFormData() {
isSave.value = props.data != null ?? true;
isSave.value = props.data != null ? true : false;
if (organization.value) {
formData.organizationId = organization.value.id;
formData.organization = organization.value.name;
@ -339,7 +339,7 @@ function filterOptionFnAgency(val: string, update: Function) {
watch(props.data, async () => {
if (props.data !== null) {
if (countNum.value === 1) {
isReadonly.value = props.data.status != "NEW" ?? true;
isReadonly.value = props.data.status != "NEW" ? true : false;
isSave.value = false;
fileList.value = props.data.disciplineComplaintDocs;