Browse Source

打印调整。

master
yibo 7 years ago
parent
commit
a787d53956
3 changed files with 6 additions and 32 deletions
  1. +0
    -1
      B3ButcherManageToSale/B3ButcherManageToSale.csproj
  2. +0
    -25
      B3ButcherManageToSale/CopyTableDb.cs
  3. +6
    -6
      WebFolder/config/billreports/B3ButcherManageToSale/SaleOutStockPrint.xml

+ 0
- 1
B3ButcherManageToSale/B3ButcherManageToSale.csproj View File

@ -75,7 +75,6 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="CopyTableDb.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TypeIOCs\ForecastButcherInfo.cs" />
</ItemGroup>


+ 0
- 25
B3ButcherManageToSale/CopyTableDb.cs View File

@ -1,25 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSingSoft.WebPluginFramework.Install;
namespace BWP.B3ButcherManageToSale
{
[DataPatch]
public class CopyTableDb : IDataPatch
{
public void Execute(Forks.EnterpriseServices.BusinessInterfaces.TransactionContext context)
{
try
{
var sql = @"INSERT INTO [B3Sale_GoodsViewConfig]
([Goods_ID])
SELECT [Goods_ID]
FROM [B3ButcherManageToSale_GoodsViewConfig];";
context.Session.ExecuteSqlNonQuery(sql);
}
catch { }
}
}
}

+ 6
- 6
WebFolder/config/billreports/B3ButcherManageToSale/SaleOutStockPrint.xml View File

@ -1,14 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<BillReports xmlns="urn:BillReports" version="1.0" displayName="备货打印" phyName="备货打印">
<Report phyName="标准格式">
<BillReport xmlns="urn:BillReport" version="1" displayName="标准格式" >
<Bands>
<BillReport xmlns="urn:BillReport" version="1" displayName="标准格式">
<Bands >
<TextBand fontSize="15" >&nbsp;</TextBand>
<TextBand fontName="黑体" fontSize="15" align="Center">备货单</TextBand>
<DFListBand collection="$Details" itemType="$DetailType" enableRowGroup="true" enablePaging="false" fontSize="12" rowHeight="20">
<DFListBand collection="$Details" itemType="$DetailType" enableRowGroup="true" enablePaging="false" fontSize="12" rowHeight="20" >
<!--
<Field name="SequenceNumber"/>
-->
<Field name="DeliverGoodsLine_Name"/>
<LineNo header="序号"/>
<Field name="Goods_Name"/>
<Field name="OrderMain" sum="true"/>
<!-- <Field name="Unit" /> -->
@ -16,10 +18,8 @@
<!-- <Field name="SecondUnit" /> -->
<Field name="StockNumber" sum="true"/>
<Field name="StockSecondNumber" sum="true"/>
<!--
<Field name="StockDiffNumber" sum="true"/>
<Field name="StockDiffNumber" sum="true"/>
<Field name="StockDiffSecondNumber" sum="true"/>
-->
</DFListBand>
</Bands>
</BillReport>


Loading…
Cancel
Save