Loading src/Service/Interfaces/PurchaseNew/AbnormalServiceInterface.php 0 → 100644 +19 −0 Original line number Diff line number Diff line <?php namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew; interface AbnormalServiceInterface { /** * 到仓异常数据添加 * @param $scanNo * @return mixed */ public function createWarehoused($params): string; } No newline at end of file src/Service/Interfaces/PurchaseNew/SupplierServiceInterface.php 0 → 100644 +23 −0 Original line number Diff line number Diff line <?php namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew; interface SupplierServiceInterface { /** * 供应商列表数据 * @param array 供应商id数组 * @param $params['company_name'] 公司名称 * @return */ public function list(array $params): string; } No newline at end of file src/Service/Interfaces/Store/StorePurchaseServiceInterface.php +12 −15 Original line number Diff line number Diff line Loading @@ -10,24 +10,21 @@ namespace Meibuyu\Rpc\Service\Interfaces\Store; interface StorePurchaseServiceInterface { /** * 创建对应的退货单, $params 数组结构如下: * 继续入库 * [ 'source_type' => '', //来源类型,默认为采购 'source_no' => '', //来源单号,比如来源是采购就是采购单号 'batch_no' => '', //对应的批次号 'sku' => '', //sku 'purchased_cnt' => 0, //购买量 'returns_cnt' => 0, //退货数量 ]; * 'purchase_no' => '', //采购单号(必填) * 'batch_no' => '', //批次号(必填) * 'extra' => [], //后续扩展使用可以,非必填 * ] * @param array $params * @return array * [ 'msg' => '退货成功', 'code'=> 200, //响应码 'data' => ['id' => 退货 ID] //返回的数据,id 为对应的退货 ID 'data' => [] //返回的数据 ]; * @throws */ public function createReturns(array $params): array; public function continueWarehousing(array $params): array; } Loading
src/Service/Interfaces/PurchaseNew/AbnormalServiceInterface.php 0 → 100644 +19 −0 Original line number Diff line number Diff line <?php namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew; interface AbnormalServiceInterface { /** * 到仓异常数据添加 * @param $scanNo * @return mixed */ public function createWarehoused($params): string; } No newline at end of file
src/Service/Interfaces/PurchaseNew/SupplierServiceInterface.php 0 → 100644 +23 −0 Original line number Diff line number Diff line <?php namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew; interface SupplierServiceInterface { /** * 供应商列表数据 * @param array 供应商id数组 * @param $params['company_name'] 公司名称 * @return */ public function list(array $params): string; } No newline at end of file
src/Service/Interfaces/Store/StorePurchaseServiceInterface.php +12 −15 Original line number Diff line number Diff line Loading @@ -10,24 +10,21 @@ namespace Meibuyu\Rpc\Service\Interfaces\Store; interface StorePurchaseServiceInterface { /** * 创建对应的退货单, $params 数组结构如下: * 继续入库 * [ 'source_type' => '', //来源类型,默认为采购 'source_no' => '', //来源单号,比如来源是采购就是采购单号 'batch_no' => '', //对应的批次号 'sku' => '', //sku 'purchased_cnt' => 0, //购买量 'returns_cnt' => 0, //退货数量 ]; * 'purchase_no' => '', //采购单号(必填) * 'batch_no' => '', //批次号(必填) * 'extra' => [], //后续扩展使用可以,非必填 * ] * @param array $params * @return array * [ 'msg' => '退货成功', 'code'=> 200, //响应码 'data' => ['id' => 退货 ID] //返回的数据,id 为对应的退货 ID 'data' => [] //返回的数据 ]; * @throws */ public function createReturns(array $params): array; public function continueWarehousing(array $params): array; }