production_replenishment.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import
  2. request
  3. from '@/utils/request'
  4. import request1 from '../utils/requestnew'
  5. export function getBillList(data) {
  6. return request({
  7. 'url': 'DynamicFormService.BillQuery.common.kdsvc',
  8. 'method': 'post',
  9. 'data': data
  10. })
  11. }
  12. export function getBillDetailList(data) {
  13. return request({
  14. 'url': 'DynamicFormService.BillQuery.common.kdsvc',
  15. 'method': 'post',
  16. 'data': data
  17. })
  18. }
  19. export function getInventoryList(data) {
  20. return request({
  21. 'url': 'DynamicFormService.BillQuery.common.kdsvc',
  22. 'method': 'post',
  23. 'data': data
  24. })
  25. }
  26. export function getInfoByBarcode(data) {
  27. return request({
  28. 'url': 'DynamicFormService.BillQuery.common.kdsvc',
  29. 'method': 'post',
  30. 'data': data
  31. })
  32. }
  33. export function getStockInfo(data) {
  34. return request({
  35. 'url': 'DynamicFormService.BillQuery.common.kdsvc',
  36. 'method': 'post',
  37. 'data': data
  38. })
  39. }
  40. //保存
  41. export function save(data) {
  42. return request({
  43. 'url': 'DynamicFormService.Save.common.kdsvc',
  44. 'method': 'post',
  45. 'data': data
  46. })
  47. }
  48. //提交
  49. export function submit(data) {
  50. return request({
  51. 'url': 'DynamicFormService.Submit.common.kdsvc',
  52. 'method': 'post',
  53. 'data': data
  54. })
  55. }
  56. //审核
  57. export function audit(data) {
  58. return request({
  59. 'url': 'DynamicFormService.Audit.common.kdsvc',
  60. 'method': 'post',
  61. 'data': data
  62. })
  63. }
  64. //查询仓位
  65. export function Querylocation(data) {
  66. return request1({
  67. 'url': 'StockScanGetStockLocInfo',
  68. 'method': 'post',
  69. 'header': {
  70. 'Content-Type': 'application/x-www-form-urlencoded'
  71. },
  72. 'data': data
  73. })
  74. }