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.
46 lines
1.1 KiB
46 lines
1.1 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
// 列表查询
|
|
listPage: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/supplierinfo/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 保存
|
|
saveOrUpdate: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/supplierinfo/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 回显
|
|
fetchDetailsBySid: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/supplierinfo/fetchDetailsBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
},
|
|
// 删除
|
|
delBySids: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/supplierinfo/delBySids',
|
|
method: 'DELETE',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 获取供应商类型
|
|
selSupplierType: function(data) {
|
|
return request({
|
|
url: '/wms/apiadmin/suppliertype/selSupplierType',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
}
|
|
|