优化
This commit is contained in:
@@ -33,6 +33,7 @@ type FilterModel = QueryModel & {
|
||||
}
|
||||
|
||||
const props = defineProps<{ mode: InboundTaskMode; title?: string }>()
|
||||
const emit = defineEmits<{ changed: [] }>()
|
||||
const router = useRouter()
|
||||
const access = useAccessPreviewStore()
|
||||
const page = ref(1)
|
||||
@@ -216,6 +217,7 @@ function openDetail(row: InboundOrderSummary) {
|
||||
}
|
||||
|
||||
async function handleTaskChanged() {
|
||||
emit('changed')
|
||||
const target = selectedInbound.value
|
||||
if (!isReview.value) {
|
||||
reviewDialogOpen.value = false
|
||||
@@ -295,6 +297,7 @@ async function batchApproveMeasurements() {
|
||||
}
|
||||
}
|
||||
await loadTasks()
|
||||
if (successCount) emit('changed')
|
||||
const reason = [...new Set(failures.filter(Boolean))].slice(0, 3).join(';')
|
||||
const pricingReason = [...new Set(pricingWarnings.filter(Boolean))].slice(0, 3).join(';')
|
||||
if (!failureCount && !pricingWarnings.length) ElMessage.success(`已批量审核通过 ${successCount} 条测量数据,费用初算已生成`)
|
||||
|
||||
Reference in New Issue
Block a user