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.

54 lines
1.0 KiB

1 year ago
import request from '@/utils/request'
export default {
// 查询分页列表
listPage: function(params) {
return request({
12 months ago
url: '/wms/apiadmin/warehousearea/listPage',
1 year ago
method: 'post',
data: params,
})
},
// 库区查询
getAllWarehousearea: function(params) {
return request({
12 months ago
url: '/wms/apiadmin/warehousearea/listAll',
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
1 year ago
})
},
// 修改是否可用状态
updateIsEnable: function(sid,isEnable) {
return request({
12 months ago
url: '/wms/apiadmin/warehousearea/updateIsEnable/'+sid+"/"+isEnable
1 year ago
});
},
// 新增、保存
saveWarehousearea: function(data) {
return request({
12 months ago
url: '/wms/apiadmin/warehousearea/saveOrUpdate',
1 year ago
method: 'post',
data: data
});
},
// 初始化
initWarehousearea: function(data) {
return request({
12 months ago
url: '/wms/apiadmin/warehousearea/initialization/' + data,
1 year ago
method: 'get'
});
},
}