From 2f0fa284c8f16f54e131585e8805e536ac94d14e Mon Sep 17 00:00:00 2001
From: zhang_li
Date: Fri, 18 Jul 2025 10:16:20 +0800
Subject: [PATCH] =?UTF-8?q?YT-2897=E9=A1=BA=E5=BC=95=E5=8F=91=E8=B4=A7?=
=?UTF-8?q?=EF=BC=8C=E7=94=9F=E6=88=90=E5=AE=8C=E5=AE=A2=E6=88=B7=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E5=8F=B7=E7=9A=84=EF=BC=8C=E5=BA=94=E8=AF=A5=E4=B8=8D?=
=?UTF-8?q?=E8=83=BD=E5=86=8D=E6=94=B9=E5=AF=B9=E8=B4=A6=E6=97=A5=E6=9C=9F?=
=?UTF-8?q?=20=20=20=20=20=20=20=E5=8F=91=E8=B4=A7=E6=95=B0=E9=87=8F?=
=?UTF-8?q?=E4=B8=BA0=E4=B8=8D=E9=9C=80=E8=A6=81=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/locales/en-US.ts | 5 +++--
src/locales/zh-CN.ts | 3 ++-
.../inducedProduct/deliverRecordMain/index.vue | 7 ++++++-
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts
index 4f0f6bd03..1049b7a32 100644
--- a/src/locales/en-US.ts
+++ b/src/locales/en-US.ts
@@ -905,7 +905,6 @@ export default {
'覆盖:只修改不新增':'Cover:Modify,not add',
下载模板: 'Download Template',
下载差异数据: 'Download differential data',
- 差异调整: 'Differential adjustment',
更新:'Update',
追加:'Add',
覆盖:'Cover',
@@ -1339,6 +1338,8 @@ export default {
更新要货预测:'Update the order forecast',
临时补料:'Temporary material replenishment',
调整差异数量: 'Adjust the number of differences',
- 维护对账日期:'Maintain reconciliation date'
+ 维护对账日期: 'Maintain reconciliation date',
+ '请先计算发货数量!': 'Please calculate the shipment quantity first!',
+ '发货数量是0,不可以更新对账日期': 'The shipment quantity is 0, and the reconciliation date cannot be updated'
},
}
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 1f5422c39..6afbd7965 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -910,7 +910,6 @@ export default {
'覆盖:只修改不新增':'覆盖:只修改不新增',
下载模板: '下载模板',
下载差异数据: '下载差异数据',
- 差异调整: '差异调整',
更新:'更新',
追加:'追加',
覆盖:'覆盖',
@@ -1339,6 +1338,8 @@ export default {
临时补料: '临时补料',
调整差异数量: '调整差异数量',
维护对账日期: '维护对账日期',
+ '请先计算发货数量!': '请先计算发货数量!',
+ '发货数量是0,不可以更新对账日期': '发货数量是0,不可以更新对账日期'
},
}
diff --git a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue
index 8b4557db4..a5cb30d14 100644
--- a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue
+++ b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue
@@ -724,9 +724,14 @@ const updateBillDate = async () => {
data.customerCode=''
data.incorporationNumber = ''
if (!allNumber.value) {
- message.warning('请先计算发货数量!')
+ message.warning(t('ts.请先计算发货数量!'))
return
}
+ if (allNumber.value == 0 || allNumber.value == '0') {
+ message.warning(t('ts.发货数量是0,不可以更新对账日期'))
+ return
+ }
+ return
try {
maintenanceBillDateRef.value.formLoading = true
const statusData = await MaintenanceBillDateApi.judgmentReconciliationDateRepeat(data)