Commit 7081e331 authored by fuyunnan's avatar fuyunnan

原料库存调拨rpc

parent 9e36e4b8
...@@ -12,7 +12,7 @@ interface StoreMaterialServiceInterface ...@@ -12,7 +12,7 @@ interface StoreMaterialServiceInterface
{ {
/** /**
* description:创建原料入库单 * description:创建原料入库单
* *
* data[master][warehousing_date]:2020-01-08 入库时间 * data[master][warehousing_date]:2020-01-08 入库时间
* data[master][creator_id]:12 创建人id * data[master][creator_id]:12 创建人id
* data[master][warehouse_id]:2 仓库id * data[master][warehouse_id]:2 仓库id
...@@ -28,7 +28,7 @@ interface StoreMaterialServiceInterface ...@@ -28,7 +28,7 @@ interface StoreMaterialServiceInterface
* data[goods][1][material_id]:18 * data[goods][1][material_id]:18
* data[goods][1][should_cnt]:10 * data[goods][1][should_cnt]:10
* data[goods][1][real_cnt]:15 * data[goods][1][real_cnt]:15
* *
* author: fuyunnan * author: fuyunnan
* @param array $attributes 需要入库的数组 格式请参考yapi 入库添加 * @param array $attributes 需要入库的数组 格式请参考yapi 入库添加
* @return array * @return array
...@@ -38,7 +38,6 @@ interface StoreMaterialServiceInterface ...@@ -38,7 +38,6 @@ interface StoreMaterialServiceInterface
public function createMaterialWarehousing(array $attributes): array; public function createMaterialWarehousing(array $attributes): array;
/** /**
* description:批量创建入库单 * description:批量创建入库单
* author: fuyunnan * author: fuyunnan
...@@ -112,4 +111,14 @@ interface StoreMaterialServiceInterface ...@@ -112,4 +111,14 @@ interface StoreMaterialServiceInterface
*/ */
public function showBatchExeWarehouse($ids, $relations = []): array; public function showBatchExeWarehouse($ids, $relations = []): array;
/**
* description:批量调拨库存方法
* author: fuyunnan
* @param array $data 表单
* @return array
* @throws
* Date: 2020/11/3
*/
public function transferToStock($data): array;
} }
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