From 7fccbbd4d9982aaa349b36cf8031cddac610e57f Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 20 十一月 2024 15:54:48 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
---
_Main/BL/Type_NewOfflinePlanCell/StaticMethod_UpdateOrder.qbl | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_UpdateOrder.qbl b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_UpdateOrder.qbl
index 987530c..67fd195 100644
--- a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_UpdateOrder.qbl
+++ b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_UpdateOrder.qbl
@@ -18,7 +18,16 @@
if ( guard( [Number]value.SubString( 1, 2 ) <= 0, true ) ) {
error( "涓嶇鍚堟牸寮�" );
- };
+ }
+
+ if ( exists( nopc, NewOfflinePlanColumn.NewOfflinePlanCell, tempNOPCell,
+ tempNOPCell <> nopc and
+ tempNOPCell.NewOfflinePlanRow().Type() = "1" and
+ tempNOPCell.NewOfflinePlanRow().ProductionLine() = nopc.NewOfflinePlanRow().ProductionLine(),
+ tempNOPCell.OrderNr() = [Number]value.SubString( 1, 2 ) )
+ ) {
+ error( "宸茬粡瀛樺湪Order锛�", [Number]value.SubString( 1, 2 ) );
+ }
nopc.Order( value );
nopc.OrderNr( [Number]value.SubString( 1, 2 ) );
--
Gitblit v1.9.3