From 472ae10e98cc022e89c733fe9760488180e3143d Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Thu, 30 Oct 2025 16:43:52 +0800
Subject: [PATCH] =?UTF-8?q?2025-10-30=20=E4=BF=AE=E6=94=B9=E9=94=80?=
=?UTF-8?q?=E5=94=AE=E5=8F=91=E8=B4=A7=E8=A3=85=E7=AE=B1=E5=AE=8C=E6=88=90?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/boxManage/saleBoxManage.vue | 21 +++++++++++++------
.../modules/warehouse/countingReport.vue | 7 ++++---
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/views/modules/boxManage/saleBoxManage.vue b/src/views/modules/boxManage/saleBoxManage.vue
index 6954f06..c6cfa5e 100644
--- a/src/views/modules/boxManage/saleBoxManage.vue
+++ b/src/views/modules/boxManage/saleBoxManage.vue
@@ -1115,19 +1115,28 @@ export default {
// 处理完成操作
async handleComplete(row){
- this.$confirm('是否包装完成?', '提示', {
+ this.$confirm('是否包装完成?完成后将创建检验任务', '提示', {
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning'
}).then(async () => {
try {
- const {data} = await updateOrderStatus({
- site: row.site,
- buNo: row.buNo,
- orderNo: row.orderNo
+ const {data} = await this.$http({
+ url: this.$http.adornUrl('/boxForNotification/completePacking'),
+ method: 'post',
+ data: this.$http.adornData({
+ site: row.site,
+ buNo: row.buNo,
+ orderNo: row.orderNo,
+ customerId: row.customerId,
+ relatedOrderNo: row.relatedOrderNo,
+ relatedOrderLineNo: row.relatedOrderLineNo,
+ requiredQty: row.requiredQty,
+ orderQty: row.orderQty
+ })
})
if(data && data.code === 0){
- this.$message.success('操作成功,单据状态已更新为"待出库"')
+ this.$message.success('包装完成,检验任务已创建')
// 刷新列表
this.getMainData()
} else {
diff --git a/src/views/modules/warehouse/countingReport.vue b/src/views/modules/warehouse/countingReport.vue
index 3f1b960..686ebf7 100644
--- a/src/views/modules/warehouse/countingReport.vue
+++ b/src/views/modules/warehouse/countingReport.vue
@@ -193,13 +193,14 @@
border
v-loading="detailLoading"
style="width: 100%;">
-
+
+
-
+
{{ scope.row.checkedFlag === 'Y' ? '是' : '否' }}
@@ -374,7 +375,7 @@ export default {
const month = String(today.getMonth() + 1).padStart(2, '0')
const day = String(today.getDate()).padStart(2, '0')
const todayStr = `${year}-${month}-${day}`
-
+
this.modalData = {
flag: 'add',
bu: this.userBuList.length > 0 ? this.userBuList[0].buNo : '',