Fix: Resolve IndJob type mismatch in dataService

Corrected the type of `billOfMaterials` and `consumedMaterials` in `dataService.ts` to match the `IndJob` type definition, ensuring compatibility with `IndBillitemRecord[]`.
This commit is contained in:
gpt-engineer-app[bot]
2025-07-06 17:53:57 +00:00
parent e938e65c73
commit 21b2c468d8

View File

@@ -1,4 +1,3 @@
import { IndJob } from '@/lib/types'; import { IndJob } from '@/lib/types';
import { IndJobRecord, IndJobRecordNoId, IndTransactionRecord, IndTransactionRecordNoId, IndBillitemRecord, IndBillitemRecordNoId } from '@/lib/pbtypes'; import { IndJobRecord, IndJobRecordNoId, IndTransactionRecord, IndTransactionRecordNoId, IndBillitemRecord, IndBillitemRecordNoId } from '@/lib/pbtypes';
import * as jobService from './jobService'; import * as jobService from './jobService';