Loading src/Service/Interfaces/StoreServiceInterface.php +21 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,27 @@ interface StoreServiceInterface /** * description:创建入库单 * author: fuyunnan * @param array $data 需要入库的数组 格式请参考yapi 入库添加 * @param array $data 需要入库的数组 格式 入库添加 * * 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][stock_up_status]:1二次质检状态 (选填) data[master][remark]:备注 (选填) data[master][status]:2 状态 (选填 不填默认1) * * 产品二维数组 data[goods][0][product_id]:16 产品id data[goods][0][should_cnt]:133 应入数量 data[goods][0][real_cnt]:10 实入数量 data[goods][1][product_id]:18 data[goods][1][should_cnt]:10 data[goods][1][real_cnt]:15 * * 或者参考yapi http://api.huaperfect.com/project/38/interface/api/1617 * * @return array * @throws * Date: 2020/7/6 Loading Loading
src/Service/Interfaces/StoreServiceInterface.php +21 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,27 @@ interface StoreServiceInterface /** * description:创建入库单 * author: fuyunnan * @param array $data 需要入库的数组 格式请参考yapi 入库添加 * @param array $data 需要入库的数组 格式 入库添加 * * 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][stock_up_status]:1二次质检状态 (选填) data[master][remark]:备注 (选填) data[master][status]:2 状态 (选填 不填默认1) * * 产品二维数组 data[goods][0][product_id]:16 产品id data[goods][0][should_cnt]:133 应入数量 data[goods][0][real_cnt]:10 实入数量 data[goods][1][product_id]:18 data[goods][1][should_cnt]:10 data[goods][1][real_cnt]:15 * * 或者参考yapi http://api.huaperfect.com/project/38/interface/api/1617 * * @return array * @throws * Date: 2020/7/6 Loading