李红攀:V2.0.001小程序的采摘管理

This commit is contained in:
2026-04-17 19:40:30 +08:00
parent 9ee0c6c597
commit 45eb9232d7
16 changed files with 2463 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { http } from '@/http/http'
/** 产品精简信息 */
export interface ProductSimple {
id: number
name: string
barCode?: string
unitId?: number
unitName?: string
standard?: string
purchasePrice?: number
salePrice?: number
minPrice?: number
supplierId?: number
supplierName?: string
weight?: number
}
/** 获取产品精简列表 */
export function getProductSimpleList() {
return http.get<ProductSimple[]>('/erp/product/simple-list')
}