李红攀:V2.0.001小程序的采摘管理
This commit is contained in:
22
src/api/erp/product/index.ts
Normal file
22
src/api/erp/product/index.ts
Normal 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')
|
||||
}
|
||||
Reference in New Issue
Block a user