Commit d481f1ff authored by fuyunnan's avatar fuyunnan

修改仓库服务批量创建入库单

parent 6a351e25
...@@ -34,7 +34,7 @@ interface StoreServiceInterface ...@@ -34,7 +34,7 @@ interface StoreServiceInterface
data[master][remark]:备注 (选填) data[master][remark]:备注 (选填)
data[master][status]:2 状态 (选填 不填默认1) data[master][status]:2 状态 (选填 不填默认1)
* *
* 产品二维数组 * 产品二维数组
data[goods][0][product_id]:16 产品id data[goods][0][product_id]:16 产品id
data[goods][0][should_cnt]:133 应入数量 data[goods][0][should_cnt]:133 应入数量
data[goods][0][real_cnt]:10 实入数量 data[goods][0][real_cnt]:10 实入数量
...@@ -51,6 +51,39 @@ interface StoreServiceInterface ...@@ -51,6 +51,39 @@ interface StoreServiceInterface
public function createWarehousing(array $data): array; public function createWarehousing(array $data): array;
/**
* description:批量创建出库单
* author: fuyunnan
* [
'main' => [
    'creator_id' => 1,
    'warehouse_id' => 1,
    'type' => 5,
],
'products' => [
[
    'source_no' => 1,
    'product_id' => 1,
    'real_cnt' => 1
],
[
    'source_no' => 1,
    'product_id' => 1,
    'real_cnt' => 1
]
]
]
*
* @param array $attributes 提交的数组 或参考yapi http://api.huaperfect.com/project/38/interface/api/6968
* @return array
* @throws
* Date: 2020/8/8
*/
public function createBatchWarehousing(array $attributes): array;
/** /**
* description:生产单结束获取统计单号值 * description:生产单结束获取统计单号值
* author: fuyunnan * author: fuyunnan
......
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