Commit 329b12c9 authored by fuyunnan's avatar fuyunnan

仓库提交原料的rpc

parent 20e67dc8
<?php
/**
* Created by PhpStorm. 仓库原料rpc
* User: fuyunnan
* Date: 2020/3/16
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces\Store;
interface StoreMaterialServiceInterface
{
/**
* description:创建原料入库单
*
* data[master][warehousing_date]:2020-01-08 入库时间
* data[master][creator_id]:12 创建人id
* data[master][warehouse_id]:2 仓库id
* data[master][type_id]:1 入库单类型
* data[master][source_no]:no_121333 来源单号 (选填)
* data[master][remark]:备注 (选填)
* data[master][status]:2 状态 (选填 不填默认1)
*
* 产品二维数组
* data[goods][0][material_id]:16 产品id
* data[goods][0][should_cnt]:133 应入数量
* data[goods][0][real_cnt]:10 实入数量
* data[goods][1][material_id]:18
* data[goods][1][should_cnt]:10
* data[goods][1][real_cnt]:15
*
* author: fuyunnan
* @param array $attributes 需要入库的数组 格式请参考yapi 入库添加
* @return array
* @throws
* Date: 2020/7/6
*/
public function createMaterialWarehousing(array $attributes): 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