用户登录

考勤相关

仓库相关

订单相关

【调】客户&供应商列表 [GetClientOrSupplier]
【调】创建&草稿&编辑订单 [SaveOrder]
【调】获取单据列表 [GetOrderList]
【调】获取订单详情 [GetOrderDetails]
【调】库存上下架列表 [GetShelfMoveList]
【调】上下架确认 [ShelfMoveConfirm]
【调】进出库验收&复核 [INOCheck]
【调】进出库确认 [INOCheckConfirm]
【调】出入库详情 [GetINOCheckDetails]
【调】获取出入库订单详情 [GetCROrderDetails]
【调】紧急采购商品列表 [GetUrgencyOrderList]
【调】提交紧急采购订单(未完成) [SaveUrgencyOrder]
紧急采购详情(未完成) [GetUrgOrderDetails]
【完】保存修改订单状态 [SaveOrderStatus]
取货方式 [GetFetchType]
销售单生成紧急采购单 [GoUrgencyBuy]
订单确认 [OrderConfirm]
显示客户 [ShowBsClient]
客户议价 [SaveOfferNewPrice]
客户获取报价单 [Shop_GetUserOfferList]
获取出入库单据列表 [GetOutAndInShtList]
新增保存出入库单 [SaveOutAndInSht]
出库入单明细 [GetOutAndInDetails]
选择出入库类型 [SelectSheetType]
出入库选择商品信息2 [OutAndInSelectGoods2]
加载商品组件信息 [GetGoodsBomList]
组件销售出入库 [SaleBomOutAndIn]
采购退货选择商品 [PurchaseReturnSelectGoods]
新增保存采购退货单 [SavePurchaseReturn]
获取微信支付二维码 [CreatePayQRCode ]
支付结果查询 [OrderPayResult]
缺货叫货选择商品 [ShortStock_Select]
缺货叫货生成进货单 [SaveShortStockOrder]
缺货叫货选择供应商 [ShortStock_SupplyList]
获取个人用户&积分 [GetPersonal]
获取价格调整商品列表 [GetBsGoods_LastCost]
忽略调整进货价 [OmitBsGoods_LastCost]
扫码支付 [MicroPay]
获取收款确认单列表 [GetSaleOrder_PayConfirm]
销售单收款确认修改保存 [SaleOrderPay_Modify_Save]
获取支付方式 [SelectPayType]
APP支付 [Shop_CreatePayQRCodeForApp]
个人或酒店取消订单 [CloseOrder]
销售开单铺面自取时自捡商品时生成单据 [SaveOrderIsShelfPick]
发布调配 [SaveRequestMove]
获取调配单列表 [GetRequestMove]
供应商交易账单 [Shop_GetSupplyAccountList]
支付宝当面付扫码 [AliMicroPay]
UniAPP支付宝支付接口 [CreateAliPayInfo]
UniAPP支付宝支付结果查询 [AliPayResultQuery]
获取供应商报价名单列表 [Shop_OfferBsSupplyList]
订单列表(药订货小程序) [Shop_SearchOrder]
保存零售订单(拣货后一键跳过) [SaveOrderRetail_Next]
销售开单再来一单 [CopySaleOrder]
销售退货:立刻退货 [SaveSaleReturnNow]

库存相关

后台相关

配送相关

商城相关

基础资料

报表相关

客户注册系统

系统配置

PDA相关

查询系统

His相关

网点系统

配送小程序

药师帮

特味惠优惠券

新增保存采购退货单接口(SavePurchaseReturn)

公共参数

输入data参数

data参数
名称 类型 字段长度 是否必须 示例值 描述
OrderMain string 0 1
[{"SheetID":"","SheetType":"-1","DirectFlag":"","SheetFlag":"","LogisticsStatus":"","Status":"","LoginName":"","Operator":"","Memo":"","Note":"","Note1":"","Note2":"","ClientID":""}]
采购退货表头对象-包含参数 SheetType(下单类别),SheetID(单号,可空),DirectFlag(订单类别),SheetFlag(订单标识),LogisticsStatus(),Status(订单状态),LoginName(开单人),Operator(经手人),Memo(备注),Note(摘要),Note1(摘要1),Note2(摘要2),ClientID(供应商ID)
OrderDetails string 0 1
[{"ID":"","SheetID":"","SheetItemID":"","SheetType":"","DirectFlag":"","GoodsID":"","Qty":"","PackQty":"","ModeratePackRate":"","MostPackRate":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","StockID":"","BatchID":"","BatchNo":"", "Udate":"","Mfgdate":"","Shelf":"","Color":"","SourceID":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"", "RejectQty":"","RejectNote":"","ReturnQty":"","NeedQty":"","FastFlag":"","FastBuyer":"","FastBuyDate":"","SupplyItemID":"","SupplyID":""}]
单据明细对象包含参数 ID(主键id,可空),SheetID(单据ID),SheetItemID(原单序号,可空),,SheetType(下单类别),DirectFlag(订单类别), GoodsID(商品代码),Qty(数量),PackQty(包装数量),ModeratePackRate(中包装比例),MostPackRate(大包装比例), --Price(单据价格),Cost(成本价格),TaxRate(税率),Saleoff(折扣价),StockID(仓库编号),BatchID(批号),BatchNo(批次), --Udate(有效期),Mfgdate(生产日期),Shelf(货位号),Color(颜色),SourceID(源序号),Checker(验收人,拣货人),CheckDate(验收,拣货日期),CheckOut(验收结论),QualityStatus(质量状况), --CheckQty(验收数量),ReCheckQty(复核数量),ReChecker(复核人),ReCheckDate(复核日期), --RejectQty(拒收数量),RejectNote(拒收原因), ReturnQty(退货数量),NeedQty(需求数量),FastFlag(快速采购标识) --FastBuyer(快速采购人),FastBuyDate(快速采购日期),SupplyItemID(紧急采购供应商代码),SupplyID(供应商ID)

提交实例

{"method":"SavePurchaseReturn","token":"用户token信息","data":[{"OrderMain":"[{"SheetID":"","SheetType":"-1","DirectFlag":"","SheetFlag":"","LogisticsStatus":"","Status":"","LoginName":"","Operator":"","Memo":"","Note":"","Note1":"","Note2":"","ClientID":""}]","OrderDetails":"[{"ID":"","SheetID":"","SheetItemID":"","SheetType":"","DirectFlag":"","GoodsID":"","Qty":"","PackQty":"","ModeratePackRate":"","MostPackRate":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","StockID":"","BatchID":"","BatchNo":"", "Udate":"","Mfgdate":"","Shelf":"","Color":"","SourceID":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"", "RejectQty":"","RejectNote":"","ReturnQty":"","NeedQty":"","FastFlag":"","FastBuyer":"","FastBuyDate":"","SupplyItemID":"","SupplyID":""}]"}]}

返回结果

名称 描述 类型 备注 长度 约束
code 响应码 String 1:成功,0:失败   1
message 响应信息 String   1
result 返回数据 object 1
result参数
名称 描述 类型 示例 长度 约束

返回实例

{"code":"1","message":"请求成功","result":[]}