feat(hjgl): 完善管线预制与焊接业务
同步管线组件、材料和焊口关联数据,优化预制组件打印及焊接相关查询,减少业务台账与实际关联信息不一致。
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user