物料基础信息界面
This commit is contained in:
@ -149,7 +149,6 @@ namespace 智慧物流软件系统.ViewModel
|
|||||||
if (Result != null && Result.Data != null && Result.Data.Lists != null)
|
if (Result != null && Result.Data != null && Result.Data.Lists != null)
|
||||||
{
|
{
|
||||||
DataGridItemSource = new ObservableCollection<MatBaseInfoModel>(Result.Data.Lists);
|
DataGridItemSource = new ObservableCollection<MatBaseInfoModel>(Result.Data.Lists);
|
||||||
//DataGridItemSource = Result.Data.Lists;
|
|
||||||
MaxPage = Result.Data.MaxPage;
|
MaxPage = Result.Data.MaxPage;
|
||||||
TotalCount = Result.Data.TotalCount;
|
TotalCount = Result.Data.TotalCount;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,6 @@ namespace 智慧物流软件系统
|
|||||||
matBaseInfo = new MatBaseInfoModel();
|
matBaseInfo = new MatBaseInfoModel();
|
||||||
ViewModel.IsEnable = true;
|
ViewModel.IsEnable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//绑定标题
|
//绑定标题
|
||||||
if (!string.IsNullOrEmpty(_titleText))
|
if (!string.IsNullOrEmpty(_titleText))
|
||||||
|
@ -95,21 +95,16 @@
|
|||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
<Button MinHeight="40" FontSize="18" Margin="5"
|
||||||
Content="修 改" FontFamily="{StaticResource IconFont}"
|
Content="修 改" FontFamily="{StaticResource IconFont}"
|
||||||
Foreground="WhiteSmoke"
|
Foreground="WhiteSmoke"
|
||||||
Background="CadetBlue"
|
Background="CadetBlue"
|
||||||
Command="{Binding BtnEditCommand}"
|
Command="{Binding BtnEditCommand}">
|
||||||
|
|
||||||
>
|
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
<Button MinHeight="40" FontSize="18" Margin="5"
|
||||||
Content="删 除" FontFamily="{StaticResource IconFont}"
|
Content="删 除" FontFamily="{StaticResource IconFont}"
|
||||||
Foreground="WhiteSmoke"
|
Foreground="WhiteSmoke"
|
||||||
Command="{Binding BtnDeleteCommand}"
|
Command="{Binding BtnDeleteCommand}"
|
||||||
Style="{StaticResource ButtonDanger}"
|
Style="{StaticResource ButtonDanger}">
|
||||||
|
|
||||||
>
|
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
<Button MinHeight="40" FontSize="18" Margin="5"
|
||||||
@ -119,29 +114,13 @@
|
|||||||
Background="Green"
|
Background="Green"
|
||||||
>
|
>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
<Button MinHeight="40" FontSize="18" Margin="5"
|
||||||
Content="导 出" FontFamily="{StaticResource IconFont}"
|
Content="导 出" FontFamily="{StaticResource IconFont}"
|
||||||
Command="{Binding BtnExportCommand}"
|
Command="{Binding BtnExportCommand}"
|
||||||
Foreground="WhiteSmoke"
|
|
||||||
Background="DarkOrange"
|
|
||||||
>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
|
||||||
Content="生成&打印" FontFamily="{StaticResource IconFont}"
|
|
||||||
Command="{Binding BtnPrintCommand}"
|
|
||||||
Foreground="WhiteSmoke"
|
Foreground="WhiteSmoke"
|
||||||
Background="DarkOrange">
|
Background="DarkOrange">
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button MinHeight="40" FontSize="18" Margin="5"
|
|
||||||
Content="扫描生成打印" FontFamily="{StaticResource IconFont}"
|
|
||||||
Command="{Binding BtnScanPrintCommand}"
|
|
||||||
Foreground="WhiteSmoke"
|
|
||||||
Background="BlueViolet">
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<DataGrid Grid.Row="1"
|
<DataGrid Grid.Row="1"
|
||||||
|
Reference in New Issue
Block a user