diff --git a/CowOutputClient/OperateWindow.xaml b/CowOutputClient/OperateWindow.xaml
index 5835cad..8f87506 100644
--- a/CowOutputClient/OperateWindow.xaml
+++ b/CowOutputClient/OperateWindow.xaml
@@ -45,6 +45,7 @@
-->
+
diff --git a/CowOutputClient/OperateWindow.xaml.cs b/CowOutputClient/OperateWindow.xaml.cs
index 4845787..19a7a74 100644
--- a/CowOutputClient/OperateWindow.xaml.cs
+++ b/CowOutputClient/OperateWindow.xaml.cs
@@ -39,7 +39,6 @@ namespace CowOutputClient
bool IsLoad = true;
decimal? tare = null;
-
public OperateWindow()
{
InitializeComponent();
@@ -95,7 +94,12 @@ namespace CowOutputClient
details.Add(inputDetail);
}
output.Set("Details", details);
- var list = RpcFacade.Call>("/MainSystem/B3_HaoYue/Rpcs/B3CowButcherManageRpc/CreateOutput", output,mTeam.ProductTeam_ID,false,null,mTeam.Name);
+ long? inStoreTypeId = null;
+ if (btnYesOrNo.Content.ToString() == "是")
+ inStoreTypeId = long.Parse(ConfigurationManager.AppSettings["InStoreType_ID1"]);
+ else
+ inStoreTypeId = long.Parse(ConfigurationManager.AppSettings["InStoreType_ID2"]);
+ var list = RpcFacade.Call>("/MainSystem/B3_HaoYue/Rpcs/B3CowButcherManageRpc/CreateOutput", output,mTeam.ProductTeam_ID,false,null,mTeam.Name,inStoreTypeId);
if (list.Count() > 0) {
var outputId = list[0].Value;
WeightInfoBL.UpdateOutputId(selectedItems.Select(x => x.ID).ToArray(),outputId);
@@ -596,5 +600,13 @@ namespace CowOutputClient
{
e.Handled = true;
}
+
+ private void btnYesOrNo_Click_1(object sender, RoutedEventArgs e)
+ {
+ if (MessageBox.Show("确定更改吗?确定后入库仓库会变更", "提示:", MessageBoxButton.OKCancel) == MessageBoxResult.OK) {
+ var btn = sender as Button;
+ btn.Content = btn.Content.ToString() == "是" ? "否" : "是";
+ }
+ }
}
}
diff --git a/CowOutputClient/app.config b/CowOutputClient/app.config
index ea54592..45f5495 100644
--- a/CowOutputClient/app.config
+++ b/CowOutputClient/app.config
@@ -40,5 +40,11 @@
+
+
+
+
+
+
\ No newline at end of file