用户登录

考勤相关

仓库相关

订单相关

【调】客户&供应商列表 [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相关

网点系统

配送小程序

药师帮

特味惠优惠券

【调】创建&草稿&编辑订单接口(SaveOrder)

公共参数

输入data参数

data参数
名称 类型 字段长度 是否必须 示例值 描述
Order string 500 1
[{"Shttype":"0","SheetID":"","Status":"0","ClientID":"","Memo":"","Sdate":"","Note":"","Operator":"","StockID":""}]
订单表,包含参数:SheetType(下单类别), SheetID(单号,可空), Status(订单状态,0草稿 1确认 2已审核 3入账),ClientID(客户代码),Memo(采购备注),Sdate(进货日期),Note(收货备注),Operator(经手人),StockID(仓库编号)
OrderDetails string 500 1
[{"id":"0","GoodsID":"","PackFlag":"0","qty":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","BatchID":"","BatchNo":"","Udate":"","Mfgdate":"","Shelf":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"","SourceID":"","ReturnQty":""},{"id":"0","GoodsID":"","PackFlag":"0","qty":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","BatchID":"","BatchNo":"","Udate":"","Mfgdate":"","Shelf":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"","SourceID":"","ReturnQty":""}]
GoodsID(商品代码),PackFlag(单位标识,0大单位,1小单位(基本单位)),qty(进货数量,当前这件商品的数量), Price(单据价格),Cost(传入单件商品成本,后台会处理),TaxRate(税率),Saleoff(折扣价),StockID(仓库编号),BatchID(批号),BatchNo(批次),Udate(有效期),Mfgdate(生产日期),Shelf(货位表),Checker(验收人,拣货人),CheckDate(验收,拣货日期),CheckOut(验收结论 ),QualityStatus(质量状况),SourceID(源单号),ReturnQty(退货数量)
OrderExtend string 500 1
扩展字段

提交实例

{"method":"SaveOrder","token":"用户token信息","data":[{"Order":"[{"Shttype":"0","SheetID":"","Status":"0","ClientID":"","Memo":"","Sdate":"","Note":"","Operator":"","StockID":""}]","OrderDetails":"[{"id":"0","GoodsID":"","PackFlag":"0","qty":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","BatchID":"","BatchNo":"","Udate":"","Mfgdate":"","Shelf":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"","SourceID":"","ReturnQty":""},{"id":"0","GoodsID":"","PackFlag":"0","qty":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","BatchID":"","BatchNo":"","Udate":"","Mfgdate":"","Shelf":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"","SourceID":"","ReturnQty":""}] ","OrderExtend":""}]}

返回结果

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

返回实例

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