automatedwarehouse.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. import request from '@/utils/request'
  2. export function saveAutomaticWarehouseSetting(data) {
  3. return request({
  4. 'url': '/AutomaticWarehouse/SaveAutomaticWarehouseSetting',
  5. 'method': 'post',
  6. 'params': data
  7. })
  8. }
  9. export function stockUnitList(data) {
  10. return request({
  11. 'url': '/AutomaticWarehouse/GetStockUnits',
  12. 'method': 'get',
  13. 'data': data
  14. })
  15. }
  16. export function warehouseList(data) {
  17. return request({
  18. 'url': '/AutomaticWarehouse/GetWarehouses',
  19. 'method': 'get',
  20. 'data': data
  21. })
  22. }
  23. export function receiveWarehouseList(data) {
  24. return request({
  25. 'url': '/AutomaticWarehouse/GetReceiveWarehouse',
  26. 'method': 'get',
  27. 'data': data
  28. })
  29. }
  30. export function InWarehousePort(data) {
  31. return request({
  32. 'url': '/AutomaticWarehouse/GetInWarehousePort',
  33. 'method': 'get',
  34. 'data': data
  35. })
  36. }
  37. //获取出口列表
  38. export function outWarehousePort(data) {
  39. return request({
  40. 'url': '/AutomaticWarehouse/GetOutWarehousePort',
  41. 'method': 'get',
  42. 'data': data
  43. })
  44. }
  45. //获取入库口列表
  46. export function getInWarehousePortList(data) {
  47. return request({
  48. 'url': '/AutomaticWarehouse/GetInWarehousePortList',
  49. 'method': 'get',
  50. 'data': data
  51. })
  52. }
  53. //获取对应板号明细信息
  54. export function getPackageInfo(data) {
  55. return request({
  56. 'url': '/AutomaticWarehouse/GetPackageInfo',
  57. 'method': 'get',
  58. 'data': data
  59. })
  60. }
  61. //准备入库接口
  62. export function readyForStorage(data) {
  63. return request({
  64. 'url': '/AutomaticWarehouse/ReadyForStorage',
  65. 'method': 'post',
  66. 'data': data
  67. })
  68. }
  69. //扫码入库接口
  70. export function scannerToStorage(data) {
  71. return request({
  72. 'url': '/AutomaticWarehouse/ScannerToStorage',
  73. 'method': 'post',
  74. 'data': data
  75. })
  76. }
  77. //排队提示接口
  78. export function queuingTips(data) {
  79. return request({
  80. 'url': '/AutomaticWarehouse/QueuingTips',
  81. 'method': 'get',
  82. 'data': data
  83. })
  84. }
  85. //接收出库,获取所在单据出库信息
  86. export function getOutWarehouseInfo(data) {
  87. return request({
  88. 'url': '/AutomaticWarehouse/GetOutWarehouseInfo',
  89. 'method': 'get',
  90. 'data': data
  91. })
  92. }
  93. //更改指令状态接口
  94. export function updateCommandState(data) {
  95. return request({
  96. 'url': '/AutomaticWarehouse/UpdateCommandState',
  97. 'method': 'post',
  98. 'params': data
  99. })
  100. }
  101. //接收出库,复核接口
  102. export function reviewCommand(data) {
  103. return request({
  104. 'url': '/AutomaticWarehouse/ReviewCommand',
  105. 'method': 'post',
  106. 'data': data
  107. })
  108. }
  109. //扫描返库获取入库口列表接口
  110. export function getWarehouseInPort(data) {
  111. return request({
  112. 'url': '/AutomaticWarehouse/GetWarehouseInPort',
  113. 'method': 'get',
  114. 'data': data
  115. })
  116. }
  117. //扫描返库获取对应板号明细信息
  118. export function getIntoWarehouseCommand(data) {
  119. return request({
  120. 'url': '/AutomaticWarehouse/GetIntoWarehouseCommand',
  121. 'method': 'get',
  122. 'data': data
  123. })
  124. }
  125. //扫描返库准备入库
  126. export function readyForWarehouse(data) {
  127. return request({
  128. 'url': '/AutomaticWarehouse/ReadyForWarehouse',
  129. 'method': 'post',
  130. 'data': data
  131. })
  132. }
  133. //扫描返库扫码返库
  134. export function scannerReturnToWarehouse(data) {
  135. return request({
  136. 'url': '/AutomaticWarehouse/ScannerReturnToWarehouse',
  137. 'method': 'post',
  138. 'data': data
  139. })
  140. }
  141. //扫描返库排队提示
  142. export function promptQueue(data) {
  143. return request({
  144. 'url': '/AutomaticWarehouse/PromptQueue',
  145. 'method': 'get',
  146. 'params': data
  147. })
  148. }
  149. //合板出库,获取合板调拨单列表
  150. export function getTransferOrderNo(data) {
  151. return request({
  152. 'url': '/AutomaticWarehouse/GetTransferOrderNo',
  153. 'method': 'get',
  154. 'params': data
  155. })
  156. }
  157. //合板出库,获取出货口列表
  158. export function getOutWarehousePortList(data) {
  159. return request({
  160. 'url': '/AutomaticWarehouse/GetOutWarehousePortList',
  161. 'method': 'get',
  162. 'params': data
  163. })
  164. }
  165. //合板出库,获取单据明细列表
  166. export function getBillDetails(data) {
  167. return request({
  168. 'url': '/AutomaticWarehouse/GetBillDetails',
  169. 'method': 'get',
  170. 'params': data
  171. })
  172. }
  173. //合板出库,出库排队
  174. export function checkOutWarehouseCommand(data) {
  175. return request({
  176. 'url': '/AutomaticWarehouse/CheckOutWarehouseCommand',
  177. 'method': 'post',
  178. 'params': data
  179. })
  180. }
  181. //合板出库,准备出库
  182. export function updateOutWarehouseStatus(data) {
  183. return request({
  184. 'url': '/AutomaticWarehouse/UpdateOutWarehouseStatus',
  185. 'method': 'post',
  186. 'params': data
  187. })
  188. }
  189. //合板退库,获取条码明细
  190. export function getPockNoDetail(data) {
  191. return request({
  192. 'url': '/AutomaticWarehouse/GetPockNoDetail',
  193. 'method': 'get',
  194. 'params': data
  195. })
  196. }
  197. //合板退库,生成入库指令
  198. export function generateInWarehouseCommands(data) {
  199. return request({
  200. 'url': '/AutomaticWarehouse/GenerateInWarehouseCommands',
  201. 'method': 'post',
  202. 'data': data
  203. })
  204. }