查询订单列表

  • 接口描述 分页查询订单列表

  • API

/api/open/order/purchase-order/list
  • 参数格式
POST application/x-www-form-urlencoded
  • 入参
参数名称 类型 是否必填 描述
token string yes 授权时获取的 access token
current Integer yes 当前页
size Integer yes 每页大小
since List yes 时间区间,[0]: 开始时间,[1]: 结束时间 时间格式: yyyy-MM-dd HH:mm:ss
  • 出参
参数名称 类型 描述
id Long id主键
orderCode String 订单编号
orderStatus String 订单状态
stockType String 备货类型
stockTypeName String 备货类型
salesUserId Long 业务员 员工ID
salesUserName String 业务员
quantity Integer 采购数量
orderAmount BigDecimal 采购金额
preSalesAmount BigDecimal 预销售金额
inventoryAmount BigDecimal 库存金额
purchaseAmount BigDecimal 采购总价
salesChannel String 销售渠道
salesCycle Integer 销售周期
supplierId Long 供应商id
supplierCode String 供应商编号
supplierName String 供应商名称
selfSupport String 商家类型
inboundId Long 入库仓库id
availableQuantity Integer 可用库存量
salesNum Integer 销售数量
batchNo String 批次号
inboundCode String 入库单编号
inboundTime LocalDateTime 入库时间
inboundWarehouseId Long 入库仓库id
inboundWarehouseCode String 入库仓库编码
inboundWarehouseName String 入库仓库名称
inboundWarehouseType String 入库仓库类型
inboundWarehouseSupplierId Long 入库仓库关联的供应商
finishTime LocalDateTime 完成时间
caption String 采购说明
instanceId String 流程id
salesChannelName String 销售渠道名称
orderStatusName String 订单状态名称
createBy Long 申请人id
createByName String 申请人姓名
createTime LocalDateTime 申请时间/备货时间
taskId String 工作流任务id
comment String 审批意见
isAgree Boolean 是否同意 true:同意 false:拒绝
auditTime LocalDateTime 最新审批时间
currentTime LocalDateTime 当前系统时间
skuName String 备货商品
inboundOrderStatus String 入库状态
inboundOrderStatusName String 订单状态
roleCodes List<String> 当前登录人拥有角色编码集合
rejectNode String 驳回节点key
rejectNodeName String 驳回节点名称
paidAmount String 付款金额
paidState Integer 付款状态 0:未付款 1:已付款
payRatio String 支付比例
returnFlag Integer 是否可以退货:1-可以;0-不可以
editFlag Integer 编辑按钮权限:1-显示;0-不显示
nodeName String 节点名称
scanState Integer 扫描状态,0-需要扫描,1-不需要扫描
unsalableTime LocalDateTime 滞销时间
buyerUserName String 采购员名称
approveLine Integer 审批流程线:50w(1);50-100(2);>100(3);全流程(4)
remark String 付款的备注
billPaidAmount BigDecimal 应付单的已付金额
billUnPaidAmount BigDecimal 采购单的剩余金额
billUnReceiverAmount BigDecimal 采购单的在途金额
returnQuantity Integer 退货数量
returnAmount BigDecimal 退货金额
uploadCertFlag Integer 上传凭证表示,0未上传,1已上传
billFileFlag String 生成应付单是否校验附件,Y-是,N-否
  • 出参示例
{
  "success": true,
  "code": 200,
  "message": "操作成功",
  "data": {
    "records": [
      {
      }
    ],
    "total": 1101201,
    "current": 1,
    "size": 1
  },
  "stackTrace": null
}
Copyright © cmdjh 2023 all right reserved,powered by Gitbook该文章修订时间: 2023-11-22

results matching ""

    No results matching ""