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.
|
|
|
import request from '@/axios';
|
|
|
|
//基础价格模板新增
|
|
|
|
export const $_priceTemplate = data => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate',
|
|
|
|
method: 'post',
|
|
|
|
data,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 品牌
|
|
|
|
export const $_basicdataBrande = params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/basicdataBrand/lists',
|
|
|
|
method: 'get',
|
|
|
|
params,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
//查询列表接口
|
|
|
|
export const $_getpriceTemplate = params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate',
|
|
|
|
method: 'get',
|
|
|
|
params,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 删除模板
|
|
|
|
export const $_deletelpriceTemplate = params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate',
|
|
|
|
method: 'delete',
|
|
|
|
params,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 修改模板
|
|
|
|
export const $_putpriceTemplate = data => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate',
|
|
|
|
method: 'put',
|
|
|
|
data,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 查看详情
|
|
|
|
export const $_InfopriceTemplate = params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate/' + params.id,
|
|
|
|
method: 'get',
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 菜单临时删除模
|
|
|
|
export const $_tempDelpriceTemplate = params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/priceTemplate',
|
|
|
|
method: 'patch',
|
|
|
|
params,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
// 导出模板
|
|
|
|
|
|
|
|
|
|
|
|
export const $_getexport= params => {
|
|
|
|
return request({
|
|
|
|
url: '/api/logpm-basicdata/basicdataPrice/export',
|
|
|
|
method: 'get',
|
|
|
|
params,
|
|
|
|
responseType: 'blob',
|
|
|
|
});
|
|
|
|
};
|