Commit 63b7899c by wusiyi

feat: 备货计划页面1000860

parent 681244f3
...@@ -11,7 +11,8 @@ import { ...@@ -11,7 +11,8 @@ import {
InterProductList, InterProductList,
ExportInWarehouseInfo, ExportInWarehouseInfo,
stockingPlanSearchForm, stockingPlanSearchForm,
InterStackingPlanDetail InterStackingPlanDetail,
InterWarehouseBase
} from '@/types/api/warehouse' } from '@/types/api/warehouse'
export interface LogListData { export interface LogListData {
createTime: string createTime: string
...@@ -683,11 +684,36 @@ export function deleteStackingPlanApi(ids: string) { ...@@ -683,11 +684,36 @@ export function deleteStackingPlanApi(ids: string) {
}, },
) )
} }
// 备货计划 更新物流单号
// 备货计划 审核 export function updateShipmentNumberApi(data: InterWarehouseBase[]) {
export function auditStackingPlanApi(data: WarehouseParams) {
return axios.post<never, BaseRespData<never>>( return axios.post<never, BaseRespData<never>>(
'factoryStockingPlanRecord/audit', 'factoryStockingPlanRecord/update_shipmentNumber',
{ data }, { stockingPlanRecordParamList: data },
)
}
// 备货计划 导出
export function stackingPlanRecordExport(data: ExportInWarehouseInfo) {
return axios.post<never, BasePaginationData<never>>(
'factoryStockingPlanRecord/export',
data,
{
responseType: 'blob',
},
)
}
// 备货计划 盘点
export function scanBoxCodeApi(boxCode: string) {
return axios.get<never, BaseRespData<never>>(
'factoryStockingPlanRecord/scan_box_code',
{
params: { boxCode },
},
)
}
// 备货计划 打印箱贴
export function printBarcodeApi(data: { id: number, dataVersion: number }[]) {
return axios.post<never, BaseRespData<never[]>>(
'factoryStockingPlanRecord/print_barcode',
data,
) )
} }
\ No newline at end of file
...@@ -21,6 +21,7 @@ export interface InterProductList { ...@@ -21,6 +21,7 @@ export interface InterProductList {
productNo?: string | null //custom的货号 productNo?: string | null //custom的货号
buyStored?: number | null //入库数量 buyStored?: number | null //入库数量
outCount?: number | null //出库数量 outCount?: number | null //出库数量
stockUpStored?: number | null //备货数量
remark?: string | null remark?: string | null
skuImage?: string skuImage?: string
skuName?: string skuName?: string
...@@ -80,6 +81,7 @@ export interface InterProductList { ...@@ -80,6 +81,7 @@ export interface InterProductList {
productNo?: string | null //货号 productNo?: string | null //货号
buyStored?: number | null //入库数量 buyStored?: number | null //入库数量
outCount?: number | null //出库数量 outCount?: number | null //出库数量
stockUpStored?: number | null //备货数量
usableInventory?: number | null //可用库存数量 usableInventory?: number | null //可用库存数量
remark?: string | null remark?: string | null
skuImage?: string skuImage?: string
...@@ -127,8 +129,11 @@ export interface stockingPlanSearchForm extends InterWarehouseBase { ...@@ -127,8 +129,11 @@ export interface stockingPlanSearchForm extends InterWarehouseBase {
warehouseSku?: string warehouseSku?: string
} }
// 备货计划 新增编辑 // 备货计划
export interface InterStackingPlanDetail extends InterWarehouseDetail { export interface InterStackingPlanDetail extends InterWarehouseDetail {
boxSum?: number boxSum?: number
checkBoxSum?: number checkBoxSum?: number
box?: number | string
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment