feat(材料管理):增加调拨出库

This commit is contained in:
2026-07-13 17:25:28 +08:00
parent 4df4d8bca3
commit 040de31eb1
14 changed files with 1102 additions and 29 deletions
+627 -2
View File
@@ -1,5 +1,4 @@

#pragma warning disable 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@@ -660,6 +659,12 @@ namespace Model
partial void InsertHJGL_DesignBasisDataImportVerSionLog(HJGL_DesignBasisDataImportVerSionLog instance);
partial void UpdateHJGL_DesignBasisDataImportVerSionLog(HJGL_DesignBasisDataImportVerSionLog instance);
partial void DeleteHJGL_DesignBasisDataImportVerSionLog(HJGL_DesignBasisDataImportVerSionLog instance);
partial void InsertHJGL_DrawingRecognition_Material(HJGL_DrawingRecognition_Material instance);
partial void UpdateHJGL_DrawingRecognition_Material(HJGL_DrawingRecognition_Material instance);
partial void DeleteHJGL_DrawingRecognition_Material(HJGL_DrawingRecognition_Material instance);
partial void InsertHJGL_DrawingRecognition_PipeLengths(HJGL_DrawingRecognition_PipeLengths instance);
partial void UpdateHJGL_DrawingRecognition_PipeLengths(HJGL_DrawingRecognition_PipeLengths instance);
partial void DeleteHJGL_DrawingRecognition_PipeLengths(HJGL_DrawingRecognition_PipeLengths instance);
partial void InsertHJGL_Hard_Report(HJGL_Hard_Report instance);
partial void UpdateHJGL_Hard_Report(HJGL_Hard_Report instance);
partial void DeleteHJGL_Hard_Report(HJGL_Hard_Report instance);
@@ -3662,6 +3667,22 @@ namespace Model
}
}
public System.Data.Linq.Table<HJGL_DrawingRecognition_Material> HJGL_DrawingRecognition_Material
{
get
{
return this.GetTable<HJGL_DrawingRecognition_Material>();
}
}
public System.Data.Linq.Table<HJGL_DrawingRecognition_PipeLengths> HJGL_DrawingRecognition_PipeLengths
{
get
{
return this.GetTable<HJGL_DrawingRecognition_PipeLengths>();
}
}
public System.Data.Linq.Table<HJGL_Hard_Report> HJGL_Hard_Report
{
get
@@ -96966,6 +96987,562 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_DrawingRecognition_Material")]
public partial class HJGL_DrawingRecognition_Material : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _Pipe_no;
private System.Nullable<int> _Pipe_page_no;
private System.Nullable<int> _Seq_no;
private string _Category;
private string _Description;
private string _Spec;
private string _Code;
private string _Qty;
private string _Unit;
private string _Material;
private string _Drawing_number;
private string _Remark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnPipe_noChanging(string value);
partial void OnPipe_noChanged();
partial void OnPipe_page_noChanging(System.Nullable<int> value);
partial void OnPipe_page_noChanged();
partial void OnSeq_noChanging(System.Nullable<int> value);
partial void OnSeq_noChanged();
partial void OnCategoryChanging(string value);
partial void OnCategoryChanged();
partial void OnDescriptionChanging(string value);
partial void OnDescriptionChanged();
partial void OnSpecChanging(string value);
partial void OnSpecChanged();
partial void OnCodeChanging(string value);
partial void OnCodeChanged();
partial void OnQtyChanging(string value);
partial void OnQtyChanged();
partial void OnUnitChanging(string value);
partial void OnUnitChanged();
partial void OnMaterialChanging(string value);
partial void OnMaterialChanged();
partial void OnDrawing_numberChanging(string value);
partial void OnDrawing_numberChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public HJGL_DrawingRecognition_Material()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="id", Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pipe_no", Storage="_Pipe_no", DbType="NVarChar(200)")]
public string Pipe_no
{
get
{
return this._Pipe_no;
}
set
{
if ((this._Pipe_no != value))
{
this.OnPipe_noChanging(value);
this.SendPropertyChanging();
this._Pipe_no = value;
this.SendPropertyChanged("Pipe_no");
this.OnPipe_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pipe_page_no", Storage="_Pipe_page_no", DbType="Int")]
public System.Nullable<int> Pipe_page_no
{
get
{
return this._Pipe_page_no;
}
set
{
if ((this._Pipe_page_no != value))
{
this.OnPipe_page_noChanging(value);
this.SendPropertyChanging();
this._Pipe_page_no = value;
this.SendPropertyChanged("Pipe_page_no");
this.OnPipe_page_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="seq_no", Storage="_Seq_no", DbType="Int")]
public System.Nullable<int> Seq_no
{
get
{
return this._Seq_no;
}
set
{
if ((this._Seq_no != value))
{
this.OnSeq_noChanging(value);
this.SendPropertyChanging();
this._Seq_no = value;
this.SendPropertyChanged("Seq_no");
this.OnSeq_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="category", Storage="_Category", DbType="NVarChar(255)")]
public string Category
{
get
{
return this._Category;
}
set
{
if ((this._Category != value))
{
this.OnCategoryChanging(value);
this.SendPropertyChanging();
this._Category = value;
this.SendPropertyChanged("Category");
this.OnCategoryChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="description", Storage="_Description", DbType="NVarChar(1000)")]
public string Description
{
get
{
return this._Description;
}
set
{
if ((this._Description != value))
{
this.OnDescriptionChanging(value);
this.SendPropertyChanging();
this._Description = value;
this.SendPropertyChanged("Description");
this.OnDescriptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="spec", Storage="_Spec", DbType="NVarChar(100)")]
public string Spec
{
get
{
return this._Spec;
}
set
{
if ((this._Spec != value))
{
this.OnSpecChanging(value);
this.SendPropertyChanging();
this._Spec = value;
this.SendPropertyChanged("Spec");
this.OnSpecChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="code", Storage="_Code", DbType="NVarChar(100)")]
public string Code
{
get
{
return this._Code;
}
set
{
if ((this._Code != value))
{
this.OnCodeChanging(value);
this.SendPropertyChanging();
this._Code = value;
this.SendPropertyChanged("Code");
this.OnCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="qty", Storage="_Qty", DbType="NVarChar(50)")]
public string Qty
{
get
{
return this._Qty;
}
set
{
if ((this._Qty != value))
{
this.OnQtyChanging(value);
this.SendPropertyChanging();
this._Qty = value;
this.SendPropertyChanged("Qty");
this.OnQtyChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="unit", Storage="_Unit", DbType="NVarChar(50)")]
public string Unit
{
get
{
return this._Unit;
}
set
{
if ((this._Unit != value))
{
this.OnUnitChanging(value);
this.SendPropertyChanging();
this._Unit = value;
this.SendPropertyChanged("Unit");
this.OnUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="material", Storage="_Material", DbType="NVarChar(255)")]
public string Material
{
get
{
return this._Material;
}
set
{
if ((this._Material != value))
{
this.OnMaterialChanging(value);
this.SendPropertyChanging();
this._Material = value;
this.SendPropertyChanged("Material");
this.OnMaterialChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="drawing_number", Storage="_Drawing_number", DbType="NVarChar(200)")]
public string Drawing_number
{
get
{
return this._Drawing_number;
}
set
{
if ((this._Drawing_number != value))
{
this.OnDrawing_numberChanging(value);
this.SendPropertyChanging();
this._Drawing_number = value;
this.SendPropertyChanged("Drawing_number");
this.OnDrawing_numberChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remark", Storage="_Remark", DbType="NVarChar(1000)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_DrawingRecognition_PipeLengths")]
public partial class HJGL_DrawingRecognition_PipeLengths : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private System.Nullable<int> _Pipe_no;
private System.Nullable<int> _Pipe_page_no;
private System.Nullable<int> _Group_index;
private string _Pos_no;
private string _Length_mm;
private string _Dn;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnPipe_noChanging(System.Nullable<int> value);
partial void OnPipe_noChanged();
partial void OnPipe_page_noChanging(System.Nullable<int> value);
partial void OnPipe_page_noChanged();
partial void OnGroup_indexChanging(System.Nullable<int> value);
partial void OnGroup_indexChanged();
partial void OnPos_noChanging(string value);
partial void OnPos_noChanged();
partial void OnLength_mmChanging(string value);
partial void OnLength_mmChanged();
partial void OnDnChanging(string value);
partial void OnDnChanged();
#endregion
public HJGL_DrawingRecognition_PipeLengths()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="id", Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pipe_no", Storage="_Pipe_no", DbType="Int")]
public System.Nullable<int> Pipe_no
{
get
{
return this._Pipe_no;
}
set
{
if ((this._Pipe_no != value))
{
this.OnPipe_noChanging(value);
this.SendPropertyChanging();
this._Pipe_no = value;
this.SendPropertyChanged("Pipe_no");
this.OnPipe_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pipe_page_no", Storage="_Pipe_page_no", DbType="Int")]
public System.Nullable<int> Pipe_page_no
{
get
{
return this._Pipe_page_no;
}
set
{
if ((this._Pipe_page_no != value))
{
this.OnPipe_page_noChanging(value);
this.SendPropertyChanging();
this._Pipe_page_no = value;
this.SendPropertyChanged("Pipe_page_no");
this.OnPipe_page_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="group_index", Storage="_Group_index", DbType="Int")]
public System.Nullable<int> Group_index
{
get
{
return this._Group_index;
}
set
{
if ((this._Group_index != value))
{
this.OnGroup_indexChanging(value);
this.SendPropertyChanging();
this._Group_index = value;
this.SendPropertyChanged("Group_index");
this.OnGroup_indexChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pos_no", Storage="_Pos_no", DbType="NVarChar(50)")]
public string Pos_no
{
get
{
return this._Pos_no;
}
set
{
if ((this._Pos_no != value))
{
this.OnPos_noChanging(value);
this.SendPropertyChanging();
this._Pos_no = value;
this.SendPropertyChanged("Pos_no");
this.OnPos_noChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="length_mm", Storage="_Length_mm", DbType="NVarChar(50)")]
public string Length_mm
{
get
{
return this._Length_mm;
}
set
{
if ((this._Length_mm != value))
{
this.OnLength_mmChanging(value);
this.SendPropertyChanging();
this._Length_mm = value;
this.SendPropertyChanged("Length_mm");
this.OnLength_mmChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="dn", Storage="_Dn", DbType="NVarChar(50)")]
public string Dn
{
get
{
return this._Dn;
}
set
{
if ((this._Dn != value))
{
this.OnDnChanging(value);
this.SendPropertyChanging();
this._Dn = value;
this.SendPropertyChanged("Dn");
this.OnDnChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Hard_Report")]
public partial class HJGL_Hard_Report : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -278888,6 +279465,10 @@ namespace Model
private string _WarehouseId;
private string _TransferWarehouseId;
private string _TransferBatchId;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -278936,6 +279517,10 @@ namespace Model
partial void OnWarehouseDateChanged();
partial void OnWarehouseIdChanging(string value);
partial void OnWarehouseIdChanged();
partial void OnTransferWarehouseIdChanging(string value);
partial void OnTransferWarehouseIdChanged();
partial void OnTransferBatchIdChanging(string value);
partial void OnTransferBatchIdChanged();
#endregion
public Tw_InOutPlanMaster()
@@ -279383,6 +279968,46 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferWarehouseId", DbType="NVarChar(50)")]
public string TransferWarehouseId
{
get
{
return this._TransferWarehouseId;
}
set
{
if ((this._TransferWarehouseId != value))
{
this.OnTransferWarehouseIdChanging(value);
this.SendPropertyChanging();
this._TransferWarehouseId = value;
this.SendPropertyChanged("TransferWarehouseId");
this.OnTransferWarehouseIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferBatchId", DbType="NVarChar(50)")]
public string TransferBatchId
{
get
{
return this._TransferBatchId;
}
set
{
if ((this._TransferBatchId != value))
{
this.OnTransferBatchIdChanging(value);
this.SendPropertyChanging();
this._TransferBatchId = value;
this.SendPropertyChanged("TransferBatchId");
this.OnTransferBatchIdChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;