From daea1a90c2fa1b5cc2f52e62be15bd95cc4155f6 Mon Sep 17 00:00:00 2001
From: Tiandele <tiandele@hnkhzn.com>
Date: 星期五, 20 三月 2026 17:16:04 +0800
Subject: [PATCH] 优化手动锁车逻辑
---
项目代码/WMS/WMSServer/WIDESEA_StorageBasicServices/Stock/VV_StockInfoService.cs | 6 ++++--
项目代码/WMS/WMSClient/src/api/buttons.js | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/api/buttons.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/api/buttons.js"
index b50dc23..a995471 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/api/buttons.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/api/buttons.js"
@@ -206,7 +206,7 @@
}
}
, {
- name: '搴撳瓨閿佸畾',
+ name: '閿佸畾',
// icon: 'el-icon-printer',
type: 'primary',
// plain: true,
@@ -217,7 +217,7 @@
}
}
, {
- name: '搴撳瓨瑙i攣',
+ name: '瑙i攣',
// icon: 'el-icon-printer',
type: 'primary',
// plain: true,
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/Stock/VV_StockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/Stock/VV_StockInfoService.cs"
index 2396fab..4e7c8c2 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/Stock/VV_StockInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/Stock/VV_StockInfoService.cs"
@@ -25,8 +25,10 @@
foreach (var item in keys)
{
var stock = _repository.QueryFirst(x => x.Id == Convert.ToInt32(item));
- stock.StockStatus= 1;
- _repository.UpdateData(stock);
+ if (stock.LockOrder != 1){
+ stock.StockStatus = 1;
+ _repository.UpdateData(stock);
+ }
}
return content.OK("閿佸畾鎴愬姛!");
--
Gitblit v1.9.3