123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- import request from '@/utils/request'
-
-
- export function createDealer(params){
- return request({
- url:'/api/stock/dealer/create',
- method:'post',
- params:params
- })
- }
-
-
- export function modifyDealer(params){
- return request({
- url:'/api/stock/dealer/modify',
- method:'post',
- params:params
- })
- }
-
-
-
- export function getDealersList(params){
- return request({
- url:'/api/stock/dealer/list',
- method:'get',
- params:params
- })
- }
-
-
- export function deleteDealer(params){
- return request({
- url:'/api/stock/dealer/delete',
- method:'post',
- params:params
- })
- }
-
-
-
- export function GetDealer(params){
- return request({
- url:'/api/stock/dealer/get',
- method:'get',
- params:params
- })
- }
-
-
-
-
-
- export function createManufacturer(params){
- return request({
- url:'/api/stock/manufacturer/create',
- method:'post',
- params:params
- })
- }
-
-
- export function modifyManufacturer(params){
- return request({
- url:'/api/stock/manufacturer/modify',
- method:'post',
- params:params
- })
- }
-
-
-
- export function getManufacturerList(params){
- return request({
- url:'/api/stock/manufacturer/list',
- method:'get',
- params:params
- })
- }
-
-
- export function deleteManufacturer(params){
- return request({
- url:'/api/stock/manufacturer/delete',
- method:'post',
- params:params
- })
- }
-
-
-
- export function GetManufacturer(params){
- return request({
- url:'/api/stock/manufacturer/get',
- method:'get',
- params:params
- })
- }
-
-
-
-
-
-
-
-
-
-
- export function createGoodType(params){
- return request({
- url:'/api/stock/good/type/create',
- method:'post',
- params:params
- })
- }
-
-
- export function modifyGoodType(params){
- return request({
- url:'/api/stock/good/type/modify',
- method:'post',
- params:params
- })
- }
-
-
-
- export function getGoodTypeList(params){
- return request({
- url:'/api/stock/good/type/list',
- method:'get',
- params:params
- })
- }
-
-
- export function deleteGoodType(params){
- return request({
- url:'/api/type/delete',
- method:'post',
- params:params
- })
- }
-
-
-
- export function GetGoodType(params){
- return request({
- url:'/api/stock/good/type/get',
- method:'get',
- params:params
- })
- }
-
-
-
-
-
-
-
-
-
- export function createGoodInfo(params){
- return request({
- url:'/api/stock/good/info/create',
- method:'post',
- params:params
- })
- }
-
-
- export function modifyGoodInfo(params){
- return request({
- url:'/api/stock/good/info/modify',
- method:'post',
- params:params
- })
- }
-
-
-
- export function getGoodInfoList(params){
- return request({
- url:'/api/stock/good/info/list',
- method:'get',
- params:params
- })
- }
-
-
- export function deleteGoodInfo(params){
- return request({
- url:'/api/info/delete',
- method:'post',
- params:params
- })
- }
-
-
-
- export function GetGoodInfoByGoodId(params){
- return request({
- url:'/api/stock/good/info/get',
- method:'get',
- params:params
- })
- }
-
- export function GetGoodInfo(params){
- return request({
- url:'/api/stock/good/info',
- method:'get',
- params:params
- })
- }
-
-
-
- export function GetAllDeals(params){
- return request({
- url:'/api/stock/dealer/all',
- method:'get',
- params:params
- })
- }
-
-
- export function GetAllManufacturer(params){
- return request({
- url:'/api/stock/manufacturer/all',
- method:'get',
- params:params
- })
- }
-
-
- export function GetAllGoodType(params){
- return request({
- url:'/api/stock/good/type/all',
- method:'get',
- params:params
- })
- }
-
-
- export function GetAllGoodInfo(params){
- return request({
- url:'/api/stock/good/info/all',
- method:'get',
- params:params
- })
- }
-
- export function postWarehouse(params,warehousing_time,warehousing_order){
- return request({
- url:'/api/stock/warehouse/create?warehousing_time='+warehousing_time+"&warehousing_order="+warehousing_order,
- method:'post',
- data:params
- })
- }
-
-
- export function getWarehouseList(params){
- return request({
- url:'/api/stock/warehouse/list',
- method:'get',
- params:params
- })
- }
-
- export function getWarehouseInfoList(params){
- return request({
- url:'/api/stock/warehouseinfo/list',
- method:'get',
- params:params
- })
- }
-
-
- export function postSalesReturn(params,salesReturnTime,salesReturnTotal,ids,orderNumber){
- return request({
- url:'/api/warehouse/return?time='+salesReturnTime+"&total="+salesReturnTotal+"&ids="+ids+"&order_number="+orderNumber,
- method:'post',
- data:params
- })
- }
-
- export function getWarehouseInfo(params){
- return request({
- url:'/api/info/get',
- method:'get',
- params:params
- })
- }
-
-
-
- export function getSalesReturnList(params){
- return request({
- url:'/api/return/list',
- method:'get',
- params:params
- })
- }
-
-
- export function getSalesReturnInfoList(params){
- return request({
- url:'/api/return/info',
- method:'get',
- params:params
- })
- }
-
- export function getAllWarehouseInfo(params){
- return request({
- url:'/api/warehouseinfo',
- method:'get',
- params:params
- })
- }
-
-
-
-
-
-
- export function getWarehouseOutList(params){
- return request({
- url:'/api/stock/out/list',
- method:'get',
- params:params
- })
- }
-
- export function getWarehouseOutInfoList(params){
- return request({
- url:'/api/stock/out/info',
- method:'get',
- params:params
- })
- }
-
-
- export function postWarehouseOut(params,warehousing_time,warehousing_out_order){
- return request({
- url:'/api/stock/out/create?warehousing_out_time='+warehousing_time+"&warehousing_out_order="+warehousing_out_order,
- method:'post',
- data:params
- })
- }
-
-
- export function getWarehouseInfoCountByGoodId(params){
- return request({
- url:'/api/info/count',
- method:'get',
- params:params
- })
- }
-
- export function getWarehouseInfoByGoodTypeId(params){
- return request({
- url:'/api/warehouse/type',
- method:'get',
- params:params
- })
- }
-
- export function getWarehouseOutInfo(params){
- return request({
- url:'/api/out/info',
- method:'get',
- params:params
- })
- }
-
-
- export function postCancelStock(params,cancelStockTime,cancelStockTotal,ids,orderNumber){
- return request({
- url:'/api/stock/cancel?time='+cancelStockTime+"&total="+cancelStockTotal+"&ids="+ids+"&order_number="+orderNumber,
- method:'post',
- data:params
- })
- }
-
-
-
- export function getCancelStockList(params){
- return request({
- url:'/api/cancel/list',
- method:'get',
- params:params
- })
- }
-
- export function getCancelStockInfoList(params){
- return request({
- url:'/api/cancel/info',
- method:'get',
- params:params
- })
- }
-
-
- export function getAllStockOutList(params){
- return request({
- url:'/api/out/list',
- method:'get',
- params:params
- })
- }
-
-
-
-
- export function getAllStockQueryList(params){
- return request({
- url:'/api/stock/query',
- method:'get',
- params:params
- })
- }
-
-
- export function getWarehouseInfoByOrdeNumber(params){
- return request({
- url:'/api/stock/warehouse/get',
- method:'get',
- params:params
- })
- }
-
-
- export function modifyWarehouseInfo(params){
- return request({
- url:'/api/stock/warehouse/edit',
- method:'post',
- params:params
- })
- }
-
-
- export function deleteWarehouseInfo(params){
- return request({
- url:'/api/stock/warehouse/delete',
- method:'post',
- params:params
- })
- }
-
-
- export function getWarehouseOutInfoByOrdeNumber(params){
- return request({
- url:'/api/stock/out/get',
- method:'get',
- params:params
- })
- }
-
- export function modifyWarehouseOutInfo(params){
- return request({
- url:'/api/stock/out/edit',
- method:'post',
- params:params
- })
- }
-
-
- export function deleteWarehouseOutInfo(params){
- return request({
- url:'/api/stock/out/delete',
- method:'post',
- params:params
- })
- }
-
-
- export function deleteStockInRecord(params){
- return request({
- url:'/api/warehouse/delete',
- method:'post',
- params:params
- })
- }
-
-
-
-
-
-
-
-
-
-
-
|