This commit is contained in:
chi
2022-07-22 08:34:33 +09:00
parent f96c853911
commit a883d6fe1e
18 changed files with 3597 additions and 2829 deletions

View File

@@ -20,6 +20,7 @@ namespace FCM0000
public decimal itempriceD { get; set; }
public string SID { get; set; }
public string itemUnit { get; set; }
public string Storage { get; set; }
public string itemSupply { get; set; }
public int itemSupplyidx { get; set; }
@@ -40,6 +41,7 @@ namespace FCM0000
itempriceD = 0;
SID = string.Empty;
itemUnit = "EA";
Storage = string.Empty;
itemSupply = string.Empty;
itemSupplyidx = -1;
itemManu = string.Empty;
@@ -107,6 +109,7 @@ namespace FCM0000
itemSupply = string.Empty;
itemSupplyidx = -1;
itemManu = string.Empty;
Storage = string.Empty;
itemUnit = "EA";
SID = string.Empty;
return;
@@ -125,7 +128,9 @@ namespace FCM0000
else itemprice = dr.price;
if (dr.IspriceDNull()) itempriceD = 0;
else itempriceD = dr.priceD;
if (dr.IsStorageNull()) Storage = string.Empty;
else Storage = dr.Storage;
if (dr.IssupplyNull()) itemSupply = string.Empty;
else itemSupply = dr.supply;
@@ -277,6 +282,7 @@ namespace FCM0000
itemUnit = f.tbUnit.Text.Trim();
itemSupply = f.tbSupply.Text.Trim();
itemSupplyidx = int.Parse(f.tbSupplyIdx.Text);
Storage = f.tbStorage.Text.Trim();
DialogResult = System.Windows.Forms.DialogResult.OK;
}
}