Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

stock.js 22KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091
  1. import request from '@/utils/request'
  2. export function createDealer(params) {
  3. return request({
  4. url: '/api/stock/dealer/create',
  5. method: 'post',
  6. params: params
  7. })
  8. }
  9. export function modifyDealer(params) {
  10. return request({
  11. url: '/api/stock/dealer/modify',
  12. method: 'post',
  13. params: params
  14. })
  15. }
  16. export function getDealersList(params) {
  17. return request({
  18. url: '/api/stock/dealer/list',
  19. method: 'get',
  20. params: params
  21. })
  22. }
  23. export function deleteDealer(params) {
  24. return request({
  25. url: '/api/stock/dealer/delete',
  26. method: 'post',
  27. params: params
  28. })
  29. }
  30. export function GetDealer(params) {
  31. return request({
  32. url: '/api/stock/dealer/get',
  33. method: 'get',
  34. params: params
  35. })
  36. }
  37. export function createManufacturer(params) {
  38. return request({
  39. url: '/api/stock/manufacturer/create',
  40. method: 'post',
  41. params: params
  42. })
  43. }
  44. export function modifyManufacturer(params) {
  45. return request({
  46. url: '/api/stock/manufacturer/modify',
  47. method: 'post',
  48. params: params
  49. })
  50. }
  51. export function getManufacturerList(params) {
  52. return request({
  53. url: '/api/stock/manufacturer/list',
  54. method: 'get',
  55. params: params
  56. })
  57. }
  58. export function deleteManufacturer(params) {
  59. return request({
  60. url: '/api/stock/manufacturer/delete',
  61. method: 'post',
  62. params: params
  63. })
  64. }
  65. export function GetManufacturer(params) {
  66. return request({
  67. url: '/api/stock/manufacturer/get',
  68. method: 'get',
  69. params: params
  70. })
  71. }
  72. export function createGoodType(params) {
  73. return request({
  74. url: '/api/stock/good/type/create',
  75. method: 'post',
  76. params: params
  77. })
  78. }
  79. export function modifyGoodType(params) {
  80. return request({
  81. url: '/api/stock/good/type/modify',
  82. method: 'post',
  83. params: params
  84. })
  85. }
  86. export function getGoodTypeList(params) {
  87. return request({
  88. url: '/api/stock/good/type/list',
  89. method: 'get',
  90. params: params
  91. })
  92. }
  93. export function deleteGoodType(params) {
  94. return request({
  95. url: '/api/type/delete',
  96. method: 'post',
  97. params: params
  98. })
  99. }
  100. export function GetGoodType(params) {
  101. return request({
  102. url: '/api/stock/good/type/get',
  103. method: 'get',
  104. params: params
  105. })
  106. }
  107. export function createGoodInfo(params) {
  108. console.log('prams', params)
  109. return request({
  110. url: '/api/stock/good/info/create',
  111. method: 'post',
  112. params: params
  113. })
  114. }
  115. export function modifyGoodInfo(params) {
  116. return request({
  117. url: '/api/stock/good/info/modify',
  118. method: 'post',
  119. params: params
  120. })
  121. }
  122. export function getGoodInfoList(params) {
  123. return request({
  124. url: '/api/stock/good/info/list',
  125. method: 'get',
  126. params: params
  127. })
  128. }
  129. export function deleteGoodInfo(params) {
  130. return request({
  131. url: '/api/info/delete',
  132. method: 'post',
  133. params: params
  134. })
  135. }
  136. export function GetGoodInfoByGoodId(params) {
  137. return request({
  138. url: '/api/stock/good/info/get',
  139. method: 'get',
  140. params: params
  141. })
  142. }
  143. export function GetGoodInfo(params) {
  144. return request({
  145. url: '/api/stock/good/info',
  146. method: 'get',
  147. params: params
  148. })
  149. }
  150. export function GetAllDeals(params) {
  151. return request({
  152. url: '/api/stock/dealer/all',
  153. method: 'get',
  154. params: params
  155. })
  156. }
  157. export function GetAllManufacturer(params) {
  158. return request({
  159. url: '/api/stock/manufacturer/all',
  160. method: 'get',
  161. params: params
  162. })
  163. }
  164. export function GetAllGoodType(params) {
  165. return request({
  166. url: '/api/stock/good/type/all',
  167. method: 'get',
  168. params: params
  169. })
  170. }
  171. export function GetAllGoodInfo(params) {
  172. return request({
  173. url: '/api/stock/good/info/all',
  174. method: 'get',
  175. params: params
  176. })
  177. }
  178. export function postWarehouse(data, warehousing_time, type, storehouse_id, warehousing_info_id) {
  179. return request({
  180. url: '/api/warehouse/create?warehousing_time=' + warehousing_time + '&type=' + type + '&storehouse_id=' + storehouse_id + '&warehousing_info_id=' + warehousing_info_id,
  181. method: 'post',
  182. data: data
  183. })
  184. }
  185. export function getWarehouseList(params) {
  186. return request({
  187. url: '/api/warehouse/list',
  188. method: 'get',
  189. params: params
  190. })
  191. }
  192. export function getWarehouseInfoList(params) {
  193. return request({
  194. url: '/api/warehouseinfo/list',
  195. method: 'get',
  196. params: params
  197. })
  198. }
  199. export function postSalesReturn(params, salesReturnTime, salesReturnTotal, dealer_id, manufacturer_id, type) {
  200. return request({
  201. url: '/api/salesreturn/create?time=' + salesReturnTime + '&total=' + salesReturnTotal + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type,
  202. method: 'post',
  203. data: params
  204. })
  205. }
  206. export function getWarehouseInfo(params) {
  207. return request({
  208. url: '/api/info/get',
  209. method: 'get',
  210. params: params
  211. })
  212. }
  213. export function getSalesReturnList(params) {
  214. return request({
  215. url: '/api/salesreturn/list',
  216. method: 'get',
  217. params: params
  218. })
  219. }
  220. export function getSalesReturnInfoList(params) {
  221. return request({
  222. url: '/api/return/info',
  223. method: 'get',
  224. params: params
  225. })
  226. }
  227. export function getAllWarehouseInfo(params) {
  228. return request({
  229. url: '/api/warehouseinfo',
  230. method: 'get',
  231. params: params
  232. })
  233. }
  234. export function getWarehouseOutInfoList(params) {
  235. return request({
  236. url: '/api/stock/out/info',
  237. method: 'get',
  238. params: params
  239. })
  240. }
  241. export function postWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type, storehouse_id,warehouseOut_id) {
  242. return request({
  243. url: '/api/warehouseout/create?warehousing_out_time=' + warehousing_time + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type + '&storehouse_id=' + storehouse_id+"&warehouseOut_id="+warehouseOut_id,
  244. method: 'post',
  245. data: params
  246. })
  247. }
  248. export function getWarehouseInfoCountByGoodId(params) {
  249. return request({
  250. url: '/api/info/count',
  251. method: 'get',
  252. params: params
  253. })
  254. }
  255. export function getWarehouseInfoByGoodTypeId(params) {
  256. return request({
  257. url: '/api/warehouse/type',
  258. method: 'get',
  259. params: params
  260. })
  261. }
  262. export function getCancelStockInfoList(params) {
  263. return request({
  264. url: '/api/cancel/info',
  265. method: 'get',
  266. params: params
  267. })
  268. }
  269. export function getAllStockOutList(params) {
  270. return request({
  271. url: '/api/out/list',
  272. method: 'get',
  273. params: params
  274. })
  275. }
  276. export function getAllStockQueryList(params) {
  277. return request({
  278. url: '/api/stock/query',
  279. method: 'get',
  280. params: params
  281. })
  282. }
  283. export function getWarehouseInfoByOrdeNumber(params) {
  284. return request({
  285. url: '/api/stock/warehouse/get',
  286. method: 'get',
  287. params: params
  288. })
  289. }
  290. export function modifyWarehouseInfo(params) {
  291. return request({
  292. url: '/api/warehouse/edit',
  293. method: 'post',
  294. params: params
  295. })
  296. }
  297. export function deleteWarehouseInfo(params) {
  298. return request({
  299. url: '/api/warehouse/delete',
  300. method: 'post',
  301. params: params
  302. })
  303. }
  304. export function getWarehouseOutInfoByOrdeNumber(params) {
  305. return request({
  306. url: '/api/stock/out/get',
  307. method: 'get',
  308. params: params
  309. })
  310. }
  311. export function modifyWarehouseOutInfo(params) {
  312. return request({
  313. url: '/api/stock/out/edit',
  314. method: 'post',
  315. params: params
  316. })
  317. }
  318. export function GetAllConfig() {
  319. return request({
  320. url: '/api/stock/config',
  321. method: 'get'
  322. })
  323. }
  324. export function GetAllGoodInfoByID(params) {
  325. return request({
  326. url: '/api/good/get',
  327. method: 'get',
  328. params: params
  329. })
  330. }
  331. export function DeleteWarehouseInfoItem(params) {
  332. return request({
  333. url: '/api/warehouseinfo/delete',
  334. method: 'post',
  335. params: params
  336. })
  337. }
  338. export function EditWarehouse(params, warehousing_time, id, type, manufacturer_id, dealer_id, storehouse_id) {
  339. return request({
  340. url: '/api/warehouse/edit?warehousing_time=' + warehousing_time + '&id=' + id + '&type=' + type + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&storehouse_id=' + storehouse_id,
  341. method: 'post',
  342. data: params
  343. })
  344. }
  345. export function getSalesReturnConfig(params) {
  346. return request({
  347. url: '/api/return/config',
  348. method: 'get',
  349. params: params
  350. })
  351. }
  352. export function deleteSalesReturn(params) {
  353. return request({
  354. url: '/api/salesreturn/delete',
  355. method: 'post',
  356. params: params
  357. })
  358. }
  359. export function getSaleReturnInfoList(params) {
  360. return request({
  361. url: '/api/stock/salesReturn/list',
  362. method: 'get',
  363. params: params
  364. })
  365. }
  366. export function getReturnList(params) {
  367. return request({
  368. url: '/api/salesreturninfo/list',
  369. method: 'get',
  370. params: params
  371. })
  372. }
  373. export function deleteSalesReturnInfo(params) {
  374. return request({
  375. url: '/api/salesreturninfo/delete',
  376. method: 'post',
  377. params: params
  378. })
  379. }
  380. export function editSalesReturnInfo(params, return_time, id, type, manufacturer_id, dealer_id) {
  381. return request({
  382. url: '/api/salesreturn/edit?return_time=' + return_time + '&id=' + id + '&type=' + type + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id,
  383. method: 'post',
  384. data: params
  385. })
  386. }
  387. export function deleteWarehouseOut(params) {
  388. return request({
  389. url: '/api/warehouseout/delete',
  390. method: 'post',
  391. params: params
  392. })
  393. }
  394. export function deleteWarehouseOutInfo(params) {
  395. return request({
  396. url: '/api/warehouseoutinfo/delete',
  397. method: 'post',
  398. params: params
  399. })
  400. }
  401. export function getWarehouseOutList(params) {
  402. return request({
  403. url: '/api/warehouseout/list',
  404. method: 'get',
  405. params: params
  406. })
  407. }
  408. export function getWarehouseOutInfo(params) {
  409. return request({
  410. url: '/api/warehouseout/info',
  411. method: 'get',
  412. params: params
  413. })
  414. }
  415. export function editWarehouseoutInfo(params, warehouse_out_time, id, type, manufacturer_id, dealer_id, storehouse_id) {
  416. return request({
  417. url: '/api/warehouseout/edit?warehouse_out_time=' + warehouse_out_time + '&id=' + id + '&type=' + type + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&storehouse_id=' + storehouse_id,
  418. method: 'post',
  419. data: params
  420. })
  421. }
  422. export function getCancelStockList(params) {
  423. return request({
  424. url: '/api/cancelstock/list',
  425. method: 'get',
  426. params: params
  427. })
  428. }
  429. export function editCancelStockInfo(params, cancel_stock_time, id, type, manufacturer_id, dealer_id, storehouse_id) {
  430. return request({
  431. url: '/api/cancelstockinfo/edit?cancel_time=' + cancel_stock_time + '&id=' + id + '&type=' + type + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&storehouse_id=' + storehouse_id,
  432. method: 'post',
  433. data: params
  434. })
  435. }
  436. export function getCancelStockInfo(params) {
  437. return request({
  438. url: '/api/cancelstock/info',
  439. method: 'get',
  440. params: params
  441. })
  442. }
  443. export function deleteCancelStock(params) {
  444. return request({
  445. url: '/api/cancelstock/delete',
  446. method: 'post',
  447. params: params
  448. })
  449. }
  450. export function deleteCancelStockInfo(params) {
  451. return request({
  452. url: '/api/cancelstockinfo/delete',
  453. method: 'post',
  454. params: params
  455. })
  456. }
  457. export function postCancelStock(params, cancelStockTime, manufacturer_id, dealer_id, type, storehouse_id, cancel_stock_id) {
  458. return request({
  459. url: '/api/cancelstock/create?time=' + cancelStockTime + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&type=' + type + '&storehouse_id=' + storehouse_id + '&cancel_stock_id=' + cancel_stock_id,
  460. method: 'post',
  461. data: params
  462. })
  463. }
  464. export function getCancelStockConfig(params) {
  465. return request({
  466. url: '/api/cancelstockinfo/config',
  467. method: 'get',
  468. params: params
  469. })
  470. }
  471. export function getStockDetail(params) {
  472. return request({
  473. url: '/api/stock/detail',
  474. method: 'get',
  475. params: params
  476. })
  477. }
  478. export function getPrintStockGood(params) {
  479. return request({
  480. url: '/api/print/stock',
  481. method: 'get',
  482. params: params
  483. })
  484. }
  485. export function getWarehouseOutUser(params) {
  486. return request({
  487. url: '/api/warehouseout/user',
  488. method: 'get',
  489. params: params
  490. })
  491. }
  492. export function PostSearchStock(keyword, params) {
  493. return request({
  494. url: '/api/warehouseout/postsearchstock?keyword=' + keyword,
  495. method: 'get',
  496. params: params
  497. })
  498. }
  499. export function GetOutStockTotalCount(params) {
  500. return request({
  501. url: '/api/warehouseout/getoutstocktotalcount',
  502. method: 'get',
  503. params: params
  504. })
  505. }
  506. export function postGoodInformation(params) {
  507. return request({
  508. url: '/api/good/postgoodinformation',
  509. method: 'Post',
  510. data: params
  511. })
  512. }
  513. export function postDrugInformation(params) {
  514. return request({
  515. url: '/api/good/postdruginformation',
  516. method: 'post',
  517. data: params
  518. })
  519. }
  520. export function getInitializtion(params) {
  521. return request({
  522. url: '/api/good/initializtion',
  523. method: 'get',
  524. params: params
  525. })
  526. }
  527. export function getWarehouseOrderInfoList(params) {
  528. return request({
  529. url: '/api/good/getwarehouseorderinfolist',
  530. method: 'get',
  531. params: params
  532. })
  533. }
  534. export function postSearchGoodList(keyword, storehouse_id, params) {
  535. return request({
  536. url: '/api/good/postsearchgoodlist?keyword=' + keyword + '&storehouse_id=' + storehouse_id,
  537. method: 'Get',
  538. params: params
  539. })
  540. }
  541. export function getAllStockList(params) {
  542. return request({
  543. url: '/api/good/getallstocklist',
  544. method: 'get',
  545. params: params
  546. })
  547. }
  548. export function getStockDrugCount(params) {
  549. return request({
  550. url: '/api/good/getstockdrugcount',
  551. method: 'get',
  552. params: params
  553. })
  554. }
  555. export function getOrderDetailByOrderId(params) {
  556. return request({
  557. url: '/api/good/getorderdetialbyorderid',
  558. method: 'get',
  559. params: params
  560. })
  561. }
  562. export function getOrderDetailById(params) {
  563. return request({
  564. url: '/api/good/getorderdetaibyid',
  565. method: 'Get',
  566. params: params
  567. })
  568. }
  569. export function getSingleOutOrderDetail(params) {
  570. return request({
  571. url: '/api/good/getsingleoutorderdetail',
  572. method: 'get',
  573. params: params
  574. })
  575. }
  576. export function getExportStockList(params) {
  577. return request({
  578. url: '/api/stock/getexportstocklist',
  579. method: 'get',
  580. params: params
  581. })
  582. }
  583. export function getOutExportList(params) {
  584. return request({
  585. url: '/api/stock/getoutexprotlist',
  586. method: 'get',
  587. params: params
  588. })
  589. }
  590. export function getSingCancelOrder(params) {
  591. return request({
  592. url: '/api/stock/getsinglecancelorder',
  593. method: 'get',
  594. params: params
  595. })
  596. }
  597. export function getCancelStockOrderPrint(params) {
  598. return request({
  599. url: '/api/stock/getcancelstockorderprint',
  600. method: 'get',
  601. params: params
  602. })
  603. }
  604. export function getStockBatchNumber(params) {
  605. return request({
  606. url: '/api/stock/getstockbatchnumber',
  607. method: 'get',
  608. params: params
  609. })
  610. }
  611. export function getStockFlow(params) {
  612. return request({
  613. url: '/api/stock/getstockflow',
  614. method: 'Get',
  615. params: params
  616. })
  617. }
  618. export function getCancelExportList(params) {
  619. return request({
  620. url: '/api/cancel/getcancelexportlist',
  621. method: 'get',
  622. params: params
  623. })
  624. }
  625. export function getGoodDetailPrintList(params) {
  626. return request({
  627. url: '/api/stock/getgooddetailprintlist',
  628. method: 'get',
  629. params: params
  630. })
  631. }
  632. export function postSearchGoodWarehouseList(params) {
  633. return request({
  634. url: '/api/stock/postsearchgoodwarehouselist',
  635. method: 'get',
  636. params: params
  637. })
  638. }
  639. export function saveAdjustPrice(data) {
  640. return request({
  641. url: '/api/stock/saveadjustprice',
  642. method: 'post',
  643. data: data
  644. })
  645. }
  646. export function getAllStockPrice(params) {
  647. return request({
  648. url: '/api/stock/getallstockprice',
  649. method: 'get',
  650. params: params
  651. })
  652. }
  653. export function getCheckedPrice(params) {
  654. return request({
  655. url: '/api/stock/getcheckprice',
  656. method: 'get',
  657. params: params
  658. })
  659. }
  660. export function SaveCheckedPrice(params) {
  661. return request({
  662. url: '/api/stock/savecheckedprice',
  663. method: 'get',
  664. params: params
  665. })
  666. }
  667. export function getAdjustPriceById(params) {
  668. return request({
  669. url: '/api/stock/getadjustpriceinfo',
  670. method: 'get',
  671. params: params
  672. })
  673. }
  674. export function saveReportStock(data) {
  675. return request({
  676. url: '/api/stock/savereportstock',
  677. method: 'post',
  678. data: data
  679. })
  680. }
  681. export function getReportStockList(params) {
  682. return request({
  683. url: '/api/stock/getreportstocklist',
  684. method: 'get',
  685. params: params
  686. })
  687. }
  688. export function SaveCheckedDamage(params) {
  689. return request({
  690. url: '/api/stock/savecheckdamage',
  691. method: 'get',
  692. params: params
  693. })
  694. }
  695. export function saveInventory(data) {
  696. return request({
  697. url: '/api/stock/saveinventory',
  698. method: 'post',
  699. data: data
  700. })
  701. }
  702. export function getInventoryList(params) {
  703. return request({
  704. url: '/api/stock/getinventorylist',
  705. method: 'get',
  706. params: params
  707. })
  708. }
  709. export function SaveCheckedInventory(params) {
  710. return request({
  711. url: '/api/stock/savecheckinventory',
  712. method: 'Get',
  713. params: params
  714. })
  715. }
  716. export function getModifyPriceDetail(id, params) {
  717. return request({
  718. url: '/api/stock/getmodifypriceDetail?id=' + id,
  719. method: 'get',
  720. params: params
  721. })
  722. }
  723. export function updateStockPrice(params) {
  724. return request({
  725. url: '/api/stock/updatestockprice',
  726. method: 'get',
  727. params: params
  728. })
  729. }
  730. export function deleteStockPrice(params) {
  731. return request({
  732. url: '/api/stock/deletestockprice',
  733. method: 'Get',
  734. params: params
  735. })
  736. }
  737. export function getStockDamageDetail(id, params) {
  738. return request({
  739. url: '/api/stock/getstockdamagedetal?id=' + id,
  740. method: 'get',
  741. params: params
  742. })
  743. }
  744. export function modifyPrice(params) {
  745. return request({
  746. url: '/api/sotck/modifyprice',
  747. method: 'Get',
  748. params: params
  749. })
  750. }
  751. export function deleteStockDamage(params) {
  752. return request({
  753. url: '/api/stock/deletestockdamage',
  754. method: 'get',
  755. params: params
  756. })
  757. }
  758. export function getStockDamageById(params) {
  759. return request({
  760. url: '/api/stock/getstockdamagebyid',
  761. method: 'get',
  762. params: params
  763. })
  764. }
  765. export function getInventoryDetail(id, params) {
  766. return request({
  767. url: 'api/sotck/getinventorydetail?id=' + id,
  768. method: 'Get',
  769. params: params
  770. })
  771. }
  772. export function modifyInventory(params) {
  773. return request({
  774. url: '/api/stock/modifyinventory',
  775. method: 'Get',
  776. params: params
  777. })
  778. }
  779. export function deleteInventory(id, params) {
  780. return request({
  781. url: '/api/stock/deleteinventory?id=' + id,
  782. method: 'get',
  783. params: params
  784. })
  785. }
  786. export function getInventoryDetailList(params) {
  787. return request({
  788. url: '/api/stock/getinventorydetaillist',
  789. method: 'Get',
  790. params: params
  791. })
  792. }
  793. export function getInventoryPrintList(params) {
  794. return request({
  795. url: '/api/stock/getinventoryprintlist',
  796. method: 'Get',
  797. params: params
  798. })
  799. }
  800. export function getInventoryDetailPrintList(params) {
  801. return request({
  802. url: '/api/stock/getinventorydetailprintlist',
  803. method: 'Get',
  804. params: params
  805. })
  806. }
  807. export function getGoodWarehouseList(params) {
  808. return request({
  809. url: '/api/stock/getgoodwarehouselist',
  810. method: 'Get',
  811. params: params
  812. })
  813. }
  814. export function proofInventory(params) {
  815. return request({
  816. url: '/api/stock/proofinventory',
  817. method: 'get',
  818. params: params
  819. })
  820. }
  821. export function getWarehouseTotal(params) {
  822. return request({
  823. url: '/api/stock/getwarehousetotal',
  824. method: 'Get',
  825. params: params
  826. })
  827. }
  828. export function getGoodInventoryWarehouseList(params) {
  829. return request({
  830. url: '/api/stock/getgoodinventorywarehouselist',
  831. method: 'get',
  832. params: params
  833. })
  834. }
  835. export function saveStockInentoryList(data) {
  836. return request({
  837. url: '/api/stock/savestockinentorylist',
  838. method: 'post',
  839. data: data
  840. })
  841. }
  842. export function getDamageDetailByGoodId(params) {
  843. return request({
  844. url: '/api/sotck/getdamagedetailbygoodid',
  845. method: 'get',
  846. params: params
  847. })
  848. }
  849. export function getInventoryExportList(params) {
  850. return request({
  851. url: '/api/stock/getinventoryexportlist',
  852. method: 'get',
  853. params: params
  854. })
  855. }
  856. export function getDrugDetailSummary(params) {
  857. return request({
  858. url: '/api/stock/getdrugdetailsummary',
  859. method: 'get',
  860. params: params
  861. })
  862. }
  863. export function getGoodDetailSummary(params) {
  864. return request({
  865. url: '/api/stock/getgooddetialsummary',
  866. method: 'Get',
  867. params: params
  868. })
  869. }
  870. export function getdealername(params) {
  871. return request({
  872. url: '/api/stock/dealer/getdealername',
  873. method: 'Get',
  874. params: params
  875. })
  876. }
  877. export function getmanufacturername(params) {
  878. return request({
  879. url: '/api/stock/manufacturer/getmanufacturername',
  880. method: 'get',
  881. params: params
  882. })
  883. }
  884. export function checkWarehouseOut(params) {
  885. return request({
  886. url: '/api/stock/checkwarehouseout',
  887. method: 'get',
  888. params: params
  889. })
  890. }
  891. export function returnCheckWarehouseOut(params) {
  892. return request({
  893. url: '/api/stock/returncheckwarehouseout',
  894. method: 'get',
  895. params: params
  896. })
  897. }
  898. export function toCheckWarehouseInfo(params) {
  899. return request({
  900. url: '/api/stock/tocheckwarehouseinfo',
  901. method: 'get',
  902. params: params
  903. })
  904. }
  905. export function toReturnCheckWarehouseInfo(params) {
  906. return request({
  907. url: '/api/stock/returncheckwarehouseinfo',
  908. method: 'get',
  909. params: params
  910. })
  911. }
  912. export function checkStockWarehouseInfo(params) {
  913. return request({
  914. url: '/api/stock/checkstockwarehouseinfo',
  915. method: 'get',
  916. params: params
  917. })
  918. }
  919. export function checkRturnStockWarehouseInfo(params) {
  920. return request({
  921. url: '/api/stock/checkreturnstockwarehouseinfo',
  922. method: 'get',
  923. params: params
  924. })
  925. }
  926. export function getPrintList(params) {
  927. return request({
  928. url: '/api/stock/getprintlist',
  929. method: 'get',
  930. params: params
  931. })
  932. }
  933. export function getwarehouseinfolist(params) {
  934. return request({
  935. url: '/api/stock/getwarehouseinfolist',
  936. method: 'get',
  937. params: params
  938. })
  939. }
  940. export function getNewGoodWarehouseInfo(params) {
  941. return request({
  942. url: '/api/stock/getnewgoodwarehouseinfo',
  943. method: 'get',
  944. params: params
  945. })
  946. }
  947. export function getNewWarehouseOutInfoList(params) {
  948. return request({
  949. url: '/api/stock/getnewwarehouseoutinfolist',
  950. method: 'Get',
  951. params: params
  952. })
  953. }