interface.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. export interface GLDWRStandardEx {
  2. wrstandardid?: number // uint64 型号ID(修改时有值)
  3. wrstandardname: string // string 型号名称
  4. unitid: number | undefined// uint64 单位ID
  5. convertfactor: number// double 标仓系数(接口为3.1及以上版本时传)
  6. callback: Function;
  7. }
  8. // 现货商品品牌数据 0 29 173
  9. export interface GLDDGFactoryItemEx {
  10. dgfactoryitemid?: number // uint64 品牌ID(修改时有值)
  11. dgfactoryitemvalue: string // string 品牌名称
  12. callback: Function;
  13. }
  14. // 现货商品折算配置明细数据 0 29 127
  15. export interface WRSConvertDetailEx {
  16. middlegoodsid: number // uint64 套保品种ID(接口为3.1及以下版本时传套保品种ID,否则传期货品种ID)
  17. unitid: number // uint64 单位ID
  18. convertratio: number // double 套保系数
  19. callback: Function;
  20. }
  21. export interface FormState {
  22. deliverygoodscode?: string // string 交割商品代码(新增时有值)
  23. deliverygoodsname?: string // string 交割商品名称(新增时有值)
  24. deliverygoodsid?: number// uint64 交割商品id(修改时有值)
  25. unitid: number | undefined // uint64 单位ID (undefined 用于前端,传入服务时必须是number类型)
  26. type: number// int32 类型 1 新增 2 修改
  27. remark: string // string 备注
  28. gldwrstandards: GLDWRStandardEx[]; // GLDWRStandardEx 现货商品型号数据
  29. glddgfactoryItems: GLDDGFactoryItemEx[] // GLDDGFactoryItemEx 现货商品品牌数据
  30. wrsconvertdetails: WRSConvertDetailEx[] // WRSConvertDetailEx 现货商品折算配置明细数据
  31. }