Browse Source

发料申请

master
陈薪名 1 year ago
parent
commit
cd554e08f5
  1. 30
      src/api/wms/issueRequestMain/index.ts

30
src/api/wms/issueRequestMain/index.ts

@ -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 })
}

Loading…
Cancel
Save