feat(hjgl): 完善管线预制与焊接业务

同步管线组件、材料和焊口关联数据,优化预制组件打印及焊接相关查询,减少业务台账与实际关联信息不一致。
This commit is contained in:
2026-09-16 15:49:02 +08:00
parent d090c174b9
commit 7b5b060ffc
13 changed files with 179 additions and 195 deletions
@@ -646,13 +646,13 @@ namespace FineUIPro.Web.HJGL.PointTrust
DataRow dr = dt.NewRow();
if (this.tvControlItem.SelectedNode == null)
if (string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
{
Alert.ShowInTop("请选择要打印的委托单!", MessageBoxIcon.Warning);
return;
}
string reportId = this.tvControlItem.SelectedNode.NodeID;
var trust = BLL.Batch_BatchTrustService.GetBatchTrustViewByPointBatchId(reportId);
string reportId = this.tvControlItem.SelectedNodeID;
var trust = BLL.Batch_BatchTrustService.GetBatchTrustViewById(reportId);
if (trust == null)
{
Alert.ShowInTop("请选择要打印的委托单!", MessageBoxIcon.Warning);