Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
debabf1b6c
  1. 2
      src/api/wms/issueJobMain/index.ts
  2. 12
      src/views/wms/issueManage/issue/issueJobMain/index.vue

2
src/api/wms/issueJobMain/index.ts

@ -99,7 +99,7 @@ export const abandonIssueMain = async (id) => {
// 关闭发料任务
export const closeIssueMain = async (id) => {
return await request.get({ url: `/wms/issue-job-main/close?id=` + id })
return await request.put({ url: `/wms/issue-job-main/close?id=` + id })
}
// 执行发料任务

12
src/views/wms/issueManage/issue/issueJobMain/index.vue

@ -268,13 +268,17 @@ const buttonTableClick = async (val, row) => {
}]
}]
}
IssueJobMainApi.executeIssueMain(aaa)
await IssueJobMainApi.executeIssueMain(aaa)
getList()
} else if (val == 'mainJobAba') { //
IssueJobMainApi.abandonIssueMain(row.masterId)
await IssueJobMainApi.abandonIssueMain(row.masterId)
getList()
} else if (val == 'mainJobClo') { //
IssueJobMainApi.closeIssueMain(row.masterId)
await IssueJobMainApi.closeIssueMain(row.masterId)
getList()
} else if (val == 'mainJobAcc') { //
IssueJobMainApi.acceptIssueMain(row.masterId)
await IssueJobMainApi.acceptIssueMain(row.masterId)
getList()
}
}
//

Loading…
Cancel
Save