Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
JmpZbPrint
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
zxw
JmpZbPrint
Commits
4fb47c2b
Commit
4fb47c2b
authored
Apr 20, 2023
by
zxw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/警用装备打印_1.2.25.4192'
parents
5117beb9
fdb598a6
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
16 行增加
和
22 行删除
+16
-22
HttpHelper.cs
JmpZbPrint/Common/HttpHelper.cs
+6
-1
SelectEqu.xaml
JmpZbPrint/Dialog/SelectEqu.xaml
+1
-1
ShelfWindow.xaml
JmpZbPrint/Dialog/ShelfWindow.xaml
+1
-1
SupplierWindow.xaml
JmpZbPrint/Dialog/SupplierWindow.xaml
+1
-1
JmpZbPrint.csproj
JmpZbPrint/JmpZbPrint.csproj
+0
-14
SetBasicInfo.xaml
JmpZbPrint/PagePartial/SetBasicInfo.xaml
+2
-2
AssemblyInfo.cs
JmpZbPrint/Properties/AssemblyInfo.cs
+2
-2
SetGenInfoV2.xaml.cs
JmpZbPrint/View/SetGenInfoV2.xaml.cs
+3
-0
没有找到文件。
JmpZbPrint/Common/HttpHelper.cs
View file @
4fb47c2b
...
...
@@ -1115,6 +1115,12 @@ namespace JmpZbPrint
{
try
{
if
(
string
.
IsNullOrEmpty
(
CaChe
.
UserInfo
.
policeman
?.
id
))
{
msg
=
"当前账号未绑定警员,暂无法进行此操作"
;
Log
.
WorkLog
(
"当前账号未绑定警员,暂无法进行此操作"
);
return
false
;
}
msg
=
string
.
Empty
;
var
body_par
=
JsonConvert
.
SerializeObject
(
new
{
...
...
@@ -1165,7 +1171,6 @@ namespace JmpZbPrint
var
res_data
=
JsonConvert
.
DeserializeObject
<
respone_head
<
respone_order
>>(
json
);
if
(
res_data
==
null
||
res_data
.
code
!=
10000
)
{
msg
=
res_data
.
msg
;
Log
.
DebugLog
(
$"写入库存失败,
{
msg
}
"
,
"请求失败"
);
return
default
;
...
...
JmpZbPrint/Dialog/SelectEqu.xaml
View file @
4fb47c2b
...
...
@@ -79,7 +79,7 @@
</StackPanel>
</Grid>
<DataGrid EnableRowVirtualization="False" x:Name="g_equ" Margin="3 5 3 20" Grid.Row="2" BorderBrush="#dedede" FontSize="20" Foreground="#37537d" HeadersVisibility="Column"
<DataGrid
IsReadOnly="True"
EnableRowVirtualization="False" x:Name="g_equ" Margin="3 5 3 20" Grid.Row="2" BorderBrush="#dedede" FontSize="20" Foreground="#37537d" HeadersVisibility="Column"
GridLinesVisibility="None" Background="Transparent" BorderThickness="1" CanUserAddRows="False"
AutoGenerateColumns="False" SelectionMode="Single" HorizontalScrollBarVisibility="Hidden" RowBackground="Transparent" CanUserSortColumns="True" >
<DataGrid.ColumnHeaderStyle>
...
...
JmpZbPrint/Dialog/ShelfWindow.xaml
View file @
4fb47c2b
...
...
@@ -63,7 +63,7 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="1" x:Name="txtTitle" Text="选择
供应商
信息" FontSize="30" Foreground="#0092ea" VerticalAlignment="Top" Margin="20 20 0 0"/>
<TextBlock Grid.Row="0" Grid.Column="1" x:Name="txtTitle" Text="选择
货架
信息" FontSize="30" Foreground="#0092ea" VerticalAlignment="Top" Margin="20 20 0 0"/>
<TextBlock Grid.Row="0" Grid.Column="1" Text="" Style="{StaticResource FiconBase}" x:Name="tbclose"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="0 20 20 0" FontSize="35" Foreground="#8a8a8a" />
...
...
JmpZbPrint/Dialog/SupplierWindow.xaml
View file @
4fb47c2b
...
...
@@ -79,7 +79,7 @@
</StackPanel>
</Grid>
<DataGrid EnableRowVirtualization="False" x:Name="g_vender" Margin="3 5 3 20" Grid.Row="2" BorderBrush="#dedede" FontSize="20" Foreground="#37537d" HeadersVisibility="Column"
<DataGrid
IsReadOnly="True"
EnableRowVirtualization="False" x:Name="g_vender" Margin="3 5 3 20" Grid.Row="2" BorderBrush="#dedede" FontSize="20" Foreground="#37537d" HeadersVisibility="Column"
GridLinesVisibility="None" Background="Transparent" BorderThickness="1" CanUserAddRows="False"
AutoGenerateColumns="False" SelectionMode="Single" HorizontalScrollBarVisibility="Hidden" RowBackground="Transparent" CanUserSortColumns="True" >
<DataGrid.ColumnHeaderStyle>
...
...
JmpZbPrint/JmpZbPrint.csproj
View file @
4fb47c2b
...
...
@@ -217,12 +217,6 @@
<Compile Include="View\SetGenInfoV2.xaml.cs">
<DependentUpon>SetGenInfoV2.xaml</DependentUpon>
</Compile>
<Compile Include="View\SetGenBoxInfo.xaml.cs">
<DependentUpon>SetGenBoxInfo.xaml</DependentUpon>
</Compile>
<Compile Include="View\SetGenInfo.xaml.cs">
<DependentUpon>SetGenInfo.xaml</DependentUpon>
</Compile>
<Compile Include="Dialog\SelectEqu.xaml.cs">
<DependentUpon>SelectEqu.xaml</DependentUpon>
</Compile>
...
...
@@ -315,14 +309,6 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\SetGenBoxInfo.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\SetGenInfo.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Dialog\SelectEqu.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
...
...
JmpZbPrint/PagePartial/SetBasicInfo.xaml
View file @
4fb47c2b
...
...
@@ -114,7 +114,7 @@
<DataGridTemplateColumn Header="生产日期" Width="150">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<DatePicker VerticalContentAlignment="Top" VerticalAlignment="Bottom" SelectedDate="{Binding productTime,Converter={StaticResource date_convert},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" materialDesign:HintAssist.HintOpacity=".26" Width="100" FontSize="13" Margin="0,0,0,0" Style="{StaticResource MaterialDesignDatePicker}" />
<DatePicker
Language="en-CA"
VerticalContentAlignment="Top" VerticalAlignment="Bottom" SelectedDate="{Binding productTime,Converter={StaticResource date_convert},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" materialDesign:HintAssist.HintOpacity=".26" Width="100" FontSize="13" Margin="0,0,0,0" Style="{StaticResource MaterialDesignDatePicker}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
...
...
@@ -122,7 +122,7 @@
<DataGridTemplateColumn Header="使用日期" Width="150" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<DatePicker VerticalContentAlignment="Top" VerticalAlignment="Bottom" SelectedDate="{Binding useTime,Converter={StaticResource date_convert},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" materialDesign:HintAssist.HintOpacity=".26" Width="100" FontSize="13" Margin="0,0,0,0" Style="{StaticResource MaterialDesignDatePicker}" />
<DatePicker
Language="en-CA"
VerticalContentAlignment="Top" VerticalAlignment="Bottom" SelectedDate="{Binding useTime,Converter={StaticResource date_convert},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" materialDesign:HintAssist.HintOpacity=".26" Width="100" FontSize="13" Margin="0,0,0,0" Style="{StaticResource MaterialDesignDatePicker}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
...
...
JmpZbPrint/Properties/AssemblyInfo.cs
View file @
4fb47c2b
...
...
@@ -49,5 +49,5 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.2
2.02241
")]
[assembly: AssemblyFileVersion("1.2.2
2.02241
")]
[assembly: AssemblyVersion("1.2.2
5.04192
")]
[assembly: AssemblyFileVersion("1.2.2
5.04192
")]
JmpZbPrint/View/SetGenInfoV2.xaml.cs
View file @
4fb47c2b
...
...
@@ -10,6 +10,7 @@ using System.Windows.Controls;
using
System.Windows.Data
;
using
System.Windows.Documents
;
using
System.Windows.Input
;
using
System.Windows.Markup
;
using
System.Windows.Media
;
using
System.Windows.Media.Imaging
;
using
System.Windows.Shapes
;
...
...
@@ -124,6 +125,8 @@ namespace JmpZbPrint.View
spShelfData
.
IsEnabled
=
false
;
spMessage
.
Visibility
=
Visibility
.
Hidden
;
dtUseDate
.
Language
=
XmlLanguage
.
GetLanguage
(
"en-CA"
);
dtProductDate
.
Language
=
XmlLanguage
.
GetLanguage
(
"en-CA"
);
dtProductDate
.
SelectedDate
=
DateTime
.
Now
.
AddDays
(-
7
);
dtUseDate
.
SelectedDate
=
DateTime
.
Now
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论