interface.ts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // 查询机构库存(库存管理/当前库存)
  2. export interface Ermcp3AreaStock{
  3. brandname :string;//品牌名称
  4. curstock :number;//期末库存量(今日量)
  5. deliverygoodscode :string;//现货品种代码
  6. deliverygoodsid :number;//现货品种id
  7. deliverygoodsname :string;//现货品种名称
  8. enumdicname :string;//单位名称
  9. goodsunitid :number;//现货商品单位id
  10. oristock :number;//期初库存量(昨日量)
  11. spotgoodsbrandid :number;//现货品牌ID
  12. todaybuyinqty :number;//今日采购入库量
  13. todayproduceinqty :number;//今日生产入库量
  14. todayproduceoutqty :number;//今日生产出库量
  15. todayselloutqty :number;//今日销售出库量
  16. unitid :number;//单位id
  17. updatetime :string;//更新时间
  18. userid :number;//机构ID
  19. username :string;//机构名称
  20. warehousecode :string;//仓库代码
  21. warehouseinfoid :string;//仓库ID
  22. warehousename :string;//仓库名称
  23. warehousetype :number;//仓库类型 - 1 厂库 2 自有库 3 合作库
  24. wrstandardcode :string;//品类代码
  25. wrstandardid :string;//品类ID
  26. wrstandardname :string;//品类名称
  27. }
  28. /**
  29. * 查询库存申请请求
  30. */
  31. export interface QueryAreaStockApplyReq{
  32. userid: number // 用户ID
  33. deliverygoodsid?: number // 现货商品ID
  34. inouttype?: string // 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  35. spotcontractid?: number // 合同ID
  36. wrstandardid?: number // 品类ID
  37. spotgoodsbrandid?: number // 品牌ID
  38. warehouseinfoid?: number // 仓库ID
  39. applystatus?: number // 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  40. }
  41. // 查询库存申请(出入库记录|库存审核)
  42. export interface Ermcp3AreaStockApply{
  43. applyid :number;//申请人
  44. applyname :string;//申请人名称
  45. applyremark :string;//申请备注
  46. applysrc :number;//申请来源 - 1:管理端 2:终端
  47. applystatus :number;//申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  48. applytime :string;//申请时间
  49. auditid :number;//审核人
  50. auditname :string;//审核人名称
  51. auditremark :string;//审核备注
  52. auditsrc :number;//审核来源 - 1:管理端 2:终端
  53. audittime :string;//审核时间
  54. audittradedate :string;//审核交易日(yyyyMMdd)
  55. brandname :string;//品牌名称
  56. buynickname :string;//采购方昵称
  57. buyuserid :number;//采购方userid
  58. buyusername :string;//采购方名称
  59. contractno :string;//合同编号
  60. contractqty :number;//合同量
  61. contracttype :number;//现货合同类型 - 1:采购 -1:销售
  62. deliverygoodscode :string;//现货品种代码
  63. deliverygoodsid :number;//现货品种id
  64. deliverygoodsname :string;//现货品种名称
  65. enumdicname :string;//现货商品单位名称
  66. inoutapplyid :string;//申请ID(6number;
  67. //7+Unix秒时间戳(1number;
  68. //位)+xxxxxx)
  69. inouttype :number;//出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  70. pricetype :number;//定价类型 - 1:一口价 2:点价 3:暂定价
  71. qty :number;//数量
  72. sellnickname :string;//销售方昵称
  73. selluserid :number;//销售方userid
  74. sellusername :string;//销售方名称
  75. spotcontractid :string;//关联现货合同ID
  76. spotgoodsbrandid :number;//现货品牌ID
  77. unitid :number;//单位id
  78. userid :number;//机构ID
  79. warehousecode :string;//仓库代码
  80. warehouseinfoid :string;//现货仓库ID
  81. warehousename :string;//仓库名称
  82. warehousetype :number;//仓库类型 - 1 厂库 2 自有库 3 合作库
  83. wrstandardcode :string;//品类代码
  84. wrstandardid :number;//品类ID
  85. wrstandardname :string;//品类名称
  86. }