Merge branch 'develop' into devTee
This commit is contained in:
commit
59b0d7ae36
5 changed files with 15 additions and 8 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue