123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import request from '@/utils/request'
- // 查询库存管理,wms入库回传时,增加库存数列表
- export function listMallinvemng(query) {
- return request({
- url: '/biz/mallinvemng/list',
- method: 'get',
- params: query
- })
- }
- // 查询库存管理,wms入库回传时,增加库存数详细
- export function getMallinvemng(inveSn) {
- return request({
- url: '/biz/mallinvemng/' + inveSn,
- method: 'get'
- })
- }
- // 新增库存管理,wms入库回传时,增加库存数
- export function addMallinvemng(data) {
- return request({
- url: '/biz/mallinvemng',
- method: 'post',
- data: data
- })
- }
- // 修改库存管理,wms入库回传时,增加库存数
- export function updateMallinvemng(data) {
- return request({
- url: '/biz/mallinvemng',
- method: 'put',
- data: data
- })
- }
- // 删除库存管理,wms入库回传时,增加库存数
- export function delMallinvemng(inveSn) {
- return request({
- url: '/biz/mallinvemng/' + inveSn,
- method: 'delete'
- })
- }
- // 导出库存管理,wms入库回传时,增加库存数
- export function exportMallinvemng(query) {
- return request({
- url: '/biz/mallinvemng/export',
- method: 'get',
- params: query
- })
- }
- // 拉取kmall的所有商品数据
- export function pullKmallInvemng(query,loading,_this) {
- return request({
- url: '/biz/mallinvemng/pullKmallInveMng',
- method: 'POST',
- params: query,
- timeout: 3600 * 1000
- }).then(function (response) {
- loading.close();
- _this.$alert("拉取成功...");
- }).catch(function () {
- loading.close();
- _this.$alert("拉取异常...");
- })
- }
|