You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
|
|
// 查询分页列表
|
|
listPage: function(params) {
|
|
return request({
|
|
url: '/wms/v1/wmsinventorycheckbill/listPage',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 新增、保存
|
|
save: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/inventory/wmsinventorycheckbill/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
});
|
|
},
|
|
|
|
// 初始化
|
|
init: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/inventory/wmsinventorycheckbill/' + data,
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
// 查询所有商品
|
|
getWarehousesGoods: function(params) {
|
|
return request({
|
|
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
|
|
// 盘点
|
|
inven: function(params) {
|
|
return request({
|
|
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
}
|
|
|