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

drug_stock.js 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. import request from '@/utils/request'
  2. export function postDrugWarehouse(params, warehousing_time, manufacturer_id, dealer_id, type) {
  3. return request({
  4. url: '/api/drugwarehouse/create?warehousing_time=' + warehousing_time + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&type=' + type,
  5. method: 'post',
  6. data: params
  7. })
  8. }
  9. export function getDrugWarehouseList(params) {
  10. return request({
  11. url: '/api/drugwarehouse/list',
  12. method: 'get',
  13. params: params
  14. })
  15. }
  16. export function getDrugWarehouseInfoList(params) {
  17. return request({
  18. url: '/api/drugwarehouseinfo/list',
  19. method: 'get',
  20. params: params
  21. })
  22. }
  23. export function postDrugSalesReturn(params, salesReturnTime, salesReturnTotal, dealer_id, manufacturer_id, type) {
  24. return request({
  25. url: '/api/drugsalesreturn/create?time=' + salesReturnTime + '&total=' + salesReturnTotal + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type,
  26. method: 'post',
  27. data: params
  28. })
  29. }
  30. export function getDrugWarehouseInfo(params) {
  31. return request({
  32. url: '/api/info/get',
  33. method: 'get',
  34. params: params
  35. })
  36. }
  37. export function getDrugSalesReturnList(params) {
  38. return request({
  39. url: '/api/drugsalesreturn/list',
  40. method: 'get',
  41. params: params
  42. })
  43. }
  44. export function getDrugSalesReturnInfoList(params) {
  45. return request({
  46. url: '/api/return/info',
  47. method: 'get',
  48. params: params
  49. })
  50. }
  51. export function getAllDrugWarehouseInfo(params) {
  52. return request({
  53. url: '/api/warehouseinfo',
  54. method: 'get',
  55. params: params
  56. })
  57. }
  58. export function getDrugWarehouseOutInfoList(params) {
  59. return request({
  60. url: '/api/stock/out/info',
  61. method: 'get',
  62. params: params
  63. })
  64. }
  65. export function postDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type) {
  66. return request({
  67. url: '/api/drugwarehouseout/create?warehousing_out_time=' + warehousing_time + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type,
  68. method: 'post',
  69. data: params
  70. })
  71. }
  72. export function getDrugWarehouseInfoCountByGoodId(params) {
  73. return request({
  74. url: '/api/info/count',
  75. method: 'get',
  76. params: params
  77. })
  78. }
  79. export function getDrugWarehouseInfoByGoodTypeId(params) {
  80. return request({
  81. url: '/api/warehouse/type',
  82. method: 'get',
  83. params: params
  84. })
  85. }
  86. export function getDrugCancelStockInfoList(params) {
  87. return request({
  88. url: '/api/cancel/info',
  89. method: 'get',
  90. params: params
  91. })
  92. }
  93. export function getAllDrugStockOutList(params) {
  94. return request({
  95. url: '/api/out/list',
  96. method: 'get',
  97. params: params
  98. })
  99. }
  100. export function getAllDrugStockQueryList(params) {
  101. return request({
  102. url: '/api/drugstock/query',
  103. method: 'get',
  104. params: params
  105. })
  106. }
  107. export function getDrugWarehouseInfoByOrdeNumber(params) {
  108. return request({
  109. url: '/api/stock/warehouse/get',
  110. method: 'get',
  111. params: params
  112. })
  113. }
  114. export function modifyDrugWarehouseInfo(params) {
  115. return request({
  116. url: '/api/drugwarehouse/edit',
  117. method: 'post',
  118. params: params
  119. })
  120. }
  121. export function deleteDrugWarehouseInfo(params) {
  122. return request({
  123. url: '/api/drugwarehouse/delete',
  124. method: 'post',
  125. params: params
  126. })
  127. }
  128. export function getDrugWarehouseOutInfoByOrdeNumber(params) {
  129. return request({
  130. url: '/api/stock/out/get',
  131. method: 'get',
  132. params: params
  133. })
  134. }
  135. export function modifyDrugWarehouseOutInfo(params) {
  136. return request({
  137. url: '/api/stock/out/edit',
  138. method: 'post',
  139. params: params
  140. })
  141. }
  142. export function GetAllConfig() {
  143. return request({
  144. url: '/api/drugstock/config',
  145. method: 'get'
  146. })
  147. }
  148. export function GetAllDrugInfoByID(params) {
  149. return request({
  150. url: '/api/drugstock/get',
  151. method: 'get',
  152. params: params
  153. })
  154. }
  155. export function DeleteDrugWarehouseInfoItem(params) {
  156. return request({
  157. url: '/api/drugwarehouseinfo/delete',
  158. method: 'post',
  159. params: params
  160. })
  161. }
  162. export function EditDrugWarehouse(params, warehousing_time, id,type,manufacturer_id,dealer_id) {
  163. return request({
  164. url: '/api/drugwarehouse/edit?warehousing_time=' + warehousing_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
  165. method: 'post',
  166. data: params
  167. })
  168. }
  169. export function getDrugSalesReturnConfig(params) {
  170. return request({
  171. url: '/api/return/config',
  172. method: 'get',
  173. params: params
  174. })
  175. }
  176. export function deleteDrugSalesReturn(params) {
  177. return request({
  178. url: '/api/drugsalesreturn/delete',
  179. method: 'post',
  180. params: params
  181. })
  182. }
  183. export function getDrugSaleReturnInfoList(params) {
  184. return request({
  185. url: '/api/stock/drugsalesReturn/list',
  186. method: 'get',
  187. params: params
  188. })
  189. }
  190. export function getDrugReturnList(params) {
  191. return request({
  192. url: '/api/drugsalesreturninfo/list',
  193. method: 'get',
  194. params: params
  195. })
  196. }
  197. export function deleteDrugSalesReturnInfo(params) {
  198. return request({
  199. url: '/api/drugsalesreturninfo/delete',
  200. method: 'post',
  201. params: params
  202. })
  203. }
  204. export function editDrugSalesReturnInfo(params, return_time, id,type,manufacturer_id,dealer_id) {
  205. return request({
  206. url: '/api/drugsalesreturn/edit?return_time=' + return_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
  207. method: 'post',
  208. data: params
  209. })
  210. }
  211. export function deleteDrugWarehouseOut(params) {
  212. return request({
  213. url: '/api/drugwarehouseout/delete',
  214. method: 'post',
  215. params: params
  216. })
  217. }
  218. export function deleteDrugWarehouseOutInfo(params) {
  219. return request({
  220. url: '/api/drugwarehouseoutinfo/delete',
  221. method: 'post',
  222. params: params
  223. })
  224. }
  225. export function getDrugWarehouseOutList(params) {
  226. return request({
  227. url: '/api/drugwarehouseout/list',
  228. method: 'get',
  229. params: params
  230. })
  231. }
  232. export function getDrugWarehouseOutInfo(params) {
  233. return request({
  234. url: '/api/drugwarehouseout/info',
  235. method: 'get',
  236. params: params
  237. })
  238. }
  239. export function editDrugWarehouseoutInfo(params, warehouse_out_time, id,type,manufacturer_id,dealer_id) {
  240. return request({
  241. url: '/api/drugwarehouseout/edit?warehouse_out_time=' + warehouse_out_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
  242. method: 'post',
  243. data: params
  244. })
  245. }
  246. export function getDrugCancelStockList(params) {
  247. return request({
  248. url: '/api/drugcancelstock/list',
  249. method: 'get',
  250. params: params
  251. })
  252. }
  253. export function editDrugCancelStockInfo(params, cancel_stock_time, id,type,manufacturer_id,dealer_id) {
  254. return request({
  255. url: '/api/drugcancelstockinfo/edit?cancel_time=' + cancel_stock_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id=" + dealer_id,
  256. method: 'post',
  257. data: params
  258. })
  259. }
  260. export function getDrugCancelStockInfo(params) {
  261. return request({
  262. url: '/api/drugcancelstock/info',
  263. method: 'get',
  264. params: params
  265. })
  266. }
  267. export function deleteDrugCancelStock(params) {
  268. return request({
  269. url: '/api/drugcancelstock/delete',
  270. method: 'post',
  271. params: params
  272. })
  273. }
  274. export function deleteDrugCancelStockInfo(params) {
  275. return request({
  276. url: '/api/drugcancelstockinfo/delete',
  277. method: 'post',
  278. params: params
  279. })
  280. }
  281. export function postDrugCancelStock(params, cancelStockTime, manufacturer_id, dealer_id, type) {
  282. return request({
  283. url: '/api/drugcancelstock/create?time=' + cancelStockTime + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&type=' + type,
  284. method: 'post',
  285. data: params
  286. })
  287. }
  288. export function getDrugCancelStockConfig(params) {
  289. return request({
  290. url: '/api/drugcancelstockinfo/config',
  291. method: 'get',
  292. params: params
  293. })
  294. }
  295. export function getStockDetail(params) {
  296. return request({
  297. url: '/api/drugstock/detail',
  298. method: 'get',
  299. params: params
  300. })
  301. }
  302. export function getPrintStockGood(params) {
  303. return request({
  304. url: '/api/print/stock',
  305. method: 'get',
  306. params: params
  307. })
  308. }
  309. export function getDrugWarehouseOutUser(params) {
  310. return request({
  311. url: '/api/drugwarehouseout/user',
  312. method: 'get',
  313. params: params
  314. })
  315. }
  316. export function createDrugStockAutomaticReduceConfig(is_open) {
  317. return request({
  318. url: '/api/drugstock/automaticreduce/isopen?is_open='+is_open,
  319. method: 'post',
  320. })
  321. }
  322. export function getDrugStockAutomaticReduceConfig() {
  323. return request({
  324. url: '/api/drugstockautomaticreduce/get',
  325. method: 'get',
  326. })
  327. }
  328. export function getDrugIndetail(params){
  329. return request({
  330. url:"/api/drugstock/getdrugindetail",
  331. method:"Get",
  332. params:params
  333. })
  334. }
  335. export function getDrugCancelOrder(params){
  336. return request({
  337. url:"/api/drugstock/getdrugcancelorder",
  338. method:"get",
  339. params:params
  340. })
  341. }
  342. export function getDrugOutDetail(params){
  343. return request({
  344. url:"/api/drugstock/getdrugoutdetail",
  345. method:"get",
  346. params:params
  347. })
  348. }
  349. export function getDrugCancelDetail(params){
  350. return request({
  351. url:"/api/drugstock/getdrugcanceldetail",
  352. method:"Get",
  353. params:params
  354. })
  355. }
  356. export function getDrugAutoMaticList(params){
  357. return request({
  358. url:"/api/drugstock/getdrugautomaticlist",
  359. method:"Get",
  360. params:params,
  361. })
  362. }
  363. export function getDrugWarehouseOrderInfo(params){
  364. return request({
  365. url:"/api/drugstock/getdrugwarehouseorderinfo",
  366. method:"get",
  367. params:params
  368. })
  369. }