事件订阅 / 商品与库存
采购单完成
采购单完成后发送事件。
| 字段 | 值 | 说明 |
|---|---|---|
eventModule | 3 | 事件模块编号 |
eventType | 351 | 具体事件编号 |
事件结构
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
id可选 | string | |
clinicId可选 | string | |
eventModule可选 | integer | |
eventType可选 | integer | |
eventName可选 | string | |
callbackCount可选 | integer | |
eventData可选 | object | |
结构示例
{
"id": "string",
"clinicId": "string",
"eventModule": 3,
"eventType": 351,
"eventName": "采购单完成",
"callbackCount": 0,
"eventData": {
"comment": {
"time": "2026-01-01T00:00:00Z",
"content": "string",
"employeeId": "string",
"employeeName": "string"
},
"id": 0,
"orderNo": "CG2024110600001",
"purchaseOrderItemList": [
{
"id": 123123,
"productId": "ffffffff000000003473c049d7ab4000",
"productShortId": "000251",
"productName": "阿莫西林胶囊",
"pieceCount": 0,
"packageCount": "盒"
}
],
"status": 0,
"supplierId": "ffffffff0000000034af4ae82d69c000",
"orderType": 0,
"supplier": "测试供应商",
"purchaseOrganName": "string",
"receiveOrganId": "ffffffff0000000034d6d4adbec04000",
"purchaseOrganId": "string",
"receiveOrganName": "abc",
"applyEmployeeId": "string",
"applyEmployeeName": "string",
"purchaseOrderDate": "2024-11-06 16:51:03",
"created": "2024-11-06 16:51:03"
}
}