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.
45 lines
900 B
45 lines
900 B
import request from '@/utils/request'
|
|
|
|
export default {
|
|
|
|
// 查询分页列表
|
|
listPage: function(params) {
|
|
return request({
|
|
url: '/wms/apiadmin/WmsShelfBill/listPage',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
|
|
// 初始化
|
|
init: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/WmsShelfBill/details',
|
|
method: 'get',
|
|
data:data
|
|
});
|
|
},
|
|
|
|
|
|
// 新增、保存
|
|
save: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
});
|
|
},
|
|
|
|
|
|
deleteBySids: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/WmsShelfBill/delBySids',
|
|
method: 'DELETE',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
|
|
}
|
|
|