interface.ts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /**
  2. * 现货合同请求
  3. */
  4. export interface Ermcp3ContractReq {
  5. querytype: number // 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  6. usertype?: number // 用户类型 2-机构 7-企业成员
  7. contractid?: string // 合同ID(SpotContractId)
  8. contracttype?: number // 合同类型 1-采购, -1-销售
  9. }
  10. /**
  11. * 现货合同返回
  12. */
  13. export interface Ermcp3ContractRsp {
  14. accountid: string;//期货账户id
  15. amount: number;//金额 [1:一口价、3:暂定价]
  16. attachment: string;//附件
  17. auditremark: string;//审核意见
  18. audittime: string;//审核时间
  19. biztype: number;//业务类型 1-套保 2-套利
  20. brandname: string;//品牌名称
  21. buynickname: string;//销售方昵称
  22. buyuserid: number;//采购方ID
  23. buyusername: string;//采购方名称
  24. contracctstatus: number;//合同状态 - number;
  25. //:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26. contractmargin: number;//合同保证金
  27. contractno: string;//现货合同编号
  28. contracttype: number;//现货合同类型 - 1:采购 -1:销售
  29. convertfactor: number;//标仓系数(品类)
  30. createtime: string;//创建时间
  31. currencyid: number;//币种id
  32. currencyname: string;//币种名称
  33. deliveryenddate: string;//交收期(结束)
  34. deliverygoodscode: string;//现货品种代码
  35. deliverygoodsid: number;//现货品种ID
  36. deliverygoodsname: string;//现货品种名称
  37. deliverystartdate: string;//交收期(开始)
  38. enddate: string;//点价结束日期 [2:点价 3:暂定价]
  39. enumdicname: string;//单位名称
  40. goodscode: string;//点价合约代码
  41. goodsid: number;//点价合约ID - number;
  42. //:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  43. goodsname: string;//点价商品名称
  44. margin: number;//当前保证金
  45. meruserid: number;//跟单员id
  46. meruserlogincode: string;//跟单员登录代码
  47. price: number;//价格\暂定价 [1:一口价、3:暂定价]
  48. pricemove: number;//升贴水 [2:点价 3:暂定价]
  49. pricetype: number;//定价类型 - 1:一口价 2:点价 3:暂定价
  50. producttype: number;//产品类型 - 1:标准仓单 2:等标 3:非标
  51. qty: number;//数量
  52. remark: string;//备注
  53. saleuserid: number;//业务员id
  54. saleuserlogincode: string;//业务员登录代码
  55. sellnickname: string;//采购方昵称
  56. selluserid: number;//销售方ID
  57. sellusername: string;//销售方名称
  58. spotcontractid: string;//现货合同ID(6number;
  59. //2+Unix秒时间戳(1number;
  60. //位)+xxxxxx)
  61. spotgoodsbrandid: number;//现货品牌ID(DGFactoryItem表的ID)
  62. spotgoodsdesc: string;//商品型号
  63. startdate: string;//点价开始日期 [2:点价 3:暂定价]
  64. tradeuserid: number;//交易员id
  65. tradeuserlogincode: string;//交易员登录代码
  66. tradeusername: string;//交易员名称
  67. unitid: number;//单位id(取品类上的单位id)
  68. updatetime: string;//更新时间
  69. userid: number;//所属机构ID
  70. wrstandardcode: string;//品类代码
  71. wrstandardid: number;//品类ID
  72. wrstandardname: string;//品类名称
  73. subjectname: string;//交易主体名称
  74. }
  75. /**
  76. * 查询变更记录 请求
  77. */
  78. export interface QueryChangeLogReq {
  79. RelatedId: string
  80. }
  81. /**
  82. * 查询变更记录 返回
  83. */
  84. export interface ErmcpOPLogModel {
  85. aftervalue: number;//变更后
  86. applyid: string;//操作人ID
  87. applyname: string;//操作人名称
  88. beforevalue: number;//变更前
  89. biztype: number;//业务类型 - 1:套保计划 2:现货合同
  90. contracttype: number;//现货合同类型 - 1:采购 -1:销售
  91. logvalue: number;//数值
  92. operatelogtype: number;//操作流水类型
  93. operatelogtypedesc: string;//操作流水类型名称
  94. relatedid: string;//现货合同ID\套保计划
  95. updatetime: string;//更新时间
  96. }