feat(qc): integrate OutboundQcViewDialog into QC work order page
This commit is contained in:
1 parent
b20c9f7bd7
commit
4a00f21bfb
1 file changed
+18
@@ -635,6 +635,11 @@
|
||||
:submitting="remarkEditLoading"
|
||||
@submit="submitRemarkEdit"
|
||||
/>
|
||||
|
||||
<OutboundQcViewDialog
|
||||
v-model:visible="outboundViewVisible"
|
||||
:work-order-id="outboundViewId"
|
||||
/>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
@@ -711,6 +716,7 @@
|
||||
import type { ViewField, ViewSection } from '@/components/business/system-view-dialog/index.vue'
|
||||
import { downloadAttachmentFile } from '@/utils/download-attachment'
|
||||
import WorkOrderRemarkDialog from '@/components/business/work-order-remark-dialog/index.vue'
|
||||
import OutboundQcViewDialog from './OutboundQcViewDialog.vue'
|
||||
|
||||
defineOptions({ name: 'QualityInspectionQcWorkOrder' })
|
||||
|
||||
@@ -1367,7 +1373,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
const outboundViewVisible = ref(false)
|
||||
const outboundViewId = ref('')
|
||||
|
||||
function handleOutboundView(row: QcWorkOrder) {
|
||||
outboundViewId.value = row.id
|
||||
outboundViewVisible.value = true
|
||||
}
|
||||
|
||||
async function handleView(row: QcWorkOrder) {
|
||||
if (activeTypeTab.value === 'outbound') {
|
||||
handleOutboundView(row)
|
||||
return
|
||||
}
|
||||
viewVisible.value = true
|
||||
viewLoading.value = true
|
||||
viewTasks.value = []
|
||||
|
||||
Reference in new issue
Block a user