diff --git a/src/api/request2.js b/src/api/request2.js
index 72bf5624..1b287177 100644
--- a/src/api/request2.js
+++ b/src/api/request2.js
@@ -884,6 +884,15 @@ export function takeIssueJob(id) {
export function cancleTakeIssueJob(id) {
return http.put("/wms/issue-job-main/abandon?id=" + id)
}
+/**
+ * 发料 关闭任务
+ * @param {*} id
+ *
+ */
+export function closeTakeIssueJob(id) {
+ return http.put("/wms/issue-job-main/close?id=" + id)
+}
+
/**
* 发料任务 提交
* @param {*} params
@@ -2373,6 +2382,14 @@ export function takeRepleinshJob(id) {
export function cancleTakeRepleinshJob(id) {
return http.put("/wms/repleinsh-job-main/abandon?id=" + id)
}
+/**
+ * 补料任务 关闭任务
+ * @param {*} id
+ *
+ */
+export function closeTakeRepleinshJob(id) {
+ return http.put("/wms/repleinsh-job-main/close?id=" + id)
+}
/**
* 补料任务 提交
* @param {*} params
diff --git a/src/common/array.js b/src/common/array.js
index e87d780f..ed1cf95d 100644
--- a/src/common/array.js
+++ b/src/common/array.js
@@ -223,7 +223,7 @@ export function getDetailEditRemoveOption() {
}
-//详情编辑放弃
+//详情编辑关闭
export function getDetailGiveupOption() {
let option_detail_giveup = [{
text: '详情',
@@ -241,7 +241,23 @@ export function getDetailGiveupOption() {
return option_detail_giveup;
}
-
+//详情放弃
+export function getDetailCloseOption() {
+ let option_detail_giveup = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '关闭',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_detail_giveup;
+}
//详情编辑移除
export function getEditRemoveOption() {
diff --git a/src/mycomponents/job/jobComMainDetailCard.vue b/src/mycomponents/job/jobComMainDetailCard.vue
index de5f6ff4..e38de2f8 100644
--- a/src/mycomponents/job/jobComMainDetailCard.vue
+++ b/src/mycomponents/job/jobComMainDetailCard.vue
@@ -7,7 +7,7 @@