From 0eb9eee7d8975dc2b6c497693984cd9a994b86cd Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Tue, 10 Sep 2024 11:26:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=84=E4=BB=B6=202024/7/2?=
=?UTF-8?q?9=2015:13:04?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/request2.js | 17 +
src/common/array.js | 20 +-
src/mycomponents/job/jobComMainDetailCard.vue | 2 +-
src/mycomponents/package/packageList.vue | 30 +-
src/pages/issue/job/issueJob.vue | 37 ++-
src/pages/issue/record/issueRecord.vue | 296 ++----------------
src/pages/package/coms/comScanPackagePack.vue | 10 +-
.../coms/comReceiptDetailCard.vue | 40 ++-
src/pages/repleinsh/job/repleinshJob.vue | 37 ++-
.../repleinsh/record/repleinshRecord.vue | 2 +-
10 files changed, 199 insertions(+), 292 deletions(-)
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 @@