| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- /**
- * 查询现货商品
- */
- export interface ErmcpDeliveryGoodsReq {
- excludecfg?: number; // 排除已配置的现货商品 1-排除
- }
- /**
- * 现货商品返回
- */
- export interface ErmcpDeliveryGoodsRsp {
- agreeunit: number;//合约单位[散货时默认为1, 整装时默认为标准数量]
- areauserid: number;//所属机构
- auditflag: number;//交割是否需要审核 - number;
- //:不需要 1:需要审核 默认为number;//
- categoryid: number;//类别ID(SEQ_WRCATEGORY)
- deliverygoodscode: string;//现货品种代码
- deliverygoodsid: number;//现货品种ID(SEQ_DELIVERYGOODS)
- deliverygoodsname: string;//现货品种名称
- deliverygoodstype: number;//现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细
- dgstatus: number;//品种状态 - 作废 - number;
- //:未激活 1:正常
- enumdicname: string;//现货品种单位名称
- goodsunitid: number;//现货品种单位ID
- isvalid: number;//是否有效 - number;
- //:无效 1:有效
- qtydecimalplace: number;//成交量小数位
- remark: string;//备注
- standardqty: number;//标准数量(库位数量) [标准品特有]
- standardqtyrange: number;//标准数量偏差范围 [标准品特有]
- }
- /**
- * 现货商品品类
- */
- export interface Ermcp3Wrstandard {
- areauserid: number;//所属机构
- convertfactor: number;//标仓系数
- createtime: string;//创建时间
- creatorid: number;//创建人
- deliverygoodsid: number;//现货品种ID
- enumdicname: string;//品类单位名称
- isvalid: number;//是否有效 number;
- //-无效(停用) 1-有效(正常)
- minivalue: number;//最小变动值
- minivaluedp: number;//最小变动值小数位
- realminivalue: number;//实际最小变动值
- realminivaluedp: number;//实际最小变动值小数位
- remark: string;//备注
- unitid: number;//品类单位ID
- updatetime: string;//更新时间
- wrstandardcode: string;//品类代码
- wrstandardid: number;//品类ID(SEQ_WRSTANDARD)
- wrstandardname: string;//品类名称
- }
- /**
- * 现货商品品牌
- */
- export interface Ermcp3Brand {
- areauserid: number;//用户id
- brandid: number;//品牌id
- brandname: string;//品牌名称
- deliverygoodsid: number;//品种ID
- }
- /**
- * 查询新货商品详情
- */
- export interface ErmcpDeliveryGoodsDetailEx {
- data: ErmcpDeliveryGoods; // 现货商品信息
- gblist: Ermcp3Brand[]; // 品牌
- gmlist: Ermcp3Wrstandard[]; // 品类列表
- mgList: Ermcp3MiddleGoodsDetail2[]; // 套保列表
- }
- /**
- * 现货商品信息
- */
- export interface ErmcpDeliveryGoods {
- agreeunit: number;//合约单位[散货时默认为1, 整装时默认为标准数量]
- areauserid: number;//所属机构
- auditflag: number;//交割是否需要审核 - number;
- //:不需要 1:需要审核 默认为number;//
- categoryid: number;//类别ID(SEQ_WRCATEGORY)
- deliverygoodscode: string;//现货品种代码
- deliverygoodsid: number;//现货品种ID(SEQ_DELIVERYGOODS)
- deliverygoodsname: string;//现货品种名称
- deliverygoodstype: number;//现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细
- dgstatus: number;//品种状态 - 作废 - number;
- //:未激活 1:正常
- enumdicname: string;//现货品种单位名称
- goodsunitid: number;//现货品种单位ID
- isvalid: number;//是否有效 - number;
- //:无效 1:有效
- qtydecimalplace: number;//成交量小数位
- remark: string;//备注
- standardqty: number;//标准数量(库位数量) [标准品特有]
- standardqtyrange: number;//标准数量偏差范围 [标准品特有]
- }
- export interface Ermcp3MiddleGoodsDetail2 {
- convertratio: number // 套保系数(折算系数)
- gplist: Ermcp3GoodsGroupEx[] // 关联商品组列表
- mg: ErmcpMiddleGoodsModel // 套保品种
- }
- /**
- * 套保品种
- */
- export interface ErmcpMiddleGoodsModel {
- areauserid: number;//机构用户ID
- createtime: string;//修改时间
- enumdicname: string;//单位名称
- evaluateratio: number;//估价系数
- goodsgroupid: number;//关联期货品种ID
- goodsunitid: number;//单位ID
- isvalid: number;//状态 number;
- //-无效(停用) 1-有效(正常)
- middlegoodscode: string;//套保品种代码
- middlegoodsid: number;//套保品种ID(SEQ_ERMS_MIDDLEGOODS)
- middlegoodsname: string;//套保品种名称
- modifytime: string;//修改时间
- needhedgeratio: number;//套保比率
- qtydecimalplace: number;//数量小数位
- relatedgoodsid: number;//关联交易商品ID
- relatedgoodstype: number;//关联商品类型 - 1:期货合约 2:现货品种
- remark: string;//备注
- }
- /**
- * 期货商品信息
- */
- export interface Ermcp3Goods {
- agreeunit: number;//合约单位(合约乘数)
- enumdicname: string;//单位名称
- exexchangecode: string;//交易所代码
- goodscode: string;//期货商品代码
- goodsid: number;//期货商品id
- goodsname: string;//期货商品名称
- }
- /**
- * 商品组信息
- */
- export interface Ermcp3GoodsGroupEx {
- convertratio: number;//折算系数(品种系数)
- enumdicname: string;//单位名称
- exexchangecode: string;//交易所代码
- glist: Ermcp3Goods[]
- goodsgroupid: number;//商品组id
- goodsgroupname: string;//商品组名称
- goodsunitid: number;//单位id
- middlegoodsid: number;//套保商品id
- }
- /**
- * 期货商品组
- */
- export interface Ermcp3GoodsGroup {
- agreeunit: number;//合约单位
- areauserid: number;//所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
- canshort: number;//是否允许做空[通道交易] - number;
- //:不能做空 1:可以做空
- closepricemode: number;//强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
- createtime: string;//创建时间
- creatorid: number;//创建人
- currencyid: number;//报价货币ID
- decimalplace: number;//报价小数位
- enumdicname: string;//单位名称
- excludecfg: number;//排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
- exexchangeid: number;//外部交易所ID[通道交易]
- goodsgroupid: number;//商品组ID(自增ID)
- goodsgroupname: string;//商品组名称
- goodsgroupstatus: number;//商品组状态 - 1:正常 2:注销
- goodunitid: number;//报价单位ID
- groupcategroyid: number;//品种分类ID
- innerdealmode: number;//内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
- marketid: number;//所属市场ID
- modifierid: number;//修改人
- modifytime: string;//修改时间
- outerdealmode: number;//外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
- outergroupcode: string;//外部商品组代码[通道交易]
- quoteminunit: number;//行情最小变动单位 [整数,报价小数位一起使用]
- quotesourcegroupid: number;//所属行情源分组ID[参考行情市场用\通道交易]
- syncgoodsqty: number;//同步合约数[通道交易-投资管理用] - number;
- //表示不限
- }
- /**
- * 套保品种
- */
- export interface ErmcpMiddleGoodsModel{
- areauserid :number;//机构用户ID
- createtime :string;//修改时间
- enumdicname :string;//单位名称
- evaluateratio :number;//估价系数
- goodsgroupid :number;//关联期货品种ID
- goodsunitid :number;//单位ID
- isvalid :number;//状态 number;
- //-无效(停用) 1-有效(正常)
- middlegoodscode :string;//套保品种代码
- middlegoodsid :number;//套保品种ID(SEQ_ERMS_MIDDLEGOODS)
- middlegoodsname :string;//套保品种名称
- modifytime :string;//修改时间
- needhedgeratio :number;//套保比率
- qtydecimalplace :number;//数量小数位
- relatedgoodsid :number;//关联交易商品ID
- relatedgoodstype :number;//关联商品类型 - 1:期货合约 2:现货品种
- remark :string;//备注
- }
- /**
- * 查询套保品种详情
- */
- export interface Ermcp3MiddleGoodsDetailEx{
- dglist: ErmcpDeliveryGoodsDetail2[] // 关联的现货品种列表
- gplist: Ermcp3GoodsGroupEx[] // 关联商品组列表
- mg: ErmcpMiddleGoodsModel[] //
- }
- /**
- * 关联的现货品种列表
- */
- export interface ErmcpDeliveryGoodsDetail2{
- convertratio: number // 套保系数(折算系数)
- data: ErmcpDeliveryGoods[]
- gblist: Ermcp3Brand[] // 品牌列表
- gmlist: Ermcp3Wrstandard[] // 品类列表(仓单标准)
- }
- interface MenuItem {
- key: string;
- title: string;
- }
- export interface MenuList extends MenuItem {
- children?: MenuItem[]
- }
|