Untitled-1.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "billId": 1,
  3. "number": "BC01-2025-04-0001",
  4. "type": "production",
  5. "type_code": "BC01",
  6. "date": "2025-04-27 17:51:08",
  7. "business_type": "B01",
  8. "department ": "D01",
  9. "warehouse": "W01",
  10. "creater": "洪敏",
  11. "note": "生产入库备注",
  12. "totalCount": 2,
  13. "materials": [
  14. {
  15. "entryIds": 71,
  16. "production_batch": "QBF03-20250401",
  17. "order": 20250401,
  18. "goods_code": "B000345",
  19. "goods_name": "二水槲皮素颗粒(QBF03)",
  20. "goods_std": "标三",
  21. "goods_weight": 10,
  22. "plan_qty": 10,
  23. "goods_total_weight": 100,
  24. "goods_unit": "kg/袋",
  25. "note" :""
  26. },
  27. {
  28. "entryIds": 72,
  29. "production_batch": "QBF03-20250402",
  30. "order": 20250402,
  31. "goods_code": "B000345",
  32. "goods_name": "二水槲皮素颗粒(QBF03)",
  33. "goods_std": "标三",
  34. "goods_weight": 10,
  35. "plan_qty": 10,
  36. "goods_total_weight": 100,
  37. "goods_unit": "kg/袋",
  38. "note" :""
  39. }
  40. ]
  41. }
  42. {
  43. "billId": 2,
  44. "number": "BC01-2025-04-0002",
  45. "type": "Shipping_out",
  46. "type_code": "BC01",
  47. "date": "2025-04-27 17:51:08",
  48. "business_type": "B01",
  49. "department ": "D01",
  50. "warehouse": "W01",
  51. "creater": "洪敏",
  52. "note": "出库备注",
  53. "totalCount": 2,
  54. "materials": [
  55. {
  56. "entryIds": 52,
  57. "goods_code": "B000345",
  58. "goods_name": "二水槲皮素颗粒(QBF03)",
  59. "production_batch": "QBF03-20250401",
  60. "goods_out_qty": 5,
  61. "goods_unit": "kg/袋",
  62. "note": ""
  63. },
  64. {
  65. "entryIds": 53,
  66. "goods_code": "B000345",
  67. "goods_name": "二水槲皮素颗粒(QBF03)",
  68. "production_batch": "QBF03-20250402",
  69. "goods_out_qty": 5,
  70. "goods_unit": "kg/袋",
  71. "note": ""
  72. }
  73. ]
  74. }
  75. {
  76. "status": false,
  77. "errorCode": "null",
  78. "message": "et id",
  79. "data": {
  80. "failCount": 1,
  81. "totalCount":2,
  82. "successCount": 1,
  83. "fail_materials": [
  84. {
  85. "entryIds": 72,
  86. "production_batch": "QBF03-20250402",
  87. "order": 20250402,
  88. "goods_code": "B000345",
  89. "goods_name": "二水槲皮素颗粒(QBF03)",
  90. "goods_std": "标三",
  91. "goods_weight": 10,
  92. "plan_qty": 10,
  93. "goods_total_weight": 100,
  94. "goods_unit": "kg/袋",
  95. "note" :""
  96. }
  97. ]
  98. }
  99. }
  100. {
  101. "production_batch": "QBF03-20250401",
  102. "status": "passing",
  103. "note": "合格"
  104. }
  105. {
  106. "billnos" :1,
  107. "billId":1,
  108. "totalCount": 1,
  109. "materials":[
  110. {
  111. "entryIds": 71,
  112. "status": "passing"
  113. },
  114. ]
  115. }
  116. {
  117. "totalCount": 2,
  118. "materials": [
  119. {
  120. "id": 191,
  121. "product_name": "漆黄素",
  122. "product_code": "FAF01",
  123. "product_std": "F-STP",
  124. "product_unit":"kg/袋",
  125. },
  126. {
  127. "id": 190,
  128. "product_name": "圣草次苷",
  129. "product_code": "LCF01",
  130. "product_std": "F-STP",
  131. "product_unit":"kg/袋",
  132. }
  133. ]
  134. }