From f3469b6f8b6da3cfe726290113ea0036d32a000f Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 3 Apr 2026 16:55:41 +0800
Subject: [PATCH] =?UTF-8?q?2026-04-03=20=E5=A2=9E=E5=8A=A0=E3=80=90?=
=?UTF-8?q?=E6=89=93=E5=BC=80=E3=80=91=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/qc/Inbound_notification.js | 2 ++
src/api/qc/outbound_notification.js | 2 ++
src/views/modules/qc/inboundNotification.vue | 25 +++++++++++++++++++
src/views/modules/qc/outboundNotification.vue | 25 +++++++++++++++++++
4 files changed, 54 insertions(+)
diff --git a/src/api/qc/Inbound_notification.js b/src/api/qc/Inbound_notification.js
index 8291bcd..1b15345 100644
--- a/src/api/qc/Inbound_notification.js
+++ b/src/api/qc/Inbound_notification.js
@@ -7,6 +7,8 @@ export const searchInboundNotification = data => createAPI('/inbound/searchInbou
export const saveInboundNotification = data => createAPI('/inbound/saveInboundNotification','post',data)
// 编辑收获入库单
export const updateInboundNotification = data => createAPI('/inbound/updateInboundNotification','post',data)
+// 打开收获入库单
+export const openInboundNotification = data => createAPI('/inbound/openInboundNotification','post',data)
// 删除收获入库单
export const deleteInboundNotification = data => createAPI('/inbound/deleteInboundNotification','post',data)
// 关闭收获入库单
diff --git a/src/api/qc/outbound_notification.js b/src/api/qc/outbound_notification.js
index 7255b1a..a4925dc 100644
--- a/src/api/qc/outbound_notification.js
+++ b/src/api/qc/outbound_notification.js
@@ -6,6 +6,8 @@ export const searchOutboundNotification = data => createAPI('/outbound/searchOut
export const saveOutboundNotification = data => createAPI('/outbound/saveOutboundNotification','post',data)
// 编辑拣货出库单
export const updateOutboundNotification = data => createAPI('/outbound/updateOutboundNotification','post',data)
+// 打开拣货出库单
+export const openOutboundNotification = data => createAPI('/outbound/openOutboundNotification','post',data)
// 删除拣货出库单
export const deleteOutboundNotification = data => createAPI('/outbound/deleteOutboundNotification','post',data)
// 关闭拣货出库单
diff --git a/src/views/modules/qc/inboundNotification.vue b/src/views/modules/qc/inboundNotification.vue
index a0cfcd3..9a3f4c2 100644
--- a/src/views/modules/qc/inboundNotification.vue
+++ b/src/views/modules/qc/inboundNotification.vue
@@ -199,6 +199,7 @@
下达
+ 打开
@@ -806,6 +807,7 @@
searchInboundNotification, // 查询收获入库单
saveInboundNotification, // 新增收获入库单
updateInboundNotification, // 编辑收获入库单
+ openInboundNotification, // 打开收获入库单
deleteInboundNotification, // 删除收获入库单
closeInboundNotification, // 关闭收获入库单
issueInboundNotification, // 下达收获入库单
@@ -1738,6 +1740,29 @@
})
},
+ // 打开
+ openModal (row) {
+ this.$confirm('确认打开?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ let inData = {
+ site: row.site,
+ buNo: row.buNo,
+ orderNo: row.orderNo
+ }
+ openInboundNotification(inData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.getDataList()
+ this.$message.success('操作成功')
+ } else {
+ this.$message.error(data.msg)
+ }
+ })
+ });
+ },
+
// 列表表格选择替换
tabClick (tab, event) {
// 刷新列表数据
diff --git a/src/views/modules/qc/outboundNotification.vue b/src/views/modules/qc/outboundNotification.vue
index 3b583da..4fddfe3 100644
--- a/src/views/modules/qc/outboundNotification.vue
+++ b/src/views/modules/qc/outboundNotification.vue
@@ -200,6 +200,7 @@
下达
+ 打开
@@ -802,6 +803,7 @@
searchOutboundNotification, // 查询拣货出库单
saveOutboundNotification, // 新增拣货出库单
updateOutboundNotification, // 编辑拣货出库单
+ openOutboundNotification, // 打开拣货出库单
deleteOutboundNotification, // 删除拣货出库单
closeOutboundNotification, // 关闭拣货出库单
issueOutboundNotification, // 下达拣货出库单
@@ -1793,6 +1795,29 @@
})
},
+ // 打开
+ openModal (row) {
+ this.$confirm('确认打开?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ let inData = {
+ site: row.site,
+ buNo: row.buNo,
+ orderNo: row.orderNo
+ }
+ openOutboundNotification(inData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.getDataList()
+ this.$message.success('操作成功')
+ } else {
+ this.$message.error(data.msg)
+ }
+ })
+ });
+ },
+
// 列表表格选择替换
tabClick (tab, event) {
// 刷新列表数据