This commit is contained in:
2026-10-20 11:33:39 +08:00
parent d2f2ecf57a
commit 41a498657c
33 changed files with 909 additions and 88 deletions
@@ -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} 条测量数据,费用初算已生成`)