贸易合同详情⭐
简要描述:
- 贸易合同详情
服务名:
Trade/Trade_TradeDetails?Id=11
请求方式:
- GET
Content-Type:
application/json; charset=utf-8
请求参数:
参数名 | 类型 | 说明 | 必填项 |
---|---|---|---|
└ id | int | id | Y |
返回示例
{
"data": {
"id": 11.0,
"tradeCode": "CGDD0000009",
"code": "198",
"contractType": 1,
"idOperator": 441.0,
"operator": "蒋筑义",
"operatorCode": "0025_100.01.16_100104",
"oppositeSalesman": "324",
"idPurchase": 3.0,
"idSeller": null,
"purchaseName": "贵州瑞通利源工贸有限公司",
"sellerName": null,
"purchaseCode": "100.04",
"sellerCode": null,
"startTime": "/Date(1640534400000+0800)/",
"endTime": "/Date(1641398400000+0800)/",
"idSupplier": 1010.0,
"idCustomer": null,
"supplierName": "贵州瑞通利源工贸有限公司",
"customerName": null,
"supplierCode": "01.0004",
"customerCode": null,
"idUnit": 555.0,
"unit": "吨",
"unitCode": "dun",
"idSettle": 601.0,
"settlement": "出厂磅单",
"settlementCode": "C",
"idStock": null,
"stock": null,
"stockCode": null,
"idFreight": null,
"freightCode": null,
"idCurrency": null,
"currency": null,
"currencyCode": null,
"idDepart": null,
"department": null,
"departmentCode": null,
"remark": "测试附件上传",
"idCreate": 250.0,
"createName": "李明波",
"createTime": "/Date(1639126207487+0800)/",
"ps": false,
"idCompany": 2.0,
"companyName": "湖南贵航商贸有限公司",
"companyCode": "100.03",
"processId": null,
"status": 0,
"processUrl": null,
"approvalTime": null,
"IdPayMethod": null⭐,
"PayMethod": ""⭐,
"SecondTicket": ""⭐,
"tradePayplans": [
{
"id": 10.0,
"idTrade": 11.0,
"tradeCode": "CGDD0000009",
"order": 1,
"payTime": null,
"payProportion": null,
"receiveMoney": null,
"payRemark": null,
"isBefore": false
}
],
"tradeDetails": [
{
"id": 7.0,
"idTrade": 11.0,
"tradeCode": "CGDD0000009",
"idMedium": 197.0,
"mediumName": "105%硫酸(发烟硫酸)",
"mediumCode": "01.01.003",
"tonnage": 3.000000,
"price": 3.000000,
"idTaxRate": 538.0,
"taxRate": "13%增值税",
"taxRateNum": 13.000000,
"taxRateCode": "SL02_SYS",
"detailRemark": "3",
"isTaxRate": false,
"ExecuteTime": "/Date(1639126207487+0800)/"✔
}
],
"files": [
{
"fileName": "1.doc",
"fileAddress": "http://47.108.64.255:12797/file/Resources/files/DingDing/File/20211210/d2aaa944-ff9e-4070-82aa-f9ec18b6dd64.doc",
"fhumbnailAddress": null,
"reduceAddress": null,
"disuseTime": null,
"id": 1453.0
},
{
"fileName": "1.png",
"fileAddress": "http://47.108.64.255:12797/file/Resources/files/DingDing/File/20211210/ecdf8111-10f1-4f18-af37-7a72ae89f72d.png",
"fhumbnailAddress": null,
"reduceAddress": null,
"disuseTime": null,
"id": 1454.0
}
]
}
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
└ id | decimal | Id |
└ tradeCode | string | 单据编号 |
└ code | string | 纸质合同编号 |
└ contractType | int | 合同类型(1采购合同,2销售合同) |
└ idOperator | decimal | 业务员Id |
└ operator | decimal | 业务员 |
└ oppositeSalesman | string | 对方业务员 |
└ idPurchase | decimal | 采购方Id |
└ idSeller | decimal | 销售方Id |
└ purchaseName | string | 采购方 |
└ sellerName | string | 销售方 |
└ startTime | date | 开始时间 |
└ endTime | date | 结束时间 |
└ idSupplier | decimal | 供应商Id |
└ idCustomer | decimal | 客户Id |
└ supplierName | string | 供应商 |
└ customerName | string | 客户 |
└ idUnit | decimal | 计量单位Id |
└ unit | string | 计量单位 |
└ idSettle | decimal | 磅单结算方Id |
└ settlement | string | 磅单结算方 |
└ idStock | decimal | 仓库Id |
└ stock | string | 仓库 |
└ idFreight | decimal | 对应两票合同Id |
└ freightCode | string | 对应两票合同编码 |
└ idCurrency | decimal | 结算币别Id |
└ currency | string | 结算币别 |
└ idDepart | decimal | 部门Id |
└ department | string | 部门 |
└ remark | string | 单据头.备注 |
└ idCompany | decimal | 所属公司Id |
└ companyName | string | 所属公司 |
└ status | int | 审批状态(0待审批,1审批通过,2审批拒绝,3审批撤销) |
└ tradePayplans | List | 贸易付款计划 |
└ id | decimal | 付款计划Id |
└ order | int | 序号 |
└ payTime | date | 应收/付日期 |
└ payProportion | decimal | 应收/付比例 |
└ receiveMoney | decimal | 应收/付金额 |
└ payRemark | string | 收/付款计划.备注 |
└ isBefore | bool | 是否预收/付款 |
└ tradeDetails | List | 贸易单据明细 |
└ id | decimal | 明细Id |
└ idMedium | decimal | 物料Id |
└ mediumName | string | 物料 |
└ tonnage | decimal | 合同数量 |
└ price | decimal | 合同单价 |
└ idTaxRate | decimal | 税率Id |
└ taxRate | string | 税率 |
└ detailRemark | string | 单据明细.备注 |
└ isTaxRate | bool | 是否含税 |
└ ExecuteTime | date | 执行日期 |
└ files | List | 附件 |
└ fileName | string | 附件名称 |
└ fileAddress | string | 附件地址 |
└ id | decimal | 附件id |
└ IdPayMethod | decimal | 付款方式ID⭐ |
└ PayMethod | string | 付款方式⭐ |
└ SecondTicket | string | 两票合同(1:一票,2:两票)⭐ |
备注