feat(clgl): 新增入库材料条形码打印
生成入库单时同步生成入库材料条形码明细,并在入库单管理中支持整单和单条条形码打印。
This commit is contained in:
+170
-2
@@ -1,5 +1,4 @@
|
||||
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 1591
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@@ -1797,6 +1796,9 @@ namespace Model
|
||||
partial void InsertTw_InputDetail(Tw_InputDetail instance);
|
||||
partial void UpdateTw_InputDetail(Tw_InputDetail instance);
|
||||
partial void DeleteTw_InputDetail(Tw_InputDetail instance);
|
||||
partial void InsertTw_InputDetailBarCode(Tw_InputDetailBarCode instance);
|
||||
partial void UpdateTw_InputDetailBarCode(Tw_InputDetailBarCode instance);
|
||||
partial void DeleteTw_InputDetailBarCode(Tw_InputDetailBarCode instance);
|
||||
partial void InsertTw_InputMaster(Tw_InputMaster instance);
|
||||
partial void UpdateTw_InputMaster(Tw_InputMaster instance);
|
||||
partial void DeleteTw_InputMaster(Tw_InputMaster instance);
|
||||
@@ -6692,6 +6694,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Tw_InputDetailBarCode> Tw_InputDetailBarCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Tw_InputDetailBarCode>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Tw_InputMaster> Tw_InputMaster
|
||||
{
|
||||
get
|
||||
@@ -277196,6 +277206,164 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Tw_InputDetailBarCode")]
|
||||
public partial class Tw_InputDetailBarCode : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _InputDetailId;
|
||||
|
||||
private string _InputMasterId;
|
||||
|
||||
private string _MaterialCode;
|
||||
|
||||
private string _BarCode;
|
||||
|
||||
#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 OnInputDetailIdChanging(string value);
|
||||
partial void OnInputDetailIdChanged();
|
||||
partial void OnInputMasterIdChanging(string value);
|
||||
partial void OnInputMasterIdChanged();
|
||||
partial void OnMaterialCodeChanging(string value);
|
||||
partial void OnMaterialCodeChanged();
|
||||
partial void OnBarCodeChanging(string value);
|
||||
partial void OnBarCodeChanged();
|
||||
#endregion
|
||||
|
||||
public Tw_InputDetailBarCode()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(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(Storage="_InputDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string InputDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InputDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InputDetailId != value))
|
||||
{
|
||||
this.OnInputDetailIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InputDetailId = value;
|
||||
this.SendPropertyChanged("InputDetailId");
|
||||
this.OnInputDetailIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InputMasterId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string InputMasterId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InputMasterId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InputMasterId != value))
|
||||
{
|
||||
this.OnInputMasterIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InputMasterId = value;
|
||||
this.SendPropertyChanged("InputMasterId");
|
||||
this.OnInputMasterIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
|
||||
public string MaterialCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialCode != value))
|
||||
{
|
||||
this.OnMaterialCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialCode = value;
|
||||
this.SendPropertyChanged("MaterialCode");
|
||||
this.OnMaterialCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BarCode", DbType="NVarChar(500)")]
|
||||
public string BarCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BarCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BarCode != value))
|
||||
{
|
||||
this.OnBarCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BarCode = value;
|
||||
this.SendPropertyChanged("BarCode");
|
||||
this.OnBarCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Tw_InputMaster")]
|
||||
public partial class Tw_InputMaster : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user