采购单差异对比
GET
/erp-purchase-order/:id/difference
接口描述
用于获取采购单差异对比。
请求头
参数名
类型
描述
必填
Device-Type
string
设备类型,示例:web
必填
Authorization
string
Token,示例:fafaf139-37b8-4d1e-abc3-65d9901697c5
必填
请求参数
参数名
类型
描述
必填
id
int
采购单ID,示例:1
必填
响应参数
application/json参数名
类型
描述
必填
id
int
采购合同产品ID,示例:2
必填
contract_id
int
采购合同ID,示例:2
必填
product_id
int
产品ID,示例:2
必填
product_spec_id
int
产品规格ID,示例:19
必填
quantity
int
数量,示例:50
必填
weight
string
重量,示例:540.00
必填
price
string
价格,示例:9.20
必填
amount
string
总值,示例:4968.00
必填
id
int
采购订单产品ID,示例:1
必填
order_id
int
采购单ID,示例:1
必填
contract_product_id
int
采购合同产品ID,示例:2
必填
product_id
int
产品ID,示例:2
必填
product_spec_id
int
产品规格ID,示例:19
必填
quantity
int
数量,示例:40
必填
weight
string
重量,示例:432.00
必填
price
string
价格,示例:400.00
必填
amount
string
总值,示例:86400.00
必填
product_id
int
产品ID,示例:2
必填
product_spec_id
int
产品规格ID,示例:19
必填
quantity
int
数量,示例:-10,说明:负数减、实数不变、正数增
必填
weight
string
重量,示例:-108.00,说明:负数减、实数不变、正数增
必填
price
string
价格,示例:390.80,说明:负数减、实数不变、正数增
必填
amount
string
总值,示例:81432.00,说明:负数减、实数不变、正数增
必填