sellerBill.js 656 B

123456789101112131415161718192021222324252627282930
  1. import { requestApi } from '../util/network'
  2. // 获取结算列表
  3. export const getBillList =
  4. (params, ob_no, bill_state) =>
  5. requestApi(
  6. '/Sellerbill/bill_list',
  7. 'POST',
  8. {
  9. 'ob_no': ob_no,
  10. 'bill_state': bill_state,
  11. 'page': params.page,
  12. 'per_page': params.per_page,
  13. 'client_type': 'wap'
  14. },
  15. 'seller'
  16. )
  17. // 确认结算单
  18. export const confirmBill =
  19. (obNo, content) =>
  20. requestApi(
  21. '/Sellerbill/confirm_bill',
  22. 'POST',
  23. {
  24. 'ob_no': obNo,
  25. 'ob_seller_content': content
  26. },
  27. 'seller'
  28. )