|
@@ -0,0 +1,462 @@
|
|
|
+/**
|
|
|
+ * 商品服务系统
|
|
|
+ * apiItem:'http://10.162.16.5:8020', //商品服务系统
|
|
|
+ */
|
|
|
+import res from '@/utils/system/request.js'
|
|
|
+
|
|
|
+/**
|
|
|
+ * 商品详情
|
|
|
+ */
|
|
|
+//商品详情
|
|
|
+export const GetItemDetail = (params) => res('get', 'apiItem', '/items/{itemId}', {params:params});
|
|
|
+
|
|
|
+/**
|
|
|
+ * 商品收藏
|
|
|
+ * item-collection-controller
|
|
|
+ */
|
|
|
+// 获取商品收藏列表
|
|
|
+export const GetItemCollectList = (params) => res('get', 'apiItem', '/itemCollections/list', {params:params});
|
|
|
+// 取消商品收藏
|
|
|
+export const DelItemCollect = (params) => res('delete', 'apiItem', '/itemCollections/delete/{id}', params);
|
|
|
+// 添加商品收藏
|
|
|
+export const AddItemCollect = (params) => res('post', 'apiItem', '/itemCollections/add', params, {form: true});
|
|
|
+
|
|
|
+/**
|
|
|
+ * 蒙牛供应商(个人中心的)
|
|
|
+ *
|
|
|
+ */
|
|
|
+// B001获取分类下的商品
|
|
|
+export const GetListItems = (params) => res('get', 'apiItem', '/itemOrganizations/{shopId}/listItems', {params:params});
|
|
|
+// B002保存蒙牛新增的合同
|
|
|
+export const SaveItemContract = (params) => res('post', 'apiItem', '/itemOrganizations/add', params);
|
|
|
+// A008获取集团圈定的商品
|
|
|
+export const GetGroupItemList = (params) => res('get','apiItem','/itemOrganizations/group/list', {params:params})
|
|
|
+// A013获取集团人员查看已圈定的商品
|
|
|
+export const GetGroupItemListView = (params) => res('get','apiItem','/itemOrganizations/group/list/view', {params:params})
|
|
|
+//B004集团人员查看已圈定商品被供应商设置的区域价格列表
|
|
|
+export const GetMNAreasItemPrice = (params) => res('get', 'apiItem', '/itemAreas/group/{itemId}/list/', {params: params});
|
|
|
+//B003圈定的商品通过接口
|
|
|
+export const GroupItemPass = (params) => res('put','apiItem','/itemOrganizations/list/pass',params,{form: true})
|
|
|
+
|
|
|
+//B004圈定的商品拒绝接口
|
|
|
+export const GroupItemRefause = (params) => res('put','apiItem','/itemOrganizations/list/{id}/unpass',params,{form: true})
|
|
|
+
|
|
|
+//B005圈定的商品删除接口
|
|
|
+export const GroupItemDelete = (params) => res('delete','apiItem','/itemOrganizations/list/delete',{params:params})
|
|
|
+
|
|
|
+//B010获取圈定的供应商列表
|
|
|
+export const GetSupplierItemList = (params) => res('get','apiItem','/itemOrganizations/list/shops',{params:params})
|
|
|
+
|
|
|
+//牧场查询集团圈定的商品接口
|
|
|
+export const GetRanchItemList = (params) => res('get','apiItem','/itemOrganizations/ranch/list',{params:params})
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 合同管理
|
|
|
+ */
|
|
|
+ /*A004获取需要审核的商品信息列表*/
|
|
|
+ export const GetItemAuditList = (params) => res('get','apiItem', '/contracts/list',{params:params});
|
|
|
+ /*A011获取集团合同信息列表*/
|
|
|
+ export const GroupContractList = (params) => res('get','apiItem', '/contracts/group/list',{params:params});
|
|
|
+ /*B012获取集团设置牧场价格和牧场列表*/
|
|
|
+ export const GetRanchPriceList = (params) => res('get','apiItem','/contracts/listItemRelations',{params:params});
|
|
|
+ /*B013保存集团设置牧场价格和库存数量*/
|
|
|
+ export const SavePriceChange = (params) => res('post','apiItem','/contracts/saveItemRelations',params);
|
|
|
+ /*B014删除合同接口*/
|
|
|
+ export const DeleteContract = (params) => res('delete','apiItem','/contracts/delete/{id}',params);
|
|
|
+ /*B001获取商品一级分类*/
|
|
|
+ export const GetClassifiyOne = (params) => res('get','apiItem','/contracts/listClassifyOnes',{params:params});
|
|
|
+ /*B003获取牧场下拉数据列表*/
|
|
|
+ export const GetRanchList = (params) => res('get','apiItem','/contracts/listRanches',{params:params});
|
|
|
+ /*B008修改合同或者新增合同,获取分类下的商品*/
|
|
|
+ export const GetClassifyItem = (params) => res('get','apiItem','/contracts/shop/listItems',{params:params});
|
|
|
+ /*B016合同中集团列表自动补全接口*/
|
|
|
+ export const GetContractsShops = (params) => res('get','apiItem','/contracts/shop/listGroups',{params:params});
|
|
|
+ /*B159修改合同或者新增合同,获取商品分类*/
|
|
|
+ export const ContractClassify = (params) => res('get','apiItem','/classifys/{shopId}/listClassifyOnes',{params: params});
|
|
|
+ /*B006商品合同审核接口*/
|
|
|
+ export const AuditContract = (params) => res('put','apiItem','/contracts/audit',params,{form: true});
|
|
|
+ /*B009保存新增合同接口*/
|
|
|
+ export const SaveAddContract = (params) => res('post','apiItem','/contracts/add',params);
|
|
|
+ /*B010保存修改合同接口*/
|
|
|
+ export const SaveChangeContract = (params) => res('put','apiItem','/contracts/update',params);
|
|
|
+ /*B007获取修改合同信息接口*/
|
|
|
+ export const GetChangeInfo = (params) => res('get','apiItem','/contracts/list/{id}',{params: params});
|
|
|
+ /**
|
|
|
+
|
|
|
+ * 搜索结果
|
|
|
+ */
|
|
|
+/*获取搜索结果*/
|
|
|
+export const GetSearchResult = (params) => res('get', 'apiItem', '/items/list', {params: params});
|
|
|
+/*B002获取商品大分类明细*/
|
|
|
+export const GetClassifysList = (params) => res('get', 'apiItem', '/classifys/list/'+params.parentId, {params: params});
|
|
|
+export const GetClassifysListAll = () => res('get', 'apiItem', '/classifys/list');
|
|
|
+export const GetShopClassifysList = (params) => res('get', 'apiItem', '/classifys/classify/{shopId}', {params: params});
|
|
|
+/**
|
|
|
+ * 店铺
|
|
|
+ */
|
|
|
+/*获取店铺商品列表*/
|
|
|
+export const GetShopProList = (params) => res('get', 'apiItem', '/items/{shopId}/list', {...params,params});
|
|
|
+/*B019 商品审核被拒绝原因列表接口*/
|
|
|
+export const GetRefuseReasonList = (params) => res('get','apiItem','/items/{id}/refuseReason/list',{params: params});
|
|
|
+
|
|
|
+/*
|
|
|
+蒙牛价格管理(商品管理的)
|
|
|
+ */
|
|
|
+export const GetMNOrgs = (params) => res('get', 'apiItem', '/itemOrganizations/shop/list/organizationNamesAndIds'); //B007获取跟登入用户店铺信息获取与其签过蒙牛价格的集团(集团名字和编号)列表
|
|
|
+export const GetMNOrgItems = (params) => res('get', 'apiItem', '/itemOrganizations/shop/list', {params: params}); //A006供应商被圈定的商品列表接口
|
|
|
+export const GetMNItemInfos = (params) => res('get', 'apiItem', '/itemAreas/shop/list/{orgId}/{itemId}', {params: params}); //B004商户获取指定商品在某集团下的签订关系
|
|
|
+export const AddMNItemPrice = (params) => res('post', 'apiItem', '/itemAreas/add', params); //B001店铺批量添加商品区域价格关系对象
|
|
|
+export const AddMNItemGroupPrice = (params) => res('post', 'apiItem', '/itemAreas/group/add', params); //B005店铺添加商品集团价格接口
|
|
|
+export const DeleteMNItemPrice = (params) => res('delete', 'apiItem', '/itemAreas/delete', {params}); //B002店铺批量删除蒙牛区域价格关系接口
|
|
|
+export const UpdateMNItemPrice = (params) => res('put', 'apiItem', '/itemAreas/update', params); //B003店铺更新蒙牛区域价格关系接口
|
|
|
+
|
|
|
+/*
|
|
|
+商铺下商品管理
|
|
|
+ */
|
|
|
+export const GetItemList = (params) => res('get', 'apiItem', '/items/shop/itemsPageList', {params}); //A010商铺管理查询商品列表接口
|
|
|
+export const GetContracts = (params) => res('get', 'apiItem', '/contracts/shop/list', {params}); //A018供应商合同商品列表接口
|
|
|
+export const GetShopContracts = () => res('get', 'apiItem', '/contracts/shop/listClassifyOnes'); //B015商品一级分类列表接口
|
|
|
+export const GetShopRanches = (params) => res('get', 'apiItem', '/contracts/shop/listRanches', {params}); //B017供应商合同涉及的牧场列表接口
|
|
|
+export const PutAwayItem = (params) => res('put', 'apiItem', '/items/shop/toSale/items', params, {form: true}); //B015批量上架商品接口
|
|
|
+export const OffSaleItem = (params) => res('put', 'apiItem', '/items/shop/offSale/items', params, {form: true}); //B016批量下架商品接口
|
|
|
+export const CancelApplyForItem = (params) => res('put', 'apiItem', '/items/shop/{itemId}/cancelToSale', {params}); //B009商品取消上架接口
|
|
|
+export const BackStoreItem = (params) => res('put', 'apiItem', '/items/shop/{itemId}/toStore', {params}); //B012商品放回仓库接口
|
|
|
+export const GetItemsById = (params) => res('get','apiItem','/items/list/listItemsByIds',{params:params}) //B005根据商品编号列表获取商品列表接口
|
|
|
+
|
|
|
+export const AddShopItem = (params) => res('post', 'apiItem', '/items/add', params); //B006商铺添加商品接口
|
|
|
+export const AddShopItemVersion = (params) => res('post', 'apiItem', '/items/addVersion', params); //B011商铺添加商品规格接口
|
|
|
+export const EditShopItem = (params) => res('put', 'apiItem', '/items/update', params); //B013商铺编辑商品接口
|
|
|
+export const auditShopGoodNoSaleApply = (params) => res('put', 'apiItem', '/manager/item/auditOffSaleItem/'+params.skuId+'/'+params.status,params,{form:true}); //审核店铺商品下架申请
|
|
|
+export const auditShopGoodViolationApply = (params) => res('put', 'apiItem', '/manager/item/auditViolationOffSaleItem/'+params.skuId+'/'+params.status,params,{form:true}); //审核违规商品下架申请
|
|
|
+
|
|
|
+/*
|
|
|
+个人中心中我的咨询
|
|
|
+ */
|
|
|
+export const getConsultingList = (params) => res('get', 'apiItem', '/consultings/list/consulting', {params}); //A002买家获取我的咨询列表接口
|
|
|
+
|
|
|
+/*
|
|
|
+价格监控接口
|
|
|
+ */
|
|
|
+ //B002删除价格监控记录接口
|
|
|
+// export const DeletePriceMonitor = (params) => res('delete', 'apiItem', '/priceMonitoring/delet', {params:params});
|
|
|
+
|
|
|
+//B002价格监控记录处理接口
|
|
|
+export const Handleprice = (params) => res('put','apiItem','/priceMonitoring/handle',params,{form:true})
|
|
|
+
|
|
|
+ //A001价格监控记录查询接口
|
|
|
+export const GetPriceMonitorList = (params) => res('get', 'apiItem', '/priceMonitoring/listPage', {params:params});
|
|
|
+/**
|
|
|
+ * 后台管理
|
|
|
+ *
|
|
|
+ */
|
|
|
+/* 获取商品列表 */
|
|
|
+export const GetManagerItemList = (params) => res('get', 'apiItem', '/manager/item/list/'+params.status, {params: params});
|
|
|
+export const OffItem = (params) => res('post', 'apiItem', '/manager/item/refused/'+ params.id, params,{form: true});
|
|
|
+/*商品审核接口*/
|
|
|
+export const AuditItem = (params) => res('put','apiItem','/manager/item/'+params.id+'/'+params.status,params,{form: true});
|
|
|
+
|
|
|
+// 解除供应商店铺冻结
|
|
|
+export const freeSupplierShop = (params) => res('put', 'apiItem', '/manager/shop/unfreeze/'+params.id); //M009解冻供应商接口
|
|
|
+
|
|
|
+// 设置爱养牛合同价格
|
|
|
+export const setAYNSumPrice = (params) => res('get', 'apiItem', '/manager/item/updateSettlementPrice', {params: params});
|
|
|
+ //获取特殊价格列表
|
|
|
+export const getSpecialList = (params) =>res('get','apiItem','/itemSpecialPrice/getItemSpecialPriceList',{params:params})
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+//金融产品管理
|
|
|
+/*添加*/
|
|
|
+export const addFinancial = (options) => res('post', 'apiItem', '/manager/Financial/add', options.body, {params: options.params})
|
|
|
+/*删除*/
|
|
|
+export const delFinancial = (params) => res('delete', 'apiItem', '/manager/Financial/delete/'+ params.id, {params:params})
|
|
|
+/*列表*/
|
|
|
+export const getFinancial = (params) => res('get', 'apiItem', '/manager/Financial/list', {params: params})
|
|
|
+/*编辑*/
|
|
|
+export const putFinancial = (options) => res('post', 'apiItem', '/manager/Financial/update',options.body, {params: options.params})
|
|
|
+
|
|
|
+// 供应商佣金功能
|
|
|
+/*供应商佣金列表*/
|
|
|
+export const commissionList = (params) => res('get', 'apiItem', '/commission/list', {params: params})
|
|
|
+//添加佣金
|
|
|
+export const commissionAdd = (params) => res('post', 'apiItem', '/commission/add', params);
|
|
|
+//供应商佣金详情
|
|
|
+export const commissionInfo = (params) => res('get', 'apiItem', '/commission/info', {params: params})
|
|
|
+//取消佣金
|
|
|
+export const commissionDelete = (params) => res('post', 'apiItem', '/commission/delete', params,{form: true});
|
|
|
+
|
|
|
+// 商品审核项管理
|
|
|
+//商品审核项列表
|
|
|
+export const getAuditLists = (params) => res('get', 'apiItem', '/itemAudit/getAuditLists', {params: params})
|
|
|
+//修改商品审核项
|
|
|
+export const updateBySkuId = (params) => res('post', 'apiItem', '/itemAudit/updateBySkuIds', params,{form: true});
|
|
|
+
|
|
|
+//搜索关键词
|
|
|
+//新增输入词
|
|
|
+export const addInputWord = (params) => res('post', 'apiItem', '/manager/keyword/addInputWord', params);
|
|
|
+//删除输入词
|
|
|
+export const deleteInputWord = (params) => res('post', 'apiItem', '/manager/keyword/deleteInputWord', params);
|
|
|
+//获取关键词关联的输入词列表
|
|
|
+export const getInputWordsByKey = (params) => res('get', 'apiItem', '/manager/keyword/getInputWordsByKey', {params: params})
|
|
|
+//获取未关联的输入词列表
|
|
|
+export const listUnRelInputWords = (params) => res('get', 'apiItem', '/manager/keyword/listUnRelInputWords', {params: params})
|
|
|
+//关联输入词
|
|
|
+export const relateKeyWord = (params) => res('post', 'apiItem', '/manager/keyword/relateKeyWord', params);
|
|
|
+
|
|
|
+//新增关键词
|
|
|
+export const addKeyword = (params) => res('post', 'apiItem', '/manager/keyword/addKeyword', params);
|
|
|
+//删除关键词并释放输入词
|
|
|
+export const deleteKeyword = (params) => res('post', 'apiItem', '/manager/keyword/deleteKeyword', params);
|
|
|
+//获取关键词详情
|
|
|
+export const getKeywordById = (params) => res('get', 'apiItem', '/manager/keyword/getKeywordById', {params: params})
|
|
|
+//获取关键词列表
|
|
|
+export const listKeywords = (params) => res('get', 'apiItem', '/manager/keyword/listKeywords', {params: params})
|
|
|
+//获取关键词列表--不分页
|
|
|
+export const selectKeyWords = (params) => res('get', 'apiItem', '/manager/keyword/selectKeyWords', {params: params})
|
|
|
+//修改关键词
|
|
|
+export const updateKeyword = (params) => res('post', 'apiItem', '/manager/keyword/updateKeyword', params);
|
|
|
+//推荐词上移下移
|
|
|
+export const upDownKeys = (params) => res('post', 'apiItem', '/manager/keyword/upDownKeys', params);
|
|
|
+//获取搜索历史列表
|
|
|
+export const listHisKeywords = (params) => res('get', 'apiItem', '/manager/keyword/listHisKeywords', {params: params})
|
|
|
+
|
|
|
+//供应商年检资料添加
|
|
|
+export const inspectionAdd = (params) => res('post', 'apiItem', '/manager/shop/inspection/add', params);
|
|
|
+//批量/单个 年检开关
|
|
|
+export const inspectionSwitch = (params) => res('post', 'apiItem', '/manager/shop/inspection/inspectionSwitch', params);
|
|
|
+//供应商年检审核拒绝原因查看
|
|
|
+export const inspectionRejectInfo = (params) => res('get', 'apiItem', '/manager/shop/inspection/rejectInfo', {params: params})
|
|
|
+//供应商年检资料审核
|
|
|
+export const inspectionReview = (params) => res('get', 'apiItem', '/manager/shop/inspection/review', {params: params})
|
|
|
+//供应商年检资料更新
|
|
|
+export const inspectionUpdate = (params) => res('post', 'apiItem', '/manager/shop/inspection/update', params);
|
|
|
+//供应商年检详情
|
|
|
+export const getShopYearlyInspectionInfo = (params) => res('get', 'apiItem', '/manager/shop/inspection/getShopYearlyInspectionInfo', {params: params})
|
|
|
+//商品管理-审核上下架商品(批量审核)
|
|
|
+export const auditItems = (params) => res('post','apiItem','/manager/item/auditItems',params,{form: true})
|
|
|
+//商品管理-审核下架商品(批量审核)管理员强制下架
|
|
|
+export const refuseBatch = (params) => res('post','apiItem','/manager/item/refuseBatch',params,{form: true})
|
|
|
+/*
|
|
|
+ 电子开票
|
|
|
+*/
|
|
|
+//新增税率信息
|
|
|
+export const addInvoiceTaxRate = (params) => res('post','apiItem','/manager/invoice/addInvoiceTaxRate',params)
|
|
|
+//获取列表税率信息
|
|
|
+export const taxRatePages = (params) => res('get', 'apiItem', '/manager/invoice/taxRatePages', {params: params})
|
|
|
+//修改、删除税率信息
|
|
|
+export const updateInvoiceTaxRate = (params) => res('put','apiItem','/manager/invoice/updateInvoiceTaxRate',params)
|
|
|
+//获取销货方信息
|
|
|
+export const getInvoiceShop = (params) => res('get', 'apiItem', '/manager/invoice/getInvoiceShop', {params: params})
|
|
|
+//获取开票推送设置
|
|
|
+export const getInvoiceSetting = (params) => res('get', 'apiItem', '/manager/invoice/getInvoiceSetting', {params: params})
|
|
|
+//新增、修改销货方信息
|
|
|
+export const saveInvoiceShop = (params) => res('post','apiItem','/manager/invoice/saveInvoiceShop',params)
|
|
|
+//更新开票推送设置
|
|
|
+export const saveInvoiceSetting = (params) => res('post','apiItem','/manager/invoice/saveInvoiceSetting',params)
|
|
|
+//开票数据查询
|
|
|
+export const getInvoiceDataPage = (params) => res('get', 'apiItem', '/manager/invoice/invoiceDownloadPages', {params: params});
|
|
|
+//开票数据下载
|
|
|
+export const invoiceDataDownload = (params) => res('get', 'apiItem', '/manager/invoice/downloadInvoice', {params: params});
|
|
|
+
|
|
|
+/**
|
|
|
+ * 招采系统-供应商主营物料管理
|
|
|
+*/
|
|
|
+//添加商品分类和地区
|
|
|
+export const AddInquiryClassIfyShop = (params) => res('post', 'apiItem', '/inquiryClassIfyShop/add', params);
|
|
|
+//查询地区分类列表
|
|
|
+export const inquiryClassIfyShopList = (params) => res('get', 'apiItem', '/inquiryClassIfyShop/list', {params:params});
|
|
|
+//查询指定分类地区
|
|
|
+export const inquiryClassIfyShopGetById = (params) => res('get', 'apiItem', '/inquiryClassIfyShop/getById', {params:params});
|
|
|
+//删除商品分类地区
|
|
|
+export const DeleteInquiryClassIfyShop = (params) => res('post', 'apiItem', '/inquiryClassIfyShop/delete', params);
|
|
|
+//查找地区列表
|
|
|
+export const inquiryClassIfyShopGetAreas = (params) => res('get', 'apiItem', '/inquiryClassIfyShop/getAreas', {params:params});
|
|
|
+//修改商品分类和地区
|
|
|
+export const UpdateInquiryClassIfyShop = (params) => res('post', 'apiItem', '/inquiryClassIfyShop/update', params);
|
|
|
+
|
|
|
+//查询商铺其他证件类型编码接口
|
|
|
+export const getLicenseType = (params) => res('get', 'apiItem','/shops/getLicenseType', {params: params});
|
|
|
+
|
|
|
+//推广供应商黑名单
|
|
|
+// 新增黑名单数据
|
|
|
+export const addInBlackList = (params) => res('post', 'apiItem', '/promote/shops/addInBlackList', params);
|
|
|
+//从黑名单移除
|
|
|
+export const deleteForBlackList = (params) => res('post', 'apiItem', '/promote/shops/deleteForBlackList', params,{form: true});
|
|
|
+//下载黑名单模板
|
|
|
+export const downLoadExcelTemplate = (params) => res('get', 'apiItem','/promote/shops/downLoadExcelTemplate', {params: params});
|
|
|
+// 导入黑名单数据(加入时自动排除已有数据)
|
|
|
+export const importBlackList = (params) => res('post', 'apiItem', '/promote/shops/importBlackList', params,{form: true});
|
|
|
+//获取供应商列表接口(正常状态,除去已加入)
|
|
|
+export const promoteShopList = (params) => res('get', 'apiItem','/promote/shops/list', {params: params});
|
|
|
+//已加入黑名单供应商列表接口
|
|
|
+export const pormoteShopBlackList = (params) => res('get', 'apiItem','/promote/shops/pormoteShopBlackList', {params: params});
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 寄售相关接口
|
|
|
+ */
|
|
|
+//查询商品分类 树形结构
|
|
|
+export const searchAllClassifyAsTree = (params) => res('get', 'apiMarket', '/classify/searchAllClassifyAsTree', {params: params});
|
|
|
+// 获取寄售商品列表
|
|
|
+export const consignListPage = (params) => res('get', 'apiItem','/consign/manager/item/listPage', {params: params});
|
|
|
+// 审核寄售商品
|
|
|
+export const consignItemAudit = (params) => res('post', 'apiItem', '/consign/manager/item/audit', params);
|
|
|
+// 强制下架寄售商品
|
|
|
+export const offSaleByAdmin = (params) => res('post', 'apiItem', '/consign/manager/item/offSaleByAdmin', params);
|
|
|
+// 获取寄售合同列表
|
|
|
+export const listContractPage = (params) => res('get', 'apiItem','/consign/contract/admin/listContractPage', {params: params});
|
|
|
+// 查看寄售合同详情
|
|
|
+export const getContractById = (params) => res('get', 'apiItem','/consign/contract/admin/getContractById', {params: params});
|
|
|
+// 导出采购需求商品信息
|
|
|
+export const exportContractItems = (params) => res('get', 'apiItem','/consign/contract/admin/exportContractItems', {params: params});
|
|
|
+// 获取牧场台账列表
|
|
|
+export const queryOrgForShopByPage = (params) => res('get', 'apiItem','/consign/itemStock/queryOrgForShopByPage', {params: params});
|
|
|
+// 获取台账商品明细
|
|
|
+export const queryStocksByPage = (params) => res('get', 'apiItem','/consign/itemStock/queryStocksByPage', {params: params});
|
|
|
+// 牧场查询指定库存商品的入库记录
|
|
|
+export const queryStockInByPage = (params) => res('get', 'apiItem','/consign/itemStock/queryStockInByPage', {params: params});
|
|
|
+// 查看退库商品信息
|
|
|
+export const queryStockCancelByPage = (params) => res('get', 'apiItem','/consign/itemStock/queryStockCancelByPage', {params: params});
|
|
|
+// 牧场查询指定库存商品的出库记录
|
|
|
+export const queryStockOutByPage = (params) => res('get', 'apiItem','/consign/itemStock/queryStockOutByPage', {params: params});
|
|
|
+// 获取库存台账商品主体
|
|
|
+export const getTotalCountByStockId = (params) => res('get', 'apiItem','/consign/itemStock/getTotalCountByStockId', {params: params});
|
|
|
+// 分页查询商品库存盘点数据记录
|
|
|
+export const itemStockTakeList = (params) => res('get', 'apiItem','/consign/itemStockTake/listPage', {params: params});
|
|
|
+// 查看盘点详情信息
|
|
|
+export const getItemTakeInfo = (params) => res('get', 'apiItem','/consign/itemStockTake/getItemTakeInfo', {params: params});
|
|
|
+// 供应商、牧场、平台 导出退库/出库/入库记录
|
|
|
+export const exportStockLogExcel = (params) => res('get', 'apiItem','/consign/itemStock/exportStockLogExcel', {params: params});
|
|
|
+//大区划分
|
|
|
+//查询大区接口
|
|
|
+export const reginList = (params) => res('get', 'apiItem','/manager/regin/list', {params: params});
|
|
|
+//查询大区接口全部
|
|
|
+export const reginListAll = (params) => res('get', 'apiItem','/manager/regin//listAll', {params: params});
|
|
|
+//查询大区下省市接口
|
|
|
+export const regionCityList = (params) => res('get', 'apiItem','/manager/regin/regionCityList', {params: params});
|
|
|
+// 新增大区
|
|
|
+export const reginAdd = (params) => res('post', 'apiItem', '/manager/regin/add', params);
|
|
|
+// 编辑大区
|
|
|
+export const reginUpdate = (params) => res('post', 'apiItem', '/manager/regin/update', params);
|
|
|
+// 新增大区下的省市或者省下的市
|
|
|
+export const addRegionCityList = (params) => res('post', 'apiItem', '/manager/regin/addRegionCityList', params);
|
|
|
+//删除大区
|
|
|
+export const reginDel = (params) => res('post', 'apiItem', '/manager/regin/del', params,{form: true});
|
|
|
+//删除大区下的市(最后一级)
|
|
|
+export const delRegionCityById = (params) => res('post', 'apiItem', '/manager/regin/delRegionCityById', params,{form: true});
|
|
|
+//删除大区下的省级(包含其下面的市)
|
|
|
+export const delRegionCitysByProvince = (params) => res('post', 'apiItem', '/manager/regin/delRegionCitysByProvince', params,{form: true});
|
|
|
+//查询现有全部省市信息
|
|
|
+export const getGovAreaList = (params) => res('get', 'apiItem','/manager/regin/getGovAreaList', {params: params});
|
|
|
+//查询现有全部省市信息(树形全部)
|
|
|
+export const getAllGovAreaList = (params) => res('get', 'apiItem','/manager/regin/getAllGovAreaList', {params: params});
|
|
|
+
|
|
|
+// 新增供应商/牧场 到对应市场
|
|
|
+export const addOrgTypeCode = (params) => res('post', 'apiItem', '/manager/typeCodeSetting/addOrgTypeCode', params);
|
|
|
+//获取已绑定对应市场的牧场列表
|
|
|
+export const getOrgList = (params) => res('get', 'apiItem','/manager/typeCodeSetting/org/list', {params: params});
|
|
|
+//获取未绑定对应市场的牧场列表(添加牧场)
|
|
|
+export const orgListNotChoose = (params) => res('get', 'apiItem','/manager/typeCodeSetting//org/listNotChoose', {params: params});
|
|
|
+//获取已绑定对应市场的供应商列表
|
|
|
+export const getShopList = (params) => res('get', 'apiItem','/manager/typeCodeSetting/shop/list', {params: params});
|
|
|
+//获取未绑定对应市场的供应商列表(添加供应商)
|
|
|
+export const shopListNotChoose = (params) => res('get', 'apiItem','/manager/typeCodeSetting/shop/shopListNotChoose', {params: params});
|
|
|
+//删除已绑定的
|
|
|
+export const delOrgTypeCodeById = (params) => res('post', 'apiItem', '/manager/typeCodeSetting/delOrgTypeCodeById', params,{form: true});
|
|
|
+//查询牛客市场商品佣金接口
|
|
|
+export const getPromoteValue = (params) => res('get', 'apiItem', '/promote/sku/getPromoteValue', {params:params});
|
|
|
+//牧场列表
|
|
|
+export const getFarmList = (params) => res('get', 'apiItem', '/manager/farm/list', {params:params});
|
|
|
+//修改牧场信息
|
|
|
+export const updateOrgFarm = (params) => res('put','apiItem','/manager/farm/updateOrgFarm',params)
|
|
|
+//牧场详情
|
|
|
+export const getOrgFarmById = (params) => res('get', 'apiItem', '/manager/farm/getOrgFarmById/{id}', {params:params});
|
|
|
+
|
|
|
+// 新建用户调研主体
|
|
|
+export const satisfyManageAdd = (params) => res('post', 'apiItem', '/satisfy/manager/add', params);
|
|
|
+// 查询调研列表
|
|
|
+export const satisfyListPage = (params) => res('get', 'apiItem', '/satisfy/manager/listPage', {params:params});
|
|
|
+// 修改调研管理信息
|
|
|
+export const satisfyUpdate = (params) => res('post', 'apiItem', '/satisfy/manager/update', params,{form: true});
|
|
|
+// 获取用户提报历史分页查询
|
|
|
+export const getAdminPageList = (params) => res('get', 'apiItem', '/item/require/getAdminPageList', {params:params});
|
|
|
+//获取询价信息列表
|
|
|
+export const getBargainList = (params) => res('get', 'apiItem', '/manager/bargain/list', {params:params});
|
|
|
+//获取询价信息详情
|
|
|
+export const getBargainById = (params) => res('get', 'apiItem', '/manager/bargain/getBargainById/{id}', {params:params});
|
|
|
+//获取询价处理进度
|
|
|
+export const getBargainProgress = (params) => res('get', 'apiItem', '/manager/bargain/getBargainProgress/{bargainId}', {params:params});
|
|
|
+
|
|
|
+// 代采管理
|
|
|
+// 管理端获取代采需求分页列表
|
|
|
+export const purchaseItemsPageList = (params) => res('get', 'apiItem', '/purchase/manager/demand/itemsPageList', {params:params});
|
|
|
+// 获取代采需求详情
|
|
|
+export const getPurchaseDemandInfo = (params) => res('get', 'apiItem', '/purchase/manager/demand/getPurchaseDemandInfo', {params:params});
|
|
|
+// 牧场提交代采申请列表
|
|
|
+export const applyList = (params) => res('get', 'apiItem', '/purchaseApply/platform/applyList', {params:params});
|
|
|
+// 审核牧场申请开通代采
|
|
|
+export const purchaseApplayApprove = (params) => res('get', 'apiItem', '/purchaseApply/platform/purchaseApplayApprove', {params:params});
|
|
|
+
|
|
|
+// 代采商品列表
|
|
|
+export const getItemPageListForManager = (params) => res('get', 'apiItem', '/purchase/manager/item/getItemPageListForManager', {params:params})
|
|
|
+// 查看代采商品详情
|
|
|
+export const getItemInfo = (params) => res('get', 'apiItem', '/purchase/manager/item/getItemInfo', {params:params})
|
|
|
+// 下架审核
|
|
|
+export const auditOffSaleItem = (params) => res('put','apiItem','/purchase/manager/item/auditOffSaleItem/'+params.skuId+'/'+params.status,params,{form: true})
|
|
|
+// 上架审核
|
|
|
+export const auditUpSaleItem = (params) => res('put','apiItem','/purchase/manager/item/{skuId}/{status}',params,{form: true})
|
|
|
+// 查询运费模板
|
|
|
+export const getFreightTemplate = (params) => res('get', 'apiItem', '/purchase/shop/item/getFreightTemplate', {params:params});
|
|
|
+// 查询代采方案列表
|
|
|
+export const purchaseGetPageList = (params) => res('get', 'apiItem', '/purchase/manager/program/getPageList', {params:params});
|
|
|
+// 新增代采方案
|
|
|
+export const purchaseProgramAdd = (params) => res('post', 'apiItem', '/purchase/manager/program/add', params,{form: true});
|
|
|
+// 获取代采牧场列表
|
|
|
+export const getPurchaseApples = (params) => res('get', 'apiItem', '/purchase/manager/program/getPurchaseApples', {params:params});
|
|
|
+// 根据用户id查询对应牧场的需求列表
|
|
|
+export const getPurchaseDemandSubmits = (params) => res('get', 'apiItem', '/purchase/manager/program/getPurchaseDemandSubmits', {params:params});
|
|
|
+// 代采方案管理-获取需求商品列表
|
|
|
+export const getPurchaseProgramDemands = (params) => res('get', 'apiItem', '/purchase/manager/program/getPurchaseProgramDemands', {params:params});
|
|
|
+// 代采方案管理-获取匹配商品运费总价
|
|
|
+export const calculateFreightPriceList = (params) => res('post', 'apiOrder', '/purchase/order/calculateFreightPriceList', params);
|
|
|
+// 代采方案管理-获取匹配商品列表
|
|
|
+export const getMatchItems = (params) => res('get', 'apiItem', '/purchase/manager/program/getMatchItems', {params:params});
|
|
|
+// 查询待邀请供应商列表
|
|
|
+export const getInviteShopList = (params) => res('get', 'apiItem', '/purchase/manager/program/getInviteShopList', {params:params});
|
|
|
+// 提交方案
|
|
|
+export const saveOrUpdate = (params) => res('post', 'apiItem', '/purchase/manager/program/saveOrUpdate', params,{form: false});
|
|
|
+// 查看方案详情
|
|
|
+export const getPurchaseProgramInfo = (params) => res('get', 'apiItem', '/purchase/manager/program/getPurchaseProgramInfo', {params:params});
|
|
|
+// 代采方案撤回、删除
|
|
|
+export const deletePurchaseProgram = (params) => res('put','apiItem','/purchase/manager/program/deletePurchaseProgram',params,{form: true})
|
|
|
+//代采方案需求商品、匹配商品和邀请供应商报价数据删除
|
|
|
+export const deleteProgramInfoOne = (params) => res('put','apiItem','/purchase/manager/program/deleteProgramInfoOne',params,{form: true})
|
|
|
+// 获取审核代采方案列表信息
|
|
|
+export const purchaseGetAuditPageList = (params) => res('get', 'apiItem', '/purchase/manager/program/audit/getPageList', {params:params});
|
|
|
+// 审核代采方案
|
|
|
+export const auditPurchaseProgram = (params) => res('put','apiItem','/purchase/manager/program/audit/auditPurchaseProgram',params,{form: true})
|
|
|
+// 获取收货地址
|
|
|
+export const getUserAddressPage = (params) => res('get', 'apiItem', '/purchase/manager/program/getUserAddressPage', {params:params});
|
|
|
+// 新增收货地址
|
|
|
+export const saveUserAddress = (params) => res('post', 'apiItem', '/purchase/manager/program/saveUserAddress', params,{form: false});
|
|
|
+
|
|
|
+// 获取预算列表
|
|
|
+export const getBudgetPageList = (params) => res('get', 'apiItem', '/purchase/manager/annualBudget/getPageList', {params:params});
|
|
|
+// 获取预算详情 GET
|
|
|
+export const getSubmitDetailByAnnualBudgetId = (params) => res('get', 'apiItem', '/purchase/manager/annualBudget/getSubmitDetailByAnnualBudgetId', {params:params});
|
|
|
+// 查询运费模板
|
|
|
+export const getFreightTemplates = (params) => res('get', 'apiItem', '/purchase/manager/program/getFreightTemplate', {params:params});
|
|
|
+// 添加供应商招采权益生效时间
|
|
|
+export const createInquiry = (params) => res('post', 'apiItem', '/manager/shop/inquiry/create', params);
|
|
|
+//分页查询供应商招采权益生效时间
|
|
|
+export const inquiryList = (params) => res('get', 'apiItem', '/manager/shop/inquiry/list', {params:params});
|
|
|
+//修改供应商招采权益生效时间
|
|
|
+export const inquiryUpdate = (params) => res('put','apiItem','/manager/shop/inquiry/update',params);
|
|
|
+//删除供应商招采权益生效时间
|
|
|
+export const inquiryDelete = (params) => res('delete', 'apiItem', '/manager/shop/inquiry/delete/{id}', {params});
|
|
|
+
|
|
|
+//批量移除砍一刀接口
|
|
|
+export const outDisCount = (params) => res('put','apiItem','/manager/bargain/skus/outDisCount',params,{form:true});
|
|
|
+//批量加入砍一刀接口
|
|
|
+export const toDisCount = (params) => res('put','apiItem','/manager/bargain/skus/toDisCount',params,{form:true});
|