Browse Source

批量采购默认地址

AddValidOverTime
shanji 2 years ago
parent
commit
ec4ea7e5cf
  1. 10
      BBWY.Client/ViewModels/BatchPurchase/BatchPurchaseCreateNewOrderViewModel.cs
  2. 7
      BBWY.Client/Views/BatchPurchase/BatchCreateNewPurchaseOrder.xaml

10
BBWY.Client/ViewModels/BatchPurchase/BatchPurchaseCreateNewOrderViewModel.cs

@ -98,6 +98,16 @@ namespace BBWY.Client.ViewModels
this.delayTrigger.OnExecute = OnDelayTriggerExecute;
}
protected override void Load()
{
this.Province = "福建省";
this.City = "泉州市";
this.County = "鲤城区";
this.Town = "金龙街道";
this.Address = "南环路1129号创鑫产业园3楼齐越";
this.ContactName = globalContext.User.Shop.PurchaseAccountList.FirstOrDefault(pa => pa.PurchasePlatformId == Platform.)?.AccountName;
}
private void OnDelayTriggerExecute(string key)
{
if (string.IsNullOrEmpty(key))

7
BBWY.Client/Views/BatchPurchase/BatchCreateNewPurchaseOrder.xaml

@ -14,6 +14,11 @@
Title="新建采购单" Height="768" Width="1024"
MinButtonVisibility="Collapsed"
MaxButtonVisibility="Collapsed">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Loaded">
<b:InvokeCommandAction Command="{Binding LoadCommand}" PassEventArgsToCommand="True"/>
</b:EventTrigger>
</b:Interaction.Triggers>
<c:BWindow.Resources>
<ctr:MultiParameterTransferConverter x:Key="mptConverter"/>
</c:BWindow.Resources>
@ -283,7 +288,7 @@
<ColumnDefinition Width="0.2*"/>
</Grid.ColumnDefinitions>
<c:BTextBox Text="{Binding PurchaseRemark,Mode=OneWayToSource,UpdateSourceTrigger=PropertyChanged}"
WaterRemark="留言信息"
WaterRemark="留言信息: 例如落仓、历史价格、需要厂家沟通的事项等"
Height="60"
VerticalContentAlignment="Top"
Padding="3,5,0,0"

Loading…
Cancel
Save