Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-01-08 16:17:07 +07:00
commit 59b0d7ae36
5 changed files with 15 additions and 8 deletions

View file

@ -82,7 +82,9 @@ const attachmentStatus = computed(() => {
// gen report server code gen report
const genReportStatus = computed(() => {
return code.value == "c-pm-25" ||
return code.value == "c-pm-19" ||
code.value == "c-pm-20" ||
code.value == "c-pm-25" ||
code.value == "c-pm-26" ||
code.value == "c-pm-27" ||
code.value == "c-pm-28" ||
@ -119,7 +121,7 @@ const getCommandDetail = async () => {
const downloadCover = async (type: string) => {
showLoader();
if (!genReportStatus) {
if (!genReportStatus.value) {
await http
.get(config.API.fileCover(code.value, type, orderId.value), {
responseType: "blob",

View file

@ -136,8 +136,10 @@ onMounted(() => {
outlined
v-model="assignedPosition"
@update:model-value="updateInput(formCommand)"
label="ต่ำแหน่งที่ได้รับ"
:rules="[(val) => !!val || `${'กรุณากรอกเจ้าของผลงาน'}`]"
label="ตำแหน่งที่ได้รับ"
:rules="[
(val) => !!val || `${'กรุณากรอกตำแหน่งที่ได้รับ'}`,
]"
lazy-rules
/>
</div>