123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444 |
- import request from '@/utils/request'
-
- export function postDrugWarehouse(params, warehousing_time, manufacturer_id, dealer_id, type) {
-
- return request({
- url: '/api/drugwarehouse/create?warehousing_time=' + warehousing_time + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&type=' + type,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugWarehouseList(params) {
- return request({
- url: '/api/drugwarehouse/list',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugWarehouseInfoList(params) {
- return request({
- url: '/api/drugwarehouseinfo/list',
- method: 'get',
- params: params
- })
- }
-
- export function postDrugSalesReturn(params, salesReturnTime, salesReturnTotal, dealer_id, manufacturer_id, type) {
- return request({
- url: '/api/drugsalesreturn/create?time=' + salesReturnTime + '&total=' + salesReturnTotal + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugWarehouseInfo(params) {
- return request({
- url: '/api/info/get',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugSalesReturnList(params) {
- return request({
- url: '/api/drugsalesreturn/list',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugSalesReturnInfoList(params) {
- return request({
- url: '/api/return/info',
- method: 'get',
- params: params
- })
- }
-
- export function getAllDrugWarehouseInfo(params) {
- return request({
- url: '/api/warehouseinfo',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugWarehouseOutInfoList(params) {
- return request({
- url: '/api/stock/out/info',
- method: 'get',
- params: params
- })
- }
-
- export function postDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type) {
- return request({
- url: '/api/drugwarehouseout/create?warehousing_out_time=' + warehousing_time + '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugWarehouseInfoCountByGoodId(params) {
- return request({
- url: '/api/info/count',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugWarehouseInfoByGoodTypeId(params) {
- return request({
- url: '/api/warehouse/type',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugCancelStockInfoList(params) {
- return request({
- url: '/api/cancel/info',
- method: 'get',
- params: params
- })
- }
-
- export function getAllDrugStockOutList(params) {
- return request({
- url: '/api/out/list',
- method: 'get',
- params: params
- })
- }
-
- export function getAllDrugStockQueryList(params) {
- return request({
- url: '/api/drugstock/query',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugWarehouseInfoByOrdeNumber(params) {
- return request({
- url: '/api/stock/warehouse/get',
- method: 'get',
- params: params
- })
- }
-
- export function modifyDrugWarehouseInfo(params) {
- return request({
- url: '/api/drugwarehouse/edit',
- method: 'post',
- params: params
- })
- }
-
- export function deleteDrugWarehouseInfo(params) {
- return request({
- url: '/api/drugwarehouse/delete',
- method: 'post',
- params: params
- })
- }
-
- export function getDrugWarehouseOutInfoByOrdeNumber(params) {
- return request({
- url: '/api/stock/out/get',
- method: 'get',
- params: params
- })
- }
-
- export function modifyDrugWarehouseOutInfo(params) {
- return request({
- url: '/api/stock/out/edit',
- method: 'post',
- params: params
- })
- }
-
- export function GetAllConfig() {
- return request({
- url: '/api/drugstock/config',
- method: 'get'
- })
- }
-
- export function GetAllDrugInfoByID(params) {
- return request({
- url: '/api/drugstock/get',
- method: 'get',
- params: params
-
- })
- }
-
- export function DeleteDrugWarehouseInfoItem(params) {
- return request({
- url: '/api/drugwarehouseinfo/delete',
- method: 'post',
- params: params
-
- })
- }
-
- export function EditDrugWarehouse(params, warehousing_time, id,type,manufacturer_id,dealer_id) {
- return request({
- url: '/api/drugwarehouse/edit?warehousing_time=' + warehousing_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugSalesReturnConfig(params) {
- return request({
- url: '/api/return/config',
- method: 'get',
- params: params
-
- })
- }
-
- export function deleteDrugSalesReturn(params) {
- return request({
- url: '/api/drugsalesreturn/delete',
- method: 'post',
- params: params
- })
- }
-
- export function getDrugSaleReturnInfoList(params) {
- return request({
- url: '/api/stock/drugsalesReturn/list',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugReturnList(params) {
- return request({
- url: '/api/drugsalesreturninfo/list',
- method: 'get',
- params: params
- })
- }
- export function deleteDrugSalesReturnInfo(params) {
- return request({
- url: '/api/drugsalesreturninfo/delete',
- method: 'post',
- params: params
- })
- }
-
- export function editDrugSalesReturnInfo(params, return_time, id,type,manufacturer_id,dealer_id) {
- return request({
- url: '/api/drugsalesreturn/edit?return_time=' + return_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
- method: 'post',
- data: params
- })
- }
-
- export function deleteDrugWarehouseOut(params) {
- return request({
- url: '/api/drugwarehouseout/delete',
- method: 'post',
- params: params
- })
- }
-
- export function deleteDrugWarehouseOutInfo(params) {
- return request({
- url: '/api/drugwarehouseoutinfo/delete',
- method: 'post',
- params: params
- })
- }
-
- export function getDrugWarehouseOutList(params) {
- return request({
- url: '/api/drugwarehouseout/list',
- method: 'get',
- params: params
- })
- }
-
- export function getDrugWarehouseOutInfo(params) {
- return request({
- url: '/api/drugwarehouseout/info',
- method: 'get',
- params: params
- })
- }
-
- export function editDrugWarehouseoutInfo(params, warehouse_out_time, id,type,manufacturer_id,dealer_id) {
- return request({
- url: '/api/drugwarehouseout/edit?warehouse_out_time=' + warehouse_out_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id="+dealer_id,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugCancelStockList(params) {
- return request({
- url: '/api/drugcancelstock/list',
- method: 'get',
- params: params
- })
- }
-
- export function editDrugCancelStockInfo(params, cancel_stock_time, id,type,manufacturer_id,dealer_id) {
- return request({
- url: '/api/drugcancelstockinfo/edit?cancel_time=' + cancel_stock_time + '&id=' + id+"&type="+type+"&manufacturer_id="+manufacturer_id+"&dealer_id=" + dealer_id,
- method: 'post',
- data: params
- })
- }
-
- export function getDrugCancelStockInfo(params) {
- return request({
- url: '/api/drugcancelstock/info',
- method: 'get',
- params: params
- })
- }
-
- export function deleteDrugCancelStock(params) {
- return request({
- url: '/api/drugcancelstock/delete',
- method: 'post',
- params: params
- })
- }
-
- export function deleteDrugCancelStockInfo(params) {
- return request({
- url: '/api/drugcancelstockinfo/delete',
- method: 'post',
- params: params
- })
- }
-
- export function postDrugCancelStock(params, cancelStockTime, manufacturer_id, dealer_id, type) {
- return request({
- url: '/api/drugcancelstock/create?time=' + cancelStockTime + '&manufacturer_id=' + manufacturer_id + '&dealer_id=' + dealer_id + '&type=' + type,
- method: 'post',
- data: params
- })
- }
- export function getDrugCancelStockConfig(params) {
- return request({
- url: '/api/drugcancelstockinfo/config',
- method: 'get',
- params: params
- })
- }
-
- export function getStockDetail(params) {
- return request({
- url: '/api/drugstock/detail',
- method: 'get',
- params: params
- })
- }
-
-
-
- export function getPrintStockGood(params) {
- return request({
- url: '/api/print/stock',
- method: 'get',
- params: params
- })
- }
-
-
-
- export function getDrugWarehouseOutUser(params) {
- return request({
- url: '/api/drugwarehouseout/user',
- method: 'get',
- params: params
- })
- }
-
-
- export function createDrugStockAutomaticReduceConfig(is_open) {
- return request({
- url: '/api/drugstock/automaticreduce/isopen?is_open='+is_open,
- method: 'post',
- })
- }
-
- export function getDrugStockAutomaticReduceConfig() {
- return request({
- url: '/api/drugstockautomaticreduce/get',
- method: 'get',
- })
- }
-
-
- export function getDrugIndetail(params){
- return request({
- url:"/api/drugstock/getdrugindetail",
- method:"Get",
- params:params
- })
- }
-
-
- export function getDrugCancelOrder(params){
-
- return request({
- url:"/api/drugstock/getdrugcancelorder",
- method:"get",
- params:params
- })
- }
-
- export function getDrugOutDetail(params){
-
- return request({
- url:"/api/drugstock/getdrugoutdetail",
- method:"get",
- params:params
- })
- }
-
- export function getDrugCancelDetail(params){
-
- return request({
- url:"/api/drugstock/getdrugcanceldetail",
- method:"Get",
- params:params
- })
- }
-
-
- export function getDrugAutoMaticList(params){
-
- return request({
- url:"/api/drugstock/getdrugautomaticlist",
- method:"Get",
- params:params,
- })
- }
-
-
- export function getDrugWarehouseOrderInfo(params){
-
- return request({
- url:"/api/drugstock/getdrugwarehouseorderinfo",
- method:"get",
- params:params
- })
- }
-
-
-
-
-
|