|
@ -71,3 +71,33 @@ export const exportIssueRequestMain = async (params) => { |
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|
return request.download({ url: '/wms/issue-request-main/get-import-template' }) |
|
|
return request.download({ url: '/wms/issue-request-main/get-import-template' }) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 关闭
|
|
|
|
|
|
export const close = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/close?id=' + id }) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 重新添加
|
|
|
|
|
|
export const reAdd = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/reAdd?id=' + id }) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 提交审批
|
|
|
|
|
|
export const submit = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/submit?id=' + id }) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 驳回
|
|
|
|
|
|
export const refused = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/refused?id=' + id }) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 审批通过
|
|
|
|
|
|
export const agree = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/agree?id=' + id }) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 处理
|
|
|
|
|
|
export const handle = (id) => { |
|
|
|
|
|
return request.put({ url: '/wms/issue-request-main/handle?id=' + id }) |
|
|
|
|
|
} |
|
|