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:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user