New file |
| | |
| | | import request from '@/utils/request'; |
| | | |
| | | // 物品报废 |
| | | // 新增 |
| | | export function scrappedAdd(data) { |
| | | return request({ |
| | | url: '/pc/l/wh/form/scrapped/add', |
| | | method: 'post', |
| | | data, |
| | | }); |
| | | } |
| | | |
| | | // 列表 |
| | | export function scrappedList(params) { |
| | | return request({ |
| | | url: '/pc/l/wh/form/scrapped/list', |
| | | method: 'get', |
| | | params, |
| | | }); |
| | | } |
| | | |
| | | // 详情 |
| | | export function scrappedDetail(params) { |
| | | return request({ |
| | | url: '/pc/l/wh/form/scrapped/detail', |
| | | method: 'get', |
| | | params, |
| | | }); |
| | | } |
| | | // 导出 |
| | | export function scrappedExport(params) { |
| | | return request({ |
| | | url: '/pc/l/wh/form/scrapped/export', |
| | | method: 'get', |
| | | params, |
| | | }); |
| | | } |
| | | |
| | | // 明细列表 |
| | | export function scrappedListDetailList(params) { |
| | | return request({ |
| | | url: '/pc/l/wh/form/scrapped/list/detailList', |
| | | method: 'get', |
| | | params, |
| | | }); |
| | | } |