From 1294cb0585450d22398153ca4d6514a0456f65b7 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 20 十一月 2025 12:50:18 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/web/WcsController.java |    5 ++++-
 src/main/webapp/static/js/basDevpOpt/basDevpOpt.js |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index 5550701..4a5b5bc 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -125,7 +125,10 @@
             return R.error("楂樹綆妫�娴嬩俊鍙蜂笉鑳戒负绌�");
         }
         // 婧愮珯鐐圭姸鎬佹娴�
-        BasDevp sourceStaNo = basDevpService.checkSiteStatus(param.getSourceStaNo(), true);
+        BasDevp sourceStaNo = basDevpService.selectById(param.getSourceStaNo());
+        if(sourceStaNo.getWrkNo() == 0 ){
+            return R.error("绔欑偣宸ヤ綔鍙蜂笉瀛樺湪");
+        }
         sourceStaNo.setLocType1(param.getLocType1());
         LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo);
 
diff --git a/src/main/webapp/static/js/basDevpOpt/basDevpOpt.js b/src/main/webapp/static/js/basDevpOpt/basDevpOpt.js
index d099628..16255d8 100644
--- a/src/main/webapp/static/js/basDevpOpt/basDevpOpt.js
+++ b/src/main/webapp/static/js/basDevpOpt/basDevpOpt.js
@@ -29,7 +29,7 @@
             // ,{field: 'response$', align: 'center',title: '鍝嶅簲缁撴灉'}
             // ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
             ,{field: 'sourceLoading', align: 'center',title: '婧愮珯鏈夌墿鐘舵��'}
-            // ,{field: 'posLoading', align: 'center',title: '鐩爣绔欐湁鐗╃姸鎬�'}
+            ,{field: 'posLoading', align: 'center',title: '寮傚父淇℃伅'}
             // ,{field: 'id', align: 'center',title: ''}
             ,{field: 'barcode', align: 'center',title: '鏉$爜鍊�'}
             ,{field: 'frontErr', align: 'center',title: '鍓嶈秴闄�'}

--
Gitblit v1.9.1