@yzlc
2016-10-13T04:56:04.000000Z
字数 774
阅读 392
丰乐APP接口
http://192.168.6.104:16002/?_m=/api/order/add
type 枚举FHSQ 发货申请单KQFHSQ 跨区发货申请单THSQ 调货申请单KPSQ 开票申请单THSQ 退货申请单status 枚举ZC 暂存YTJ 已提交DSH 待审核YWC 已完成DXG 待修改
$data['type'] = 'FHSQ';#类型$data['u8_custom_id'] = '00001'; #客户编号$data['u8_custom_name'] = 'test-00001';#客户名称$data['u8_custom_tr_id'] = '00001'; #调入客户编号$data['u8_custom_tr_name'] = 'test-00001';#调入客户名称$data['mark']='test';#备注$data['creator_id']=1;#创建者ID$data['up_check_id']=2;#上级ID$data['check_index']=1;#所在流程,默认为1$data['order_goods']=[ #仓库货物['u8_store_id'=>'test', #仓库编号'u8_store_name'=>'test', #仓库名称'u8_goods_id'=>'test',#商品编号'u8_goods_name'=>'test',#商品名称'u8_goods_guige'=>'test',#商品规格'u8_goods_danwei'=>'test',#商品单位'u8_goods_danwei_id'=>'test',#商品单位编码'u8_store_left'=>100,#可用量'u8_goods_rate'=>,#换算率'u8_goods_price'=>'8',#单据价格]];