|
|
|
|
@ -132,7 +132,7 @@ namespace Khd.Core.Wpf.TaskForm
|
|
|
|
|
StockAmount = t.Sum(n => n.StockAmount),
|
|
|
|
|
LocationCode = wcsTask.currPointNo,
|
|
|
|
|
MaterialId = t.Key,
|
|
|
|
|
RealAmount = t.Sum(n => n.RealAmount),
|
|
|
|
|
RealAmount = (t.Sum(n => n.RealAmount)).ToString(),
|
|
|
|
|
});
|
|
|
|
|
this.InventoryDataGrid.Items.Refresh();
|
|
|
|
|
if (wmsInventoryCheckDetails.Count == 0)
|
|
|
|
|
@ -188,13 +188,16 @@ namespace Khd.Core.Wpf.TaskForm
|
|
|
|
|
if (this.InventoryDataGrid.SelectedItem != null)
|
|
|
|
|
{
|
|
|
|
|
dynamic item = this.InventoryDataGrid.SelectedItem;
|
|
|
|
|
long materialId = item.MaterialId;
|
|
|
|
|
string containerNo = item.ContainerNo;
|
|
|
|
|
string materialName = item.MaterialName;
|
|
|
|
|
string locationCode = item.LocationCode;
|
|
|
|
|
UpdateStockAmount updateStockAmount = new UpdateStockAmount(_host, item.MaterialBatch);
|
|
|
|
|
updateStockAmount.ShowDialog();
|
|
|
|
|
|
|
|
|
|
//long materialId = item.MaterialId;
|
|
|
|
|
//string containerNo = txtInBox.Text;
|
|
|
|
|
//string materialName = item.MaterialName;
|
|
|
|
|
//string locationCode = item.LocationCode;
|
|
|
|
|
//string realAmount = item.RealAmount;
|
|
|
|
|
|
|
|
|
|
弹框接受数量
|
|
|
|
|
GetData(item.ContainerNo);
|
|
|
|
|
//GetData(txtInBox.Text);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|