1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- 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,_this) {
- return request({
- url: '/biz/mallinvemng/pullKmallInveMng',
- method: 'POST',
- params: query,
- timeout: 3600 * 1000,
- loading: document.body
- }).then(function (response) {
- _this.$alert("拉取成功...");
- }).catch(function () {
- _this.$alert("拉取异常...");
- })
- }
|