Files
crm_uiapp/src/api/agri/batch.ts

25 lines
548 B
TypeScript
Raw Normal View History

import { http } from '@/http/http'
export interface AgriBatchVO {
id: number
batchNo: string
plotId: number
plotName: string
cropId: number
cropName: string
farmerId: number
farmerName: string
varietyName: string
sowingDate?: string
transplantDate?: string
expectedHarvestDate?: string
actualHarvestDate?: string
status?: number
totalHarvestWeight?: number
}
/** 获取批次简单列表(用于下拉选择) */
export function getBatchSimpleList() {
return http.get<AgriBatchVO[]>('/agri/batch/simple-list')
}