|
|
|
@ -60,6 +60,7 @@ namespace B3DealerClient.Windows.CarcassInStoreWindow_ |
|
|
|
if (config.InStore != null) |
|
|
|
context.InStore = config.InStore; |
|
|
|
context.HookWeight = config.HookWeight; |
|
|
|
weightUnit.IsChecked = config.IsPic; |
|
|
|
context.Pics = config.Pics; |
|
|
|
} |
|
|
|
|
|
|
|
@ -249,7 +250,6 @@ namespace B3DealerClient.Windows.CarcassInStoreWindow_ |
|
|
|
RecordSelected(); |
|
|
|
weightControl.Weight = 0; |
|
|
|
context.Weight = 0; |
|
|
|
|
|
|
|
CarcassInStoreConfigPrint.Print(record,context.Supplier.Name); |
|
|
|
} |
|
|
|
|
|
|
|
@ -267,5 +267,11 @@ namespace B3DealerClient.Windows.CarcassInStoreWindow_ |
|
|
|
var id = CarcassInStoreBL.FinishInStore(context.Dmo.ID, context.InStore.ID); |
|
|
|
MessageBox.Show("生成采购收货单No." + id); |
|
|
|
} |
|
|
|
|
|
|
|
private void weightUnit_Click(object sender, RoutedEventArgs e) |
|
|
|
{ |
|
|
|
config.IsPic = weightUnit.IsChecked; |
|
|
|
XmlUtil.SerializerObjToFile(config); |
|
|
|
} |
|
|
|
} |
|
|
|
} |