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

stock.js 22KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099
  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. }
  954. export function getStockFlowOrderList(params){
  955. return request({
  956. url:"/api/stock/getstockfloworderlist",
  957. method:"Get",
  958. params:params,
  959. })
  960. }