| | |
| | | return request.get(SettingIplatform.apiBaseURL + '/pc/fin/sys/tenant/select/tree_fin_tenant', {params: parameter}) |
| | | } |
| | | |
| | | |
| | | /** |
| | | * @Description 根据首字母查询区划列表 |
| | | * @Author sgp |
| | |
| | | // 新增 |
| | | export function add(data) { |
| | | return request({ |
| | | url: '/pc/fin/sys/tenant/add', |
| | | url: '/pc/base/category/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | // 修改 |
| | | export function edit(data) { |
| | | return request({ |
| | | url: '/pc/fin/sys/tenant/edit', |
| | | url: '/pc/base/category/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function addcode(data) { |
| | | return request({ |
| | | url: '/pc/base/goods/template/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function addstore(data) { |
| | | return request({ |
| | | url: '/pc/base/warehouse/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function editstore(data) { |
| | | return request({ |
| | | url: '/pc/base/warehouse/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function delstore(data) { |
| | | return request({ |
| | | url: '/pc/base/warehouse/del', |
| | | method: 'delete', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function editmaterial(data) { |
| | | return request({ |
| | | url: `/pc/base/goods/template/detail/?id=${data}`, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | |
| | | export function editcode(data) { |
| | | return request({ |
| | | url: '/pc/base/goods/template/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function upcode(data) { |
| | | return request({ |
| | | url: '/pc/base/goods/template/updStatus', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function delCode(data) { |
| | | return request({ |
| | | url: '/pc/base/goods/template/del', |
| | | method: 'delete', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function treeList() { |
| | | return request({ |
| | | url: '/pc/base/category/select/lv3_tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export function classList() { |
| | | return request({ |
| | | url: '/pc/base/goods/template/select/classificationCode', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 删除机构信息 |
| | | export function del(data) { |
| | | return request({ |
| | | url: '/pc/fin/sys/tenant/del', |
| | | method: 'post', |
| | | url: '/pc/base/category/del', |
| | | method: 'delete', |
| | | data: data |
| | | }) |
| | | } |