reportData.js 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583
  1. import { axios } from '@/utils/request'
  2. // 每日报表
  3. export const salesReportDailyList = (params) => {
  4. const url = `/report/reportData/query`
  5. return axios({
  6. url: url,
  7. data: params,
  8. method: 'post',
  9. headers: {
  10. 'module': encodeURIComponent('每日报表查询')
  11. }
  12. })
  13. }
  14. // 获取开单退货单表头
  15. export const salesReportReturnTitle = (params) => {
  16. return axios({
  17. url: '/report/salesReturnBillReport/reportTitle',
  18. data: params,
  19. method: 'get'
  20. })
  21. }
  22. // 开单退货单报表
  23. export const salesReportReturnBillList = (params) => {
  24. const url = `/report/salesReturnBillReport/reportPage/${params.pageNo}/${params.pageSize}`
  25. delete params.pageNo
  26. delete params.pageSize
  27. return axios({
  28. url: url,
  29. data: params,
  30. method: 'post',
  31. headers: {
  32. 'module': encodeURIComponent('列表查询')
  33. }
  34. })
  35. }
  36. // 开单退货单报表 合计
  37. export const salesReportReturnBillCount = (params) => {
  38. return axios({
  39. url: '/report/salesReturnBillReport/reportCount',
  40. data: params,
  41. method: 'post'
  42. })
  43. }
  44. // 获取开单退货表头
  45. export const salesReturnReportTitle = (params) => {
  46. return axios({
  47. url: '/report/salesReturnReport/reportTitle',
  48. data: params,
  49. method: 'get'
  50. })
  51. }
  52. // 开单退货报表 列表
  53. export const salesReportReturnList = (params) => {
  54. const url = `/report/salesReturnReport/reportPage/${params.pageNo}/${params.pageSize}`
  55. delete params.pageNo
  56. delete params.pageSize
  57. return axios({
  58. url: url,
  59. data: params,
  60. method: 'post',
  61. headers: {
  62. 'module': encodeURIComponent('列表查询')
  63. }
  64. })
  65. }
  66. // 开单退货报表 合计
  67. export const salesReportReturnCount = (params) => {
  68. return axios({
  69. url: '/report/salesReturnReport/reportCount',
  70. data: params,
  71. method: 'post'
  72. })
  73. }
  74. // 实售退货报表 biao题
  75. export const salesReportReturnRebateTitle = (params) => {
  76. return axios({
  77. url: '/report/returnSsthReport/reportTitle',
  78. data: params,
  79. method: 'get'
  80. })
  81. }
  82. // 实售退货报表
  83. export const salesReportReturnRebateList = (params) => {
  84. const url = `/report/returnSsthReport/reportPage/${params.pageNo}/${params.pageSize}`
  85. delete params.pageNo
  86. delete params.pageSize
  87. return axios({
  88. url: url,
  89. data: params,
  90. method: 'post',
  91. headers: {
  92. 'module': encodeURIComponent('列表查询')
  93. }
  94. })
  95. }
  96. // 实售退货报表 合计
  97. export const salesReportReturnRebateCount = (params) => {
  98. return axios({
  99. url: '/report/returnSsthReport/reportCount',
  100. data: params,
  101. method: 'post'
  102. })
  103. }
  104. // 销售退货单报表
  105. export const reportSalesReturnList = (params) => {
  106. const url = `/report/reportSalesReturn/queryPage/${params.pageNo}/${params.pageSize}`
  107. delete params.pageNo
  108. delete params.pageSize
  109. return axios({
  110. url: url,
  111. data: params,
  112. method: 'post',
  113. headers: {
  114. 'module': encodeURIComponent('列表查询')
  115. }
  116. })
  117. }
  118. // 销售退货单报表 合计
  119. export const reportSalesReturnCount = (params) => {
  120. return axios({
  121. url: '/report/reportSalesReturn/queryCount',
  122. data: params,
  123. method: 'post'
  124. })
  125. }
  126. // 销售退货明细报表
  127. export const reportSalesReturnDetailList = (params) => {
  128. const url = `/report/reportSalesReturn/detail/queryPage/${params.pageNo}/${params.pageSize}`
  129. delete params.pageNo
  130. delete params.pageSize
  131. return axios({
  132. url: url,
  133. data: params,
  134. method: 'post',
  135. headers: {
  136. 'module': encodeURIComponent('列表查询')
  137. }
  138. })
  139. }
  140. // 销售退货明细报表 合计
  141. export const reportSalesReturnDetailCount = (params) => {
  142. return axios({
  143. url: '/report/reportSalesReturn/detail/queryCount',
  144. data: params,
  145. method: 'post'
  146. })
  147. }
  148. // 销售退货明细报表 导出
  149. export const reportSalesReturnDetailExport = (params) => {
  150. return axios({
  151. url: '/report/reportSalesReturn/detail/exportExcel',
  152. data: params,
  153. method: 'post',
  154. responseType: 'blob',
  155. headers: {
  156. 'module': encodeURIComponent('导出')
  157. }
  158. })
  159. }
  160. // 总部差价明细报表
  161. export const headRebateDetailReportList = (params) => {
  162. const url = `/report/headRebateDetailReport/queryPage/${params.pageNo}/${params.pageSize}`
  163. delete params.pageNo
  164. delete params.pageSize
  165. return axios({
  166. url: url,
  167. data: params,
  168. method: 'post',
  169. headers: {
  170. 'module': encodeURIComponent('列表查询')
  171. }
  172. })
  173. }
  174. // 总部差价明细报表 合计
  175. export const headRebateDetailReportCount = (params) => {
  176. return axios({
  177. url: '/report/headRebateDetailReport/querySum',
  178. data: params,
  179. method: 'post'
  180. })
  181. }
  182. // 总部差价明细报表导出
  183. export const headRebateDetailReportExport = (params) => {
  184. return axios({
  185. url: '/report/headRebateDetailReport/export',
  186. data: params,
  187. method: 'post',
  188. responseType: 'blob',
  189. headers: {
  190. 'module': encodeURIComponent('导出')
  191. }
  192. })
  193. }
  194. // 差价明细报表
  195. export const reportRebateReportList = (params) => {
  196. const url = `/report/reportRebate/queryPage/${params.pageNo}/${params.pageSize}`
  197. delete params.pageNo
  198. delete params.pageSize
  199. return axios({
  200. url: url,
  201. data: params,
  202. method: 'post',
  203. headers: {
  204. 'module': encodeURIComponent('列表查询')
  205. }
  206. })
  207. }
  208. // 差价明细报表 合计
  209. export const reportRebateCount = (params) => {
  210. return axios({
  211. url: '/report/reportRebate/queryCount',
  212. data: params,
  213. method: 'post'
  214. })
  215. }
  216. // 差价明细报表 导出
  217. export const reportRebateExport = (params) => {
  218. return axios({
  219. url: '/report/reportRebate/export',
  220. data: params,
  221. method: 'post',
  222. responseType: 'blob',
  223. headers: {
  224. 'module': encodeURIComponent('导出')
  225. }
  226. })
  227. }
  228. // 销售退货单 导出
  229. export const salesReturnsExport = (params) => {
  230. return axios({
  231. url: '/report/reportSalesReturn/exportExcel',
  232. data: params,
  233. method: 'post',
  234. responseType: 'blob',
  235. headers: {
  236. 'module': encodeURIComponent('导出')
  237. }
  238. })
  239. }
  240. // 销售退货明细 导出
  241. export const salesReturnDetailExport = (params) => {
  242. return axios({
  243. url: '/report/reportRebate/export',
  244. data: params,
  245. method: 'post',
  246. responseType: 'blob',
  247. headers: {
  248. 'module': encodeURIComponent('导出')
  249. }
  250. })
  251. }
  252. // 开单销售单 导出
  253. export const salesSlipExport = (params) => {
  254. return axios({
  255. url: '/report/salesKdxxd/reportExport',
  256. data: params,
  257. method: 'post',
  258. responseType: 'blob',
  259. headers: {
  260. 'module': encodeURIComponent('导出')
  261. }
  262. })
  263. }
  264. // 开单退货单 导出
  265. export const returnSlipExport = (params) => {
  266. return axios({
  267. url: 'report/salesReturnBillReport/reportExport',
  268. data: params,
  269. method: 'post',
  270. responseType: 'blob',
  271. headers: {
  272. 'module': encodeURIComponent('导出')
  273. }
  274. })
  275. }
  276. // 开单销售 导出
  277. export const salesAmountExport = (params) => {
  278. return axios({
  279. url: '/report/salesKdxx/reportExport',
  280. data: params,
  281. method: 'post',
  282. responseType: 'blob',
  283. headers: {
  284. 'module': encodeURIComponent('导出')
  285. }
  286. })
  287. }
  288. // 实售销售 导出
  289. export const actualSalesExport = (params) => {
  290. return axios({
  291. url: '/report/salesSsxs/reportExport',
  292. data: params,
  293. method: 'post',
  294. responseType: 'blob',
  295. headers: {
  296. 'module': encodeURIComponent('导出')
  297. }
  298. })
  299. }
  300. // 开单退货 导出
  301. export const billingReturnExport = (params) => {
  302. return axios({
  303. url: '/report/salesReturnReport/reportExport',
  304. data: params,
  305. method: 'post',
  306. responseType: 'blob',
  307. headers: {
  308. 'module': encodeURIComponent('导出')
  309. }
  310. })
  311. }
  312. // 实售退货 导出
  313. export const salesReturnExport = (params) => {
  314. return axios({
  315. url: '/report/returnSsthReport/reportExport',
  316. data: params,
  317. method: 'post',
  318. responseType: 'blob',
  319. headers: {
  320. 'module': encodeURIComponent('导出')
  321. }
  322. })
  323. }
  324. // 销售明细(下推统计)报表
  325. export const reportSalesBillDetailList = (params) => {
  326. const url = `/report/reportDispatchBillDetail/reportPage/${params.pageNo}/${params.pageSize}`
  327. delete params.pageNo
  328. delete params.pageSize
  329. return axios({
  330. url: url,
  331. data: params,
  332. method: 'post',
  333. headers: {
  334. 'module': encodeURIComponent('列表查询')
  335. }
  336. })
  337. }
  338. // 销售明细(下推统计)报表 合计
  339. export const reportSalesBillDetailCount = (params) => {
  340. return axios({
  341. url: '/report/reportDispatchBillDetail/reportCount',
  342. data: params,
  343. method: 'post'
  344. })
  345. }
  346. // 销售明细(下推统计)报表 导出
  347. export const reportSalesBillDetailExport = (params) => {
  348. return axios({
  349. url: '/report/reportDispatchBillDetail/reportExport',
  350. data: params,
  351. method: 'post',
  352. responseType: 'blob',
  353. headers: {
  354. 'module': encodeURIComponent('导出')
  355. }
  356. })
  357. }
  358. // 销售(开单统计)报表
  359. export const reportSalesBillList = (params) => {
  360. const url = `/report/reportDispatchBill/reportPage/${params.pageNo}/${params.pageSize}`
  361. delete params.pageNo
  362. delete params.pageSize
  363. return axios({
  364. url: url,
  365. data: params,
  366. method: 'post',
  367. headers: {
  368. 'module': encodeURIComponent('列表查询')
  369. }
  370. })
  371. }
  372. // 销售(开单统计)报表 合计
  373. export const reportSalesBillCount = (params) => {
  374. return axios({
  375. url: '/report/reportDispatchBill/reportCount',
  376. data: params,
  377. method: 'post'
  378. })
  379. }
  380. // 销售(开单统计)报表 导出
  381. export const reportSalesBillExport = (params) => {
  382. return axios({
  383. url: '/report/reportDispatchBill/reportExport',
  384. data: params,
  385. method: 'post',
  386. responseType: 'blob',
  387. headers: {
  388. 'module': encodeURIComponent('导出')
  389. }
  390. })
  391. }
  392. // 入库单报表
  393. export const reportStockPutList = (params) => {
  394. const url = `/report/reportStockPut/queryPage/${params.pageNo}/${params.pageSize}`
  395. delete params.pageNo
  396. delete params.pageSize
  397. return axios({
  398. url: url,
  399. data: params,
  400. method: 'post',
  401. headers: {
  402. 'module': encodeURIComponent('列表查询')
  403. }
  404. })
  405. }
  406. // 入库单报表 合计
  407. export const reportStockPutCount = (params) => {
  408. return axios({
  409. url: '/report/reportStockPut/queryCount',
  410. data: params,
  411. method: 'post'
  412. })
  413. }
  414. // 入库单报表 导出
  415. export const reportStockPutExport = (params) => {
  416. return axios({
  417. url: '/report/reportStockPut/exportExcel',
  418. data: params,
  419. method: 'post',
  420. responseType: 'blob',
  421. headers: {
  422. 'module': encodeURIComponent('导出')
  423. }
  424. })
  425. }
  426. // 入库单明细报表
  427. export const reportStockPutDetailList = (params) => {
  428. const url = `/report/reportStockPut/detail/queryPage/${params.pageNo}/${params.pageSize}`
  429. delete params.pageNo
  430. delete params.pageSize
  431. return axios({
  432. url: url,
  433. data: params,
  434. method: 'post',
  435. headers: {
  436. 'module': encodeURIComponent('列表查询')
  437. }
  438. })
  439. }
  440. // 入库单明细报表 合计
  441. export const reportStockPutDetailCount = (params) => {
  442. return axios({
  443. url: '/report/reportStockPut/detail/queryCount',
  444. data: params,
  445. method: 'post'
  446. })
  447. }
  448. // 入库单明细报表 导出
  449. export const reportStockPutDetailExport = (params) => {
  450. return axios({
  451. url: '/report/reportStockPut/detail/exportExcel',
  452. data: params,
  453. method: 'post',
  454. responseType: 'blob',
  455. headers: {
  456. 'module': encodeURIComponent('导出')
  457. }
  458. })
  459. }
  460. // 获取销售交单报表 表头
  461. export const salesXsjdReportTitle = (params) => {
  462. return axios({
  463. url: '/report/salesXsjd/reportTitle',
  464. data: params,
  465. method: 'get'
  466. })
  467. }
  468. // 销售交单报表
  469. export const reportDispatchReportList = (params) => {
  470. const url = `/report/salesXsjd/reportPage/${params.pageNo}/${params.pageSize}`
  471. delete params.pageNo
  472. delete params.pageSize
  473. return axios({
  474. url: url,
  475. data: params,
  476. method: 'post',
  477. headers: {
  478. 'module': encodeURIComponent('列表查询')
  479. }
  480. })
  481. }
  482. // 销售交单报表 合计
  483. export const reportDispatchReportCount = (params) => {
  484. return axios({
  485. url: '/report/salesXsjd/reportCount',
  486. data: params,
  487. method: 'post'
  488. })
  489. }
  490. // 销售交单报表 导出
  491. export const reportDispatchReportExport = (params) => {
  492. return axios({
  493. url: '/report/salesXsjd/reportExport',
  494. data: params,
  495. method: 'post',
  496. responseType: 'blob',
  497. headers: {
  498. 'module': encodeURIComponent('导出')
  499. }
  500. })
  501. }
  502. // 调拨交单报表
  503. export const reportAllocateDbjdReportList = (params) => {
  504. const url = `/report/allocateReport/dbjd/queryPage/${params.pageNo}/${params.pageSize}`
  505. delete params.pageNo
  506. delete params.pageSize
  507. return axios({
  508. url: url,
  509. data: params,
  510. method: 'post',
  511. headers: {
  512. 'module': encodeURIComponent('列表查询')
  513. }
  514. })
  515. }
  516. // 调拨交单报表 合计
  517. export const reportAllocateDbjdReportCount = (params) => {
  518. return axios({
  519. url: '/report/allocateReport/dbjd/queryCount',
  520. data: params,
  521. method: 'post'
  522. })
  523. }
  524. // 调拨交单报表 导出
  525. export const reportAllocateDbjdReportExport = (params) => {
  526. return axios({
  527. url: '/report/allocateReport/dbjd/export',
  528. data: params,
  529. method: 'post',
  530. responseType: 'blob',
  531. headers: {
  532. 'module': encodeURIComponent('导出')
  533. }
  534. })
  535. }
  536. // 获取退货交单报表 表头
  537. export const returnDocReportTitle = (params) => {
  538. return axios({
  539. url: '/report/returnDocReport/reportTitle',
  540. data: params,
  541. method: 'get'
  542. })
  543. }
  544. // 退货交单报表 列表
  545. export const reportSalesReturnThjdReportList = (params) => {
  546. const url = `/report/returnDocReport/reportPage/${params.pageNo}/${params.pageSize}`
  547. delete params.pageNo
  548. delete params.pageSize
  549. return axios({
  550. url: url,
  551. data: params,
  552. method: 'post',
  553. headers: {
  554. 'module': encodeURIComponent('列表查询')
  555. }
  556. })
  557. }
  558. // 退货交单报表 合计
  559. export const reportSalesReturnThjdReportCount = (params) => {
  560. return axios({
  561. url: '/report/returnDocReport/reportCount',
  562. data: params,
  563. method: 'post'
  564. })
  565. }
  566. // 退货交单报表 导出
  567. export const reportSalesReturnThjdReportExport = (params) => {
  568. return axios({
  569. url: '/report/returnDocReport/reportExport',
  570. data: params,
  571. method: 'post',
  572. responseType: 'blob',
  573. headers: {
  574. 'module': encodeURIComponent('导出')
  575. }
  576. })
  577. }
  578. // 全国各省类销售明细报表
  579. export const realReportSalesByProvince = (params) => {
  580. return axios({
  581. url: '/report/realReportSales/subareaArea/reportList',
  582. data: params,
  583. method: 'post',
  584. headers: {
  585. 'module': encodeURIComponent('列表查询')
  586. }
  587. })
  588. }
  589. // 标题
  590. export const subareaAreaReportTitle = (params) => {
  591. const url = `/report/realReportSales/subareaArea/reportTitle `
  592. return axios({
  593. url: url,
  594. data: params,
  595. method: 'get'
  596. })
  597. }
  598. // 导出
  599. export const realReportSalesByProvinceExport = (params) => {
  600. return axios({
  601. url: '/report/realReportSales/subareaArea/reportExport',
  602. data: params,
  603. method: 'post',
  604. responseType: 'blob',
  605. headers: {
  606. 'module': encodeURIComponent('导出')
  607. }
  608. })
  609. }
  610. // 全国各区类销售明细报表
  611. export const realReportSalesBySubArea = (params) => {
  612. return axios({
  613. url: '/report/realReportSales/subarea/reportList',
  614. data: params,
  615. method: 'post',
  616. headers: {
  617. 'module': encodeURIComponent('列表查询')
  618. }
  619. })
  620. }
  621. // 标题
  622. export const subareaReportTitle = (params) => {
  623. const url = `/report/realReportSales/subarea/reportTitle`
  624. return axios({
  625. url: url,
  626. data: params,
  627. method: 'get',
  628. headers: {
  629. 'module': encodeURIComponent('导出')
  630. }
  631. })
  632. }
  633. // 导出
  634. export const realReportSalesBySubAreaExport = (params) => {
  635. return axios({
  636. url: '/report/realReportSales/subarea/reportExport',
  637. data: params,
  638. method: 'post',
  639. responseType: 'blob',
  640. headers: {
  641. 'module': encodeURIComponent('导出')
  642. }
  643. })
  644. }
  645. // 调拨退货单报表
  646. export const allocateReturnReportQueryPage = (params) => {
  647. const url = `/report/allocateReturnReport/queryPage/${params.pageNo}/${params.pageSize}`
  648. delete params.pageNo
  649. delete params.pageSize
  650. return axios({
  651. url: url,
  652. data: params,
  653. method: 'post',
  654. headers: {
  655. 'module': encodeURIComponent('列表查询')
  656. }
  657. })
  658. }
  659. // 查询调拨退货统计信息
  660. export const allocateReturnReportQueryCount = (params) => {
  661. const url = `/report/allocateReturnReport/queryCount`
  662. return axios({
  663. url: url,
  664. data: params,
  665. method: 'post'
  666. })
  667. }
  668. // 导出
  669. export const allocateReturnReportExport = (params) => {
  670. return axios({
  671. url: '/report/allocateReturnReport/exportExcel',
  672. data: params,
  673. method: 'post',
  674. responseType: 'blob',
  675. headers: {
  676. 'module': encodeURIComponent('导出')
  677. }
  678. })
  679. }
  680. // 分页查询调拨退货明细报表
  681. export const allocateReturnReportDetailQueryPage = (params) => {
  682. const url = `/report/allocateReturnReport/detail/queryPage/${params.pageNo}/${params.pageSize}`
  683. delete params.pageNo
  684. delete params.pageSize
  685. return axios({
  686. url: url,
  687. data: params,
  688. method: 'post',
  689. headers: {
  690. 'module': encodeURIComponent('列表查询')
  691. }
  692. })
  693. }
  694. // 查询调拨退货明细统计信息
  695. export const allocateReturnReportDetailQueryCount = (params) => {
  696. const url = `/report/allocateReturnReport/detail/queryCount`
  697. return axios({
  698. url: url,
  699. data: params,
  700. method: 'post'
  701. })
  702. }
  703. // 导出
  704. export const allocateReturnReportDetailExport = (params) => {
  705. return axios({
  706. url: '/report/allocateReturnReport/detail/exportExcel',
  707. data: params,
  708. method: 'post',
  709. responseType: 'blob',
  710. headers: {
  711. 'module': encodeURIComponent('导出')
  712. }
  713. })
  714. }
  715. // 费用统计按承担方分页
  716. export const expenseCollectReportQueryPageByTarget = (params) => {
  717. const url = `/report/expenseCollectReport/queryPageByTarget/${params.pageNo}/${params.pageSize}`
  718. delete params.pageNo
  719. delete params.pageSize
  720. return axios({
  721. url: url,
  722. data: params,
  723. method: 'post',
  724. headers: {
  725. 'module': encodeURIComponent('列表查询')
  726. }
  727. })
  728. }
  729. // 费用统计按承担方汇总合计
  730. export const expenseCollectReportQueryCountByTarget = (params) => {
  731. const url = `/report/expenseCollectReport/queryCountByTarget`
  732. return axios({
  733. url: url,
  734. data: params,
  735. method: 'post'
  736. })
  737. }
  738. // 导出费用统计按承担方
  739. export const expenseCollectReportExportByTarget = (params) => {
  740. return axios({
  741. url: '/report/expenseCollectReport/exportByTarget',
  742. data: params,
  743. method: 'post',
  744. responseType: 'blob',
  745. headers: {
  746. 'module': encodeURIComponent('导出')
  747. }
  748. })
  749. }
  750. // 费用统计按品类分页
  751. export const expenseCollectReportQueryPageByProductType = (params) => {
  752. const url = `/report/expenseCollectReport/queryPageByProductType/${params.pageNo}/${params.pageSize}`
  753. delete params.pageNo
  754. delete params.pageSize
  755. return axios({
  756. url: url,
  757. data: params,
  758. method: 'post',
  759. headers: {
  760. 'module': encodeURIComponent('列表查询')
  761. }
  762. })
  763. }
  764. // 费用统计按品类汇总合计
  765. export const expenseCollectReportQueryCountByProductType = (params) => {
  766. const url = `/report/expenseCollectReport/queryCountByProductType`
  767. return axios({
  768. url: url,
  769. data: params,
  770. method: 'post'
  771. })
  772. }
  773. // 导出费用统计按品类
  774. export const expenseCollectReportExportByProductType = (params) => {
  775. return axios({
  776. url: '/report/expenseCollectReport/exportByProductType',
  777. data: params,
  778. method: 'post',
  779. responseType: 'blob',
  780. headers: {
  781. 'module': encodeURIComponent('导出')
  782. }
  783. })
  784. }
  785. /*
  786. * 采购退货报表列表
  787. */
  788. export const sparePartsReturnReportList = (params) => {
  789. const url = `/report/sparePartsReturn/queryPage/${params.pageNo}/${params.pageSize}`
  790. delete params.pageNo
  791. delete params.pageSize
  792. return axios({
  793. url: url,
  794. data: params,
  795. method: 'post',
  796. headers: {
  797. 'module': encodeURIComponent('列表查询')
  798. }
  799. })
  800. }
  801. // 采购退货报表合计
  802. export const sparePartsReturnReportStat = (params) => {
  803. const url = `/report/sparePartsReturn/queryPageCount`
  804. return axios({
  805. url: url,
  806. data: params,
  807. method: 'post'
  808. })
  809. }
  810. // 采购退货报表导出
  811. export const sparePartsReturnReportExport = (params) => {
  812. return axios({
  813. url: '/report/sparePartsReturn/export',
  814. data: params,
  815. method: 'post',
  816. responseType: 'blob',
  817. headers: {
  818. 'module': encodeURIComponent('导出')
  819. }
  820. })
  821. }
  822. /*
  823. * 采购退货明细报表列表
  824. */
  825. export const sparePartsReturnDetailReportList = (params) => {
  826. const url = `/report/sparePartsReturn/detail/queryPage/${params.pageNo}/${params.pageSize}`
  827. delete params.pageNo
  828. delete params.pageSize
  829. return axios({
  830. url: url,
  831. data: params,
  832. method: 'post',
  833. headers: {
  834. 'module': encodeURIComponent('列表查询')
  835. }
  836. })
  837. }
  838. // 采购退货明细报表合计
  839. export const sparePartsReturnDetailReportStat = (params) => {
  840. const url = `/report/sparePartsReturn/detail/queryPageCount`
  841. return axios({
  842. url: url,
  843. data: params,
  844. method: 'post'
  845. })
  846. }
  847. // 导出明细
  848. export const sparePartsReturnReportExportDetail = (params) => {
  849. return axios({
  850. url: '/report/sparePartsReturn/detail/export',
  851. data: params,
  852. method: 'post',
  853. responseType: 'blob',
  854. headers: {
  855. 'module': encodeURIComponent('导出')
  856. }
  857. })
  858. }
  859. // 订单差价表
  860. export const rebateQueryList = (params) => {
  861. const url = `/report/productRebate/queryPage/${params.pageNo}/${params.pageSize}`
  862. delete params.pageNo
  863. delete params.pageSize
  864. return axios({
  865. url: url,
  866. data: params,
  867. method: 'post',
  868. headers: {
  869. 'module': encodeURIComponent('列表查询')
  870. }
  871. })
  872. }
  873. // 合计
  874. export const rebateQueryCount = (params) => {
  875. const url = `/report/productRebate/queryCount`
  876. return axios({
  877. url: url,
  878. data: params,
  879. method: 'post'
  880. })
  881. }
  882. // 订单经销商差价表
  883. export const productRebateParentList = (params) => {
  884. const url = `/report/productRebateParent/queryPage/${params.pageNo}/${params.pageSize}`
  885. delete params.pageNo
  886. delete params.pageSize
  887. return axios({
  888. url: url,
  889. data: params,
  890. method: 'post',
  891. headers: {
  892. 'module': encodeURIComponent('列表查询')
  893. }
  894. })
  895. }
  896. // 订单经销商差价表 统计
  897. export const productRebateParentCount = (params) => {
  898. const url = `/report/productRebateParent/queryCount`
  899. return axios({
  900. url: url,
  901. data: params,
  902. method: 'post'
  903. })
  904. }
  905. // 产品差价表
  906. export const rebateDetailQueryList = (params) => {
  907. const url = `/report/productRebateDetail/queryPage/${params.pageNo}/${params.pageSize}`
  908. delete params.pageNo
  909. delete params.pageSize
  910. return axios({
  911. url: url,
  912. data: params,
  913. method: 'post',
  914. headers: {
  915. 'module': encodeURIComponent('列表查询')
  916. }
  917. })
  918. }
  919. // 返利明细报表统计
  920. export const rebateDetailQueryCount = (params) => {
  921. const url = `/report/productRebateDetail/queryCount`
  922. return axios({
  923. url: url,
  924. data: params,
  925. method: 'post'
  926. })
  927. }
  928. /*
  929. ** 开单采退报表
  930. */
  931. // 开单采退报表 列表
  932. export const querySupplierPage = (params) => {
  933. const url = `/report/sparePartsReturn/querySupplierPage/${params.pageNo}/${params.pageSize}`
  934. delete params.pageNo
  935. delete params.pageSize
  936. return axios({
  937. url: url,
  938. data: params,
  939. method: 'post',
  940. headers: {
  941. 'module': encodeURIComponent('列表查询')
  942. }
  943. })
  944. }
  945. // 开单采退报表 合计
  946. export const querySupplierCount = (params) => {
  947. const url = `/report/sparePartsReturn/querySupplierCount`
  948. return axios({
  949. url: url,
  950. data: params,
  951. method: 'post'
  952. })
  953. }
  954. // 开单采退报表 标题
  955. export const querySupplierTitle = (params) => {
  956. const url = `/report/sparePartsReturn/querySupplierTitle`
  957. return axios({
  958. url: url,
  959. data: params,
  960. method: 'get'
  961. })
  962. }
  963. // 开单采退报表 导出
  964. export const supplierExport = (params) => {
  965. return axios({
  966. url: '/report/sparePartsReturn/supplierExport',
  967. data: params,
  968. method: 'post',
  969. responseType: 'blob'
  970. })
  971. }
  972. // 开单采退dan报表 列表
  973. export const queryBillNoPage = (params) => {
  974. const url = `/report/sparePartsReturn/queryBillNoPage/${params.pageNo}/${params.pageSize}`
  975. delete params.pageNo
  976. delete params.pageSize
  977. return axios({
  978. url: url,
  979. data: params,
  980. method: 'post',
  981. headers: {
  982. 'module': encodeURIComponent('列表查询')
  983. }
  984. })
  985. }
  986. // 开单采退dan报表 合计
  987. export const queryBillNoCount = (params) => {
  988. const url = `/report/sparePartsReturn/queryBillNoCount`
  989. return axios({
  990. url: url,
  991. data: params,
  992. method: 'post'
  993. })
  994. }
  995. // 开单采退dan报表 标题
  996. export const queryBillNoTitle = (params) => {
  997. const url = `/report/sparePartsReturn/queryBillNoTitle`
  998. return axios({
  999. url: url,
  1000. data: params,
  1001. method: 'get'
  1002. })
  1003. }
  1004. // 开单采退dan报表 导出
  1005. export const billNoExport = (params) => {
  1006. return axios({
  1007. url: '/report/sparePartsReturn/BillNoExport',
  1008. data: params,
  1009. method: 'post',
  1010. responseType: 'blob',
  1011. headers: {
  1012. 'module': encodeURIComponent('导出')
  1013. }
  1014. })
  1015. }
  1016. /*
  1017. ** 收发存报表
  1018. */
  1019. // 收发存报表 明细列表
  1020. export const queryDetailReportPage = (params) => {
  1021. const url = `/report/reportStockPsi/queryDetailReportPage/${params.pageNo}/${params.pageSize}`
  1022. delete params.pageNo
  1023. delete params.pageSize
  1024. return axios({
  1025. url: url,
  1026. data: params,
  1027. method: 'post',
  1028. headers: {
  1029. 'module': encodeURIComponent('列表查询')
  1030. }
  1031. })
  1032. }
  1033. // 收发存报表 导出
  1034. export const exportDetailReport = (params) => {
  1035. return axios({
  1036. url: '/report/reportStockPsi/exportReport',
  1037. data: params,
  1038. method: 'post',
  1039. responseType: 'blob',
  1040. headers: {
  1041. 'module': encodeURIComponent('导出')
  1042. }
  1043. })
  1044. }
  1045. // 收发存报表 汇总列表
  1046. export const queryGroupByprodTypeReportPage = (params) => {
  1047. const url = `/report/reportStockPsi/queryGroupByProdTypeReport`
  1048. return axios({
  1049. url: url,
  1050. data: params,
  1051. method: 'post',
  1052. headers: {
  1053. 'module': encodeURIComponent('列表查询')
  1054. }
  1055. })
  1056. }
  1057. // 收发存报表 进销存合计统计
  1058. export const queryReportCount = (params) => {
  1059. const url = `/report/reportStockPsi/queryReportCount`
  1060. return axios({
  1061. url: url,
  1062. data: params,
  1063. method: 'post'
  1064. })
  1065. }
  1066. // // 收发存报表 汇总导出
  1067. // export const exportGroupByProductTypeReport = (params) => {
  1068. // return axios({
  1069. // url: '/report/reportStockPsi/exportGroupByProductTypeReport',
  1070. // data: params,
  1071. // method: 'post',
  1072. // responseType: 'blob'
  1073. // })
  1074. // }
  1075. /*
  1076. ** 促销销售
  1077. */
  1078. // 促销销售单报表 列表
  1079. export const salesPromoReportList = (params) => {
  1080. const url = `/report/salesPromoReport/queryPage/${params.pageNo}/${params.pageSize}`
  1081. delete params.pageNo
  1082. delete params.pageSize
  1083. return axios({
  1084. url: url,
  1085. data: params,
  1086. method: 'post',
  1087. headers: {
  1088. 'module': encodeURIComponent('列表查询')
  1089. }
  1090. })
  1091. }
  1092. // 促销销售单报表 统计
  1093. export const salesPromoReportQueryCount = (params) => {
  1094. const url = `/report/salesPromoReport/queryCount`
  1095. return axios({
  1096. url: url,
  1097. data: params,
  1098. method: 'post'
  1099. })
  1100. }
  1101. // 促销销售单报表 导出
  1102. export const exportSalesPromoReport = (params) => {
  1103. return axios({
  1104. url: '/report/salesPromoReport/reportExport',
  1105. data: params,
  1106. method: 'post',
  1107. responseType: 'blob',
  1108. headers: {
  1109. 'module': encodeURIComponent('导出')
  1110. }
  1111. })
  1112. }
  1113. // 促销销售单实时报表 列表
  1114. export const salesPromoRealReportList = (params) => {
  1115. const url = `/report/salesPromoRealReport/queryPage/${params.pageNo}/${params.pageSize}`
  1116. delete params.pageNo
  1117. delete params.pageSize
  1118. return axios({
  1119. url: url,
  1120. data: params,
  1121. method: 'post',
  1122. headers: {
  1123. 'module': encodeURIComponent('列表查询')
  1124. }
  1125. })
  1126. }
  1127. // 促销销售单实时报表 统计
  1128. export const salesPromoRealReportCount = (params) => {
  1129. const url = `/report/salesPromoRealReport/queryCount`
  1130. return axios({
  1131. url: url,
  1132. data: params,
  1133. method: 'post'
  1134. })
  1135. }
  1136. // 促销销售单实时报表 导出
  1137. export const exportSalesPromoRealReport = (params) => {
  1138. return axios({
  1139. url: '/report/salesPromoRealReport/reportExport',
  1140. data: params,
  1141. method: 'post',
  1142. responseType: 'blob',
  1143. headers: {
  1144. 'module': encodeURIComponent('导出')
  1145. }
  1146. })
  1147. }
  1148. /*
  1149. * 产品追溯列表
  1150. */
  1151. // 导出错误项
  1152. export const codeExportImportError = (params) => {
  1153. return axios({
  1154. url: '/report/tracecode/exportImportError',
  1155. data: params,
  1156. method: 'post',
  1157. responseType: 'blob',
  1158. headers: {
  1159. 'module': encodeURIComponent('导出错误项')
  1160. }
  1161. })
  1162. }
  1163. // 确定导入轮胎唯一码
  1164. export const traceCodeInsertBatch = (params) => {
  1165. const url = `/report/tracecode/insertBatch`
  1166. return axios({
  1167. url: url,
  1168. data: params,
  1169. method: 'post',
  1170. headers: {
  1171. 'module': encodeURIComponent('确定导入')
  1172. }
  1173. })
  1174. }
  1175. // 获取 产品追溯列表
  1176. export const traceCodeList = (params) => {
  1177. const url = `/report/tracecode/queryPage/${params.pageNo}/${params.pageSize}`
  1178. delete params.pageNo
  1179. delete params.pageSize
  1180. return axios({
  1181. url: url,
  1182. data: params,
  1183. method: 'post',
  1184. headers: {
  1185. 'module': encodeURIComponent('列表查询')
  1186. }
  1187. })
  1188. }
  1189. // 产品追溯列表 统计
  1190. export const traceCodeQueryCount = (params) => {
  1191. const url = '/report/tracecode/queryCount'
  1192. return axios({
  1193. url: url,
  1194. data: params,
  1195. method: 'post'
  1196. })
  1197. }
  1198. // 产品追溯列表 导出
  1199. export const excelOnlineList = (params) => {
  1200. return axios({
  1201. url: '/report/tracecode/excelOnlineList',
  1202. data: params,
  1203. method: 'post',
  1204. responseType: 'blob',
  1205. headers: {
  1206. 'module': encodeURIComponent('导出')
  1207. }
  1208. })
  1209. }
  1210. // 质保信息
  1211. export const getWarrantyInfo = (params) => {
  1212. return axios({
  1213. url: `/report/warranty/queryById/${params.id}`,
  1214. method: 'post',
  1215. headers: {
  1216. 'module': encodeURIComponent('质保信息')
  1217. }
  1218. })
  1219. }
  1220. /*
  1221. * 轮胎统计报表
  1222. */
  1223. // 轮胎统计报表 列表
  1224. export const tireReportList = (params) => {
  1225. const url = `/report/tireRptDealerProductDay/queryPage/${params.pageNo}/${params.pageSize}`
  1226. delete params.pageNo
  1227. delete params.pageSize
  1228. return axios({
  1229. url: url,
  1230. data: params,
  1231. method: 'post',
  1232. headers: {
  1233. 'module': encodeURIComponent('列表查询')
  1234. }
  1235. })
  1236. }
  1237. // 轮胎统计报表 统计
  1238. export const queryTireCount = (params) => {
  1239. return axios({
  1240. url: '/report/tireRptDealerProductDay/queryCount',
  1241. data: params,
  1242. method: 'post'
  1243. })
  1244. }
  1245. // 轮胎明细报表 列表
  1246. export const tireReportDetailList = (params) => {
  1247. const url = `/report/tireRptDealerProductDay/queryDetailPage/${params.pageNo}/${params.pageSize}`
  1248. delete params.pageNo
  1249. delete params.pageSize
  1250. return axios({
  1251. url: url,
  1252. data: params,
  1253. method: 'post',
  1254. headers: {
  1255. 'module': encodeURIComponent('列表查询')
  1256. }
  1257. })
  1258. }
  1259. // 轮胎明细报表 统计
  1260. export const queryTireDetailCount = (params) => {
  1261. return axios({
  1262. url: '/report/tireRptDealerProductDay/queryDetailCount',
  1263. data: params,
  1264. method: 'post'
  1265. })
  1266. }
  1267. // 轮胎明细报表 出入库明细列表
  1268. export const outDetailList = (params) => {
  1269. const url = `/report/tireRptDealerDayOutStock/queryPage/${params.pageNo}/${params.pageSize}`
  1270. delete params.pageNo
  1271. delete params.pageSize
  1272. return axios({
  1273. url: url,
  1274. data: params,
  1275. method: 'post',
  1276. headers: {
  1277. 'module': encodeURIComponent('列表查询')
  1278. }
  1279. })
  1280. }
  1281. // 轮胎报表 导出
  1282. export const tireListExport = (params) => {
  1283. return axios({
  1284. url: '/report/tireRptDealerProductDay/importExcel',
  1285. data: params,
  1286. method: 'post',
  1287. responseType: 'blob',
  1288. headers: {
  1289. 'module': encodeURIComponent('导出')
  1290. }
  1291. })
  1292. }
  1293. // 轮胎明细报表 出入库明细导出
  1294. export const tireOutDetailListExport = (params) => {
  1295. return axios({
  1296. url: '/report/tireRptDealerDayOutStock/importExcel',
  1297. data: params,
  1298. method: 'post',
  1299. responseType: 'blob',
  1300. headers: {
  1301. 'module': encodeURIComponent('导出')
  1302. }
  1303. })
  1304. }
  1305. /*
  1306. * 轮胎费用报表
  1307. */
  1308. // 服务费运费明细-分页列表
  1309. export const subsidyDetailList = (params) => {
  1310. const url = `/report/subsidyDetail/queryPage/${params.pageNo}/${params.pageSize}`
  1311. delete params.pageNo
  1312. delete params.pageSize
  1313. return axios({
  1314. url: url,
  1315. data: params,
  1316. method: 'post',
  1317. headers: {
  1318. 'module': encodeURIComponent('服务费运费明细查询')
  1319. }
  1320. })
  1321. }
  1322. // 服务费运费明细-合计
  1323. export const subsidyDetailCount = (params) => {
  1324. return axios({
  1325. url: '/report/subsidyDetail/queryCount',
  1326. data: params,
  1327. method: 'post',
  1328. headers: {
  1329. 'module': encodeURIComponent('服务费运费明细合计查询')
  1330. }
  1331. })
  1332. }
  1333. // 服务费运费明细-导出
  1334. export const subsidyDetailExport = (params) => {
  1335. return axios({
  1336. url: '/report/subsidyDetail/export',
  1337. data: params,
  1338. method: 'post',
  1339. responseType: 'blob',
  1340. headers: {
  1341. 'module': encodeURIComponent('服务费运费明细导出')
  1342. }
  1343. })
  1344. }
  1345. // 服务费运费-分页列表
  1346. export const subsidyMonthList = (params) => {
  1347. const url = `/report/subsidyMonth/queryPage/${params.pageNo}/${params.pageSize}`
  1348. delete params.pageNo
  1349. delete params.pageSize
  1350. return axios({
  1351. url: url,
  1352. data: params,
  1353. method: 'post',
  1354. headers: {
  1355. 'module': encodeURIComponent('服务费运费列表查询')
  1356. }
  1357. })
  1358. }
  1359. // 服务费运费-合计
  1360. export const subsidyMonthCount = (params) => {
  1361. return axios({
  1362. url: '/report/subsidyMonth/queryCount',
  1363. data: params,
  1364. method: 'post',
  1365. headers: {
  1366. 'module': encodeURIComponent('服务费运费合计查询')
  1367. }
  1368. })
  1369. }
  1370. // 服务费运费-导出
  1371. export const subsidyMonthExport = (params) => {
  1372. return axios({
  1373. url: '/report/subsidyMonth/export',
  1374. data: params,
  1375. method: 'post',
  1376. responseType: 'blob',
  1377. headers: {
  1378. 'module': encodeURIComponent('服务费运费导出')
  1379. }
  1380. })
  1381. }
  1382. // 增量补贴-分页列表
  1383. export const subsidyStepList = (params) => {
  1384. const url = `/report/subsidyStep/queryPage/${params.pageNo}/${params.pageSize}`
  1385. delete params.pageNo
  1386. delete params.pageSize
  1387. return axios({
  1388. url: url,
  1389. data: params,
  1390. method: 'post',
  1391. headers: {
  1392. 'module': encodeURIComponent('增量补贴-分页列表')
  1393. }
  1394. })
  1395. }
  1396. // 增量补贴-合计
  1397. export const subsidyStepCount = (params) => {
  1398. return axios({
  1399. url: '/report/subsidyStep/queryCount',
  1400. data: params,
  1401. method: 'post',
  1402. headers: {
  1403. 'module': encodeURIComponent('增量补贴-合计')
  1404. }
  1405. })
  1406. }
  1407. // 增量补贴-导出
  1408. export const subsidyStepExport = (params) => {
  1409. return axios({
  1410. url: '/report/subsidyStep/export',
  1411. data: params,
  1412. method: 'post',
  1413. responseType: 'blob',
  1414. headers: {
  1415. 'module': encodeURIComponent('增量补贴-导出')
  1416. }
  1417. })
  1418. }
  1419. // 轮胎费用报表 列表
  1420. export const tireFeeReportList = (params) => {
  1421. const url = `/report/tireFee/queryPage/${params.pageNo}/${params.pageSize}`
  1422. delete params.pageNo
  1423. delete params.pageSize
  1424. return axios({
  1425. url: url,
  1426. data: params,
  1427. method: 'post',
  1428. headers: {
  1429. 'module': encodeURIComponent('列表查询')
  1430. }
  1431. })
  1432. }
  1433. // 轮胎费用报表 统计
  1434. export const tireFeeReportCount = (params) => {
  1435. return axios({
  1436. url: '/report/tireFee/reportCount',
  1437. data: params,
  1438. method: 'post'
  1439. })
  1440. }
  1441. // 轮胎费用报表 导出
  1442. export const tireFeeListExport = (params) => {
  1443. return axios({
  1444. url: '/report/tireFee/importExcel',
  1445. data: params,
  1446. method: 'post',
  1447. responseType: 'blob',
  1448. headers: {
  1449. 'module': encodeURIComponent('导出')
  1450. }
  1451. })
  1452. }
  1453. /*
  1454. * 轮胎补贴配置 供应商轮胎补贴返利报表
  1455. */
  1456. // 补贴返利列表 有分页
  1457. export const subsidyTireList = (params) => {
  1458. const url = `/report/subsidyTire/queryPage/${params.pageNo}/${params.pageSize}`
  1459. delete params.pageNo
  1460. delete params.pageSize
  1461. return axios({
  1462. url: url,
  1463. data: params,
  1464. method: 'post',
  1465. headers: {
  1466. 'module': encodeURIComponent('列表查询')
  1467. }
  1468. })
  1469. }
  1470. // 补贴返利列表 统计
  1471. export const subsidyTireCount = (params) => {
  1472. return axios({
  1473. url: '/report/subsidyTire/queryCount',
  1474. data: params,
  1475. method: 'post'
  1476. })
  1477. }
  1478. // 补贴返利列表 导出
  1479. export const subsidyTireExport = (params) => {
  1480. return axios({
  1481. url: '/report/subsidyTire/export',
  1482. data: params,
  1483. method: 'post',
  1484. responseType: 'blob',
  1485. headers: {
  1486. 'module': encodeURIComponent('导出')
  1487. }
  1488. })
  1489. }
  1490. // 促销销售单报表(统计)
  1491. export const brandTypeReportList = (params) => {
  1492. const url = `/report/brandTypeReport/queryPage/${params.pageNo}/${params.pageSize}`
  1493. delete params.pageNo
  1494. delete params.pageSize
  1495. return axios({
  1496. url: url,
  1497. data: params,
  1498. method: 'post',
  1499. headers: {
  1500. 'module': encodeURIComponent('列表查询')
  1501. }
  1502. })
  1503. }
  1504. // 促销销售单报表(统计) 统计
  1505. export const brandTypeReportCount = (params) => {
  1506. return axios({
  1507. url: '/report/brandTypeReport/reportCount',
  1508. data: params,
  1509. method: 'post'
  1510. })
  1511. }
  1512. // 促销销售单报表(统计) 导出
  1513. export const brandTypeReportExport = (params) => {
  1514. return axios({
  1515. url: '/report/brandTypeReport/excelTireOnlineList',
  1516. data: params,
  1517. method: 'post',
  1518. responseType: 'blob',
  1519. headers: {
  1520. 'module': encodeURIComponent('导出')
  1521. }
  1522. })
  1523. }
  1524. // 经营分析报表
  1525. export const manageAnalysisReportQuery = (params) => {
  1526. const url = `/report/manageAnalysis/query`
  1527. delete params.pageNo
  1528. delete params.pageSize
  1529. return axios({
  1530. url: url,
  1531. data: params,
  1532. method: 'post',
  1533. headers: {
  1534. 'module': encodeURIComponent('各品类经营分析报表查询')
  1535. }
  1536. })
  1537. }
  1538. // 经营分析报表导出
  1539. export const manageAnalysisReportExport = (params) => {
  1540. return axios({
  1541. url: '/report/manageAnalysis/export',
  1542. data: params,
  1543. method: 'post',
  1544. responseType: 'blob',
  1545. headers: {
  1546. 'module': encodeURIComponent('各品类经营分析报表导出')
  1547. }
  1548. })
  1549. }