{
"baseId": "12", // 基地 ID
"companyId": "15", // 公司 ID
"createBy": "admin", // 添加人
"createTime": "2025-03-11 16:30:16", // 添加时间
"delFlag": 0, // 是否删除,0 表示否
"id": "3", // 记录 ID
"incomingCode": "RK-202503000000003", // 入库编码
"incomingDate": "2025-03-11 15:11:10", // 入库日期
"incomingPerson": "王亚军", // 入库人
"incomingPersonId": "02200020", // 入库人 ID
"incomingQuantity": 20, // 入库数量
"incomingStatus": 1, // 入库审核状态,1 表示待审核
"materialSource": 1, // 物料来源,1 表示集采中心
"sparePartBrandId": "120", // 备件品牌 ID
"sparePartBrandName": "德州德隆", // 备件品牌名称
"sparePartCode": "BJ001", // 备件编码
"sparePartDescription": "描述", // 备件描述
"sparePartModel": "0410101", // 备件规格型号
"sparePartName": "备件名称", // 备件名称
"sparePartParentTypeId": "120", // 备件父级分类 ID
"sparePartParentTypeName": "", // 备件父级分类名称
"sparePartTypeId": "14", // 备件分类 ID
"sparePartTypeName": "卧式车床", // 备件分类名称
"supplier": "广西供应商", // 供应商
"unit": "元", // 单位
"unitPrice": 0.00, // 单价
"updateBy": "", // 修改人
"updateTime": "2025-03-11 16:30:18" // 修改时间
}curl --location --request PUT '/api/v1/stock/incoming/edit' \
--header 'Token: {{TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
"baseId": "12", // 基地 ID
"companyId": "15", // 公司 ID
"createBy": "admin", // 添加人
"createTime": "2025-03-11 16:30:16", // 添加时间
"delFlag": 0, // 是否删除,0 表示否
"id": "3", // 记录 ID
"incomingCode": "RK-202503000000003", // 入库编码
"incomingDate": "2025-03-11 15:11:10", // 入库日期
"incomingPerson": "王亚军", // 入库人
"incomingPersonId": "02200020", // 入库人 ID
"incomingQuantity": 20, // 入库数量
"incomingStatus": 1, // 入库审核状态,1 表示待审核
"materialSource": 1, // 物料来源,1 表示集采中心
"sparePartBrandId": "120", // 备件品牌 ID
"sparePartBrandName": "德州德隆", // 备件品牌名称
"sparePartCode": "BJ001", // 备件编码
"sparePartDescription": "描述", // 备件描述
"sparePartModel": "0410101", // 备件规格型号
"sparePartName": "备件名称", // 备件名称
"sparePartParentTypeId": "120", // 备件父级分类 ID
"sparePartParentTypeName": "", // 备件父级分类名称
"sparePartTypeId": "14", // 备件分类 ID
"sparePartTypeName": "卧式车床", // 备件分类名称
"supplier": "广西供应商", // 供应商
"unit": "元", // 单位
"unitPrice": 0.00, // 单价
"updateBy": "", // 修改人
"updateTime": "2025-03-11 16:30:18" // 修改时间
}'{
"baseId": 0,
"companyId": 0,
"companyName": "string",
"incomingCode": "string",
"incomingDate": "string",
"incomingPerson": "string",
"incomingPersonId": "string",
"incomingQuantity": "string",
"materialSource": "string",
"sparePartBrand": "string",
"sparePartCode": "string",
"sparePartDescription": "string",
"sparePartName": "string",
"sparePartParentType": "string",
"sparePartType": "string",
"specificationModel": "string",
"supplier": "string",
"unit": "string",
"unitPrice": "string"
}