袁伟杰: V2.0.002 其他入库其他出库扫码
This commit is contained in:
@@ -16,7 +16,23 @@ export interface ProductSimple {
|
||||
weight?: number
|
||||
}
|
||||
|
||||
/** 按条码查询的产品信息 */
|
||||
export interface ProductByBarCode {
|
||||
id: number
|
||||
name: string
|
||||
barCode?: string
|
||||
unitId?: number
|
||||
unitName?: string
|
||||
standard?: string
|
||||
minPrice?: number
|
||||
}
|
||||
|
||||
/** 获取产品精简列表 */
|
||||
export function getProductSimpleList() {
|
||||
return http.get<ProductSimple[]>('/erp/product/simple-list')
|
||||
}
|
||||
|
||||
/** 按条码查询启用中的产品 */
|
||||
export function getProductByBarCode(barCode: string) {
|
||||
return http.get<ProductByBarCode>('/erp/product/get-by-barcode', { barCode })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user