/** * 现货合同请求 */ export interface Ermcp3ContractReq { querytype: number // 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 usertype?: number // 用户类型 2-机构 7-企业成员 contractid?: string // 合同ID(SpotContractId) contracttype?: number // 合同类型 1-采购, -1-销售 } /** * 现货合同返回 */ export interface Ermcp3ContractRsp { accountid: string;//期货账户id amount: number;//金额 [1:一口价、3:暂定价] attachment: string;//附件 auditremark: string;//审核意见 audittime: string;//审核时间 biztype: number;//业务类型 1-套保 2-套利 brandname: string;//品牌名称 buynickname: string;//销售方昵称 buyuserid: number;//采购方ID buyusername: string;//采购方名称 contracctstatus: number;//合同状态 - number; //:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回 contractmargin: number;//合同保证金 contractno: string;//现货合同编号 contracttype: number;//现货合同类型 - 1:采购 -1:销售 convertfactor: number;//标仓系数(品类) createtime: string;//创建时间 currencyid: number;//币种id currencyname: string;//币种名称 deliveryenddate: string;//交收期(结束) deliverygoodscode: string;//现货品种代码 deliverygoodsid: number;//现货品种ID deliverygoodsname: string;//现货品种名称 deliverystartdate: string;//交收期(开始) enddate: string;//点价结束日期 [2:点价 3:暂定价] enumdicname: string;//单位名称 goodscode: string;//点价合约代码 goodsid: number;//点价合约ID - number; //:为现货,其它为期货商品合约ID [2:点价 3:暂定价] goodsname: string;//点价商品名称 margin: number;//当前保证金 meruserid: number;//跟单员id meruserlogincode: string;//跟单员登录代码 price: number;//价格\暂定价 [1:一口价、3:暂定价] pricemove: number;//升贴水 [2:点价 3:暂定价] pricetype: number;//定价类型 - 1:一口价 2:点价 3:暂定价 producttype: number;//产品类型 - 1:标准仓单 2:等标 3:非标 qty: number;//数量 remark: string;//备注 saleuserid: number;//业务员id saleuserlogincode: string;//业务员登录代码 sellnickname: string;//采购方昵称 selluserid: number;//销售方ID sellusername: string;//销售方名称 spotcontractid: string;//现货合同ID(6number; //2+Unix秒时间戳(1number; //位)+xxxxxx) spotgoodsbrandid: number;//现货品牌ID(DGFactoryItem表的ID) spotgoodsdesc: string;//商品型号 startdate: string;//点价开始日期 [2:点价 3:暂定价] tradeuserid: number;//交易员id tradeuserlogincode: string;//交易员登录代码 tradeusername: string;//交易员名称 unitid: number;//单位id(取品类上的单位id) updatetime: string;//更新时间 userid: number;//所属机构ID wrstandardcode: string;//品类代码 wrstandardid: number;//品类ID wrstandardname: string;//品类名称 subjectname: string;//交易主体名称 } /** * 查询变更记录 请求 */ export interface QueryChangeLogReq { RelatedId: string } /** * 查询变更记录 返回 */ export interface ErmcpOPLogModel { aftervalue: number;//变更后 applyid: string;//操作人ID applyname: string;//操作人名称 beforevalue: number;//变更前 biztype: number;//业务类型 - 1:套保计划 2:现货合同 contracttype: number;//现货合同类型 - 1:采购 -1:销售 logvalue: number;//数值 operatelogtype: number;//操作流水类型 operatelogtypedesc: string;//操作流水类型名称 relatedid: string;//现货合同ID\套保计划 updatetime: string;//更新时间 }