Browse Source

加待宰结算。

master
yibo 8 years ago
parent
commit
ba9e67f4f4
15 changed files with 561 additions and 2 deletions
  1. +14
    -0
      B3SubstituteKill.Web/B3SubstituteKill.Web.csproj
  2. +150
    -0
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayEdit.cs
  3. +38
    -0
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayList.cs
  4. +72
    -0
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayList.xml
  5. +22
    -0
      B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayPrint.cs
  6. +4
    -0
      B3SubstituteKill/B3SubstituteKill.csproj
  7. +20
    -0
      B3SubstituteKill/BL/Bills/StatPay/StatPayBL.cs
  8. +98
    -0
      B3SubstituteKill/BO/Bills/StatPay/StatPay.cs
  9. +37
    -0
      B3SubstituteKill/BO/Bills/StatPay/StatPay_CallbackPayDetail.cs
  10. +45
    -0
      B3SubstituteKill/BO/Bills/StatPay/StatPay_CostDetail.cs
  11. +1
    -0
      B3SubstituteKill/Utils/B3SubstituteKillConsts.cs
  12. +16
    -0
      WebFolder/config/Plugins/B3SubstituteKill.plugin
  13. +43
    -0
      WebFolder/config/billreports/B3SubstituteKill/StatPayPrint.xml
  14. +1
    -1
      WebFolder/config/billreports/B3SubstituteKill/SubKillPriceBillPrint.xml
  15. +0
    -1
      WebFolder/config/billreports/B3SubstituteKill/SubKillWeightBillPrint.xml

+ 14
- 0
B3SubstituteKill.Web/B3SubstituteKill.Web.csproj View File

@ -119,6 +119,15 @@
<Compile Include="Pages\B3SubstituteKill\BaseInfos\SubKillProductLine_\SubKillProductLineList.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\B3SubstituteKill\Bills\StatPay_\StatPayEdit.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\B3SubstituteKill\Bills\StatPay_\StatPayList.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\B3SubstituteKill\Bills\StatPay_\StatPayPrint.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\B3SubstituteKill\Bills\SubKillButcherOrder_\SubKillButcherOrderEdit.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
@ -196,6 +205,11 @@
<ItemGroup>
<EmbeddedResource Include="Pages\B3SubstituteKill\Reports\SubKillButcherOrderAnalyse_\SubKillButcherOrderAnalyse.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Pages\B3SubstituteKill\Bills\StatPay_\StatPayList.xml">
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.


+ 150
- 0
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayEdit.cs View File

@ -0,0 +1,150 @@
using BWP.B3SubstituteKill.BL;
using BWP.B3SubstituteKill.BO;
using BWP.Web.Layout;
using BWP.Web.WebControls;
using Forks.EnterpriseServices.DataForm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using TSingSoft.WebControls2;
using Forks.Utils.Collections;
namespace BWP.Web.Pages.B3SubstituteKill.Bills.StatPay_
{
class StatPayEdit : DepartmentWorkFlowBillEditPage<StatPay, IStatPayBL>
{
protected override void BuildBasePropertiesEditor(TitlePanel titlePanel, CustomPageLayout.PageLayoutSection pageLayoutSection)
{
var layoutManager = new LayoutManager("", mDFInfo, mDFContainer);
var config = new AutoLayoutConfig();
config.Add("AccountingUnit_ID");
config.Add("Department_ID");
config.Add("Employee_ID");
config.Add("Date");
config.Add("Supplier_ID");
config.Add("Supplier_Tel");
config.Add("Supplier_Card_ID");
config.Add("Supplier_Address");
config.Add("Number");
config.Add("Weight");
config.Add("PriceBill_ID");
config.Add("ReceiveMoney");
config.Add("Remark");
layoutManager.Config = config;
pageLayoutSection.ApplyLayout(layoutManager, config, mPageLayoutManager, mDFInfo);
titlePanel.Controls.Add(layoutManager.CreateLayout());
if (layoutManager.Contains("Supplier_ID"))
{
var supplierInput = layoutManager["Supplier_ID"].InputControl as DFChoiceBox;
if (supplierInput != null)
{
var script = @"
var txtValue =parseInt(__DFContainer.getValue('Supplier_ID'));
simpleRestCall('/MainSystem/B3SubstituteKill/Rpcs/SupplierRpc/GetSupplierAndPriceBillID',[txtValue,__DFContainer.getControl('Date').value],
function(result){
if(typeof(result.Address)!='undefined')
{
__DFContainer.setValue('Supplier_Address',result.Address);
}
else
{
__DFContainer.setValue('Supplier_Address','');
}
if(typeof(result.Tel)!='undefined')
{
__DFContainer.setValue('Supplier_Tel',result.Tel);
}
else
{
__DFContainer.setValue('Supplier_Tel','');
}
if(typeof(result.Supplier_Card_ID)!='undefined')
{
__DFContainer.setValue('Supplier_Card_ID',result.Card_ID);
}
else
{
__DFContainer.setValue('Supplier_Card_ID','');
}
if(typeof(result.SupplierApply_ID)!='undefined')
{
__DFContainer.setValue('PriceBill_ID',result.SupplierApply_ID);
}
else
{
__DFContainer.setValue('PriceBill_ID','');
}
},{ });";
supplierInput.OnClientSelected = script;
}
}
}
protected override void BuildBody(System.Web.UI.Control parent)
{
base.BuildBody(parent);
AddCostDetail(parent.EAdd(new TitlePanel("代宰费用", "代宰费用")));
AddCallbackPayDetail(parent.EAdd(new TitlePanel("回收应付", "回收应付")));
}
DFEditGrid _costDetail;
private void AddCostDetail(TitlePanel titlePanel)
{
var editor = new DFCollectionEditor<StatPay_CostDetail>(() => Dmo.CostDetails);
editor.AllowDeletionFunc = () => CanSave;
editor.CanDeleteFunc = detail => CanSave;
editor.IsEditableFunc = (field, detail) => false;
_costDetail = titlePanel.EAdd(new DFEditGrid(editor) { Width = Unit.Percentage(100) });
_costDetail.Columns.Add(new DFEditGridColumn("SubKillProductLine_Name"));
_costDetail.Columns.Add(new DFEditGridColumn("GenerationCostItem_Name"));
_costDetail.Columns.Add(new DFEditGridColumn("Price"));
_costDetail.Columns.EAdd(new DFEditGridColumn("Money"));
var section = mPageLayoutManager.AddSection("CostDetail", "代宰费用");
titlePanel.SetPageLayoutSetting(mPageLayoutManager, section.Name);
section.ApplyLayout(_costDetail, mPageLayoutManager, DFInfo.Get(typeof(StatPay_CostDetail)));
}
DFEditGrid _callbackPayDetail;
private void AddCallbackPayDetail(TitlePanel titlePanel)
{
var editor = new DFCollectionEditor<StatPay_CallbackPayDetail>(() => Dmo.CallbackPayDetails);
editor.AllowDeletionFunc = () => CanSave;
editor.CanDeleteFunc = detail => CanSave;
editor.IsEditableFunc = (field, detail) => false;
_callbackPayDetail = titlePanel.EAdd(new DFEditGrid(editor) { Width = Unit.Percentage(100) });
_callbackPayDetail.Columns.Add(new DFEditGridColumn("SubKillCallBack_Name"));
_callbackPayDetail.Columns.Add(new DFEditGridColumn("Price"));
_callbackPayDetail.Columns.EAdd(new DFEditGridColumn("Money"));
var section = mPageLayoutManager.AddSection("CallbackPayDetail", "回收应付");
titlePanel.SetPageLayoutSetting(mPageLayoutManager, section.Name);
section.ApplyLayout(_callbackPayDetail, mPageLayoutManager, DFInfo.Get(typeof(StatPay_CallbackPayDetail)));
}
public override void AppToUI()
{
base.AppToUI();
_costDetail.DataBind();
_callbackPayDetail.DataBind();
}
public override void GetFromUI()
{
base.GetFromUI();
_costDetail.GetFromUI();
_callbackPayDetail.GetFromUI();
}
}
}

+ 38
- 0
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayList.cs View File

@ -0,0 +1,38 @@
using BWP.B3SubstituteKill.BL;
using BWP.B3SubstituteKill.BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSingSoft.WebControls2;
namespace BWP.Web.Pages.B3SubstituteKill.Bills.StatPay_
{
class StatPayList : DomainBillListPage<StatPay, IStatPayBL>
{
protected override void AddQueryControls(VLayoutPanel vPanel)
{
vPanel.Add(CreateDefaultBillQueryControls((panel, config) =>
{
config.Add("AccountingUnit_ID");
config.Add("Department_ID");
config.Add("Employee_ID");
config.Add("Date");
config.Add("Supplier_ID");
}));
}
protected override void AddDFBrowseGridColumn(DFBrowseGrid grid, string field)
{
base.AddDFBrowseGridColumn(grid, field);
if (field == "BillState")
{
AddDFBrowseGridColumn(grid, "AccountingUnit_Name");
AddDFBrowseGridColumn(grid, "Department_Name");
AddDFBrowseGridColumn(grid, "Employee_Name");
AddDFBrowseGridColumn(grid, "Date");
AddDFBrowseGridColumn(grid, "Supplier_Name");
}
}
}
}

+ 72
- 0
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayList.xml View File

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8" ?>
<Select xmlns="urn:XDQuery">
<Columns>
<Field name="ID"/>
</Columns>
<From>
<DmoClass class="BWP.B3SubstituteKill.BO.StatPay, B3SubstituteKill"/>
</From>
<Where>
<And>
<EQ>
<Field name="ID"/>
<QBE paramName="ID"/>
</EQ>
<EQ>
<Field name="AccountingUnit_ID"/>
<QBE paramName="AccountingUnit_ID"/>
</EQ>
<EQ>
<Field name="Department_ID"/>
<QBE paramName="Department_ID"/>
</EQ>
<EQ>
<Field name="Employee_ID"/>
<QBE paramName="Employee_ID"/>
</EQ>
<EQ>
<Field name="Supplier_ID"/>
<QBE paramName="Supplier_ID"/>
</EQ>
<EQ>
<Field name="IsLocked"/>
<QBE paramName="IsLocked"/>
</EQ>
<Contains>
<Field name="Remark"/>
<QBE paramName="Remark"/>
</Contains>
<Contains>
<Field name="CreateUser_Name"/>
<QBE paramName="CreateUser_Name"/>
</Contains>
<Contains>
<Field name="CheckUser_Name"/>
<QBE paramName="CheckUser_Name"/>
</Contains>
<GreaterThanOrEqual>
<Field name="CreateTime"/>
<QBE paramName="MinCreateTime" />
</GreaterThanOrEqual>
<LessThanOrEqual>
<Field name="CreateTime"/>
<QBE paramName="MaxCreateTime"/>
</LessThanOrEqual>
<GreaterThanOrEqual>
<Field name="Date"/>
<QBE paramName="MinDate" />
</GreaterThanOrEqual>
<LessThanOrEqual>
<Field name="Date"/>
<QBE paramName="MaxDate"/>
</LessThanOrEqual>
<EQ>
<Field name="BillState"/>
<QBE paramName ="BillState"/>
</EQ>
</And>
</Where>
</Select>

+ 22
- 0
B3SubstituteKill.Web/Pages/B3SubstituteKill/Bills/StatPay_/StatPayPrint.cs View File

@ -0,0 +1,22 @@
using BWP.B3SubstituteKill.BL;
using BWP.B3SubstituteKill.BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BWP.Web.Pages.B3SubstituteKill.Bills.StatPay_
{
class StatPayPrint : DomainTemplatePrintPage<StatPay, IStatPayBL>
{
protected override void AddParameters(IDictionary<string, object> dic)
{
dic.Add("$ID", Dmo.ID);
dic.Add("$CostDetails", Dmo.CostDetails);
dic.Add("$CostDetailType", typeof(StatPay_CostDetail));
dic.Add("$CallbackPayDetails", Dmo.CallbackPayDetails);
dic.Add("$CallbackPayDetailType", typeof(StatPay_CallbackPayDetail));
}
}
}

+ 4
- 0
B3SubstituteKill/B3SubstituteKill.csproj View File

@ -82,6 +82,7 @@
<Compile Include="BL\BaseInfos\SubKillProductLine\SubKillProductLineBL.cs" />
<Compile Include="BL\BaseInfos\SubKillFlag\SubKillFlagBL.cs" />
<Compile Include="BL\BaseInfos\SubKillCallBack\SubKillCallBackBL.cs" />
<Compile Include="BL\Bills\StatPay\StatPayBL.cs" />
<Compile Include="BL\Bills\SubKillButcherOrder\SubKillButcherOrderBL.cs" />
<Compile Include="BL\Bills\SubKillPriceBill\SubKillPriceBillBL.cs" />
<Compile Include="BL\Bills\SubKillWeightBill\WeightingInfoBL.cs" />
@ -91,6 +92,9 @@
<Compile Include="BO\BaseInfos\SubKillProductLine\SubKillProductLine.cs" />
<Compile Include="BO\BaseInfos\SubKillFlag\SubKillFlag.cs" />
<Compile Include="BO\BaseInfos\SubKillCallBack\SubKillCallBack.cs" />
<Compile Include="BO\Bills\StatPay\StatPay.cs" />
<Compile Include="BO\Bills\StatPay\StatPay_CallbackPayDetail.cs" />
<Compile Include="BO\Bills\StatPay\StatPay_CostDetail.cs" />
<Compile Include="BO\Bills\SubKillButcherOrder\SubKillButcherOrder.cs" />
<Compile Include="BO\Bills\SubKillButcherOrder\SubKillButcherOrder_Detail.cs" />
<Compile Include="BO\Bills\SubKillPriceBill\SubKillPriceBill.cs" />


+ 20
- 0
B3SubstituteKill/BL/Bills/StatPay/StatPayBL.cs View File

@ -0,0 +1,20 @@
using BWP.B3Frameworks.BL;
using BWP.B3SubstituteKill.BO;
using Forks.EnterpriseServices;
using Forks.EnterpriseServices.BusinessInterfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BWP.B3SubstituteKill.BL
{
[BusinessInterface(typeof(StatPayBL))]
[LogicName("代宰结算")]
public interface IStatPayBL : IDepartmentWorkFlowBillBL<StatPay>
{ }
public class StatPayBL : DepartmentWorkFlowBillBL<StatPay>, IStatPayBL
{
}
}

+ 98
- 0
B3SubstituteKill/BO/Bills/StatPay/StatPay.cs View File

@ -0,0 +1,98 @@
using BWP.B3Frameworks;
using BWP.B3Frameworks.Attributes;
using BWP.B3Frameworks.BO;
using BWP.B3Frameworks.BO.MoneyTemplate;
using BWP.B3ProcurementInterface.BO;
using BWP.B3ProcurementInterface.Utils;
using BWP.B3SubstituteKill.Utils;
using Forks.EnterpriseServices;
using Forks.EnterpriseServices.DataForm;
using Forks.EnterpriseServices.DomainObjects2;
using Forks.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSingSoft.WebControls2;
namespace BWP.B3SubstituteKill.BO
{
[DFClass, Serializable]
[LogicName("代宰结算")]
[DmoTypeID(B3FrameworksConsts.DmoTypeIDBases.B3SubstituteKill, B3SubstituteKillConsts.DmoTypeIDOffsets.StatPay)]
[EditUrl("~/B3SubstituteKill/Bills/StatPay_/StatPayEdit.aspx")]
public class StatPay : DepartmentWorkFlowBill
{
private DateTime? date = DateTime.Now;
[LogicName("过磅时间")]
[DFExtProperty("WebControlType", DFEditControl.DateTimeInput)]
[DFNotEmpty]
public DateTime? Date
{
get { return date; }
set { date = value; }
}
[DFDataKind(B3ProcurementInterfaceDataSources.供应商用于屠宰场)]
[DFExtProperty(B3FrameworksConsts.DFExtProperties.DisplayField, "Supplier_Name")]
[DFExtProperty(B3FrameworksConsts.DFExtProperties.QueryDataKind, B3ProcurementInterfaceDataSources.供应商用于屠宰场全部)]
[DFExtProperty("WebControlType", DFEditControl.ChoiceBox)]
[DFPrompt("供应商")]
[DFNotEmpty]
public long? Supplier_ID { get; set; }
[ReferenceTo(typeof(Supplier), "Name")]
[Join("Supplier_ID", "ID")]
[DFPrompt("供应商")]
public string Supplier_Name { get; set; }
[ReferenceTo(typeof(Supplier), "Tel")]
[Join("Supplier_ID", "ID")]
[DFPrompt("联系方式")]
public string Supplier_Tel { get; set; }
[ReferenceTo(typeof(Supplier), "Card_ID")]
[Join("Supplier_ID", "ID")]
[DFPrompt("身份证号")]
public string Supplier_Card_ID { get; set; }
[ReferenceTo(typeof(Supplier), "Address")]
[Join("Supplier_ID", "ID")]
[DFPrompt("地址")]
public string Supplier_Address { get; set; }
[LogicName("代宰头数")]
[DFExtProperty("WebControlType", DFEditControl.StaticText)]
public int Number { get; set; }
[LogicName("代宰重量")]
[DFExtProperty("WebControlType", DFEditControl.StaticText)]
public Money<decimal> Weight { get; set; }
[LogicName("价格单号")]
[DFExtProperty("WebControlType", DFEditControl.StaticText)]
public long? PriceBill_ID { get; set; }
[LogicName("应收金额")]
[DFExtProperty("WebControlType", DFEditControl.StaticText)]
public Money<>? ReceiveMoney { get; set; }
private StatPay_CostDetailCollection _mCostDetails = new StatPay_CostDetailCollection();
[OneToMany(typeof(StatPay_CostDetail), "ID")]
[Join("ID", "StatPay_ID")]
public StatPay_CostDetailCollection CostDetails
{
get { return _mCostDetails; }
set { _mCostDetails = value; }
}
private StatPay_CallbackPayDetailCollection _mCallbackPayDetails = new StatPay_CallbackPayDetailCollection();
[OneToMany(typeof(StatPay_CallbackPayDetail), "ID")]
[Join("ID", "StatPay_ID")]
public StatPay_CallbackPayDetailCollection CallbackPayDetails
{
get { return _mCallbackPayDetails; }
set { _mCallbackPayDetails = value; }
}
}
}

+ 37
- 0
B3SubstituteKill/BO/Bills/StatPay/StatPay_CallbackPayDetail.cs View File

@ -0,0 +1,37 @@
using BWP.B3Frameworks.BO;
using BWP.B3Frameworks.BO.MoneyTemplate;
using Forks.EnterpriseServices;
using Forks.EnterpriseServices.DataForm;
using Forks.EnterpriseServices.DomainObjects2;
using Forks.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BWP.B3SubstituteKill.BO
{
[DFClass, Serializable, LogicName("代宰结算_回收应付")]
public class StatPay_CallbackPayDetail : Base
{
public long StatPay_ID { get; set; }
[LogicName("回收项目")]
public long SubKillCallBack_ID { get; set; }
[LogicName("单价")]
public Money<decimal>? Price { get; set; }
[LogicName("金额")]
public Money<>? Money { get; set; }
[LogicName("回收项目")]
[ReferenceTo(typeof(SubKillCallBack), "Name")]
[Join("SubKillCallBack_ID", "ID")]
public string SubKillCallBack_Name { get; set; }
}
[Serializable]
public class StatPay_CallbackPayDetailCollection : DmoCollection<StatPay_CallbackPayDetail>
{ }
}

+ 45
- 0
B3SubstituteKill/BO/Bills/StatPay/StatPay_CostDetail.cs View File

@ -0,0 +1,45 @@
using BWP.B3Frameworks.BO;
using BWP.B3Frameworks.BO.MoneyTemplate;
using Forks.EnterpriseServices;
using Forks.EnterpriseServices.DataForm;
using Forks.EnterpriseServices.DomainObjects2;
using Forks.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BWP.B3SubstituteKill.BO
{
[DFClass, Serializable, LogicName("代宰结算_费用明细")]
public class StatPay_CostDetail : Base
{
public long StatPay_ID { get; set; }
[LogicName("生产线")]
public long? SubKillProductLine_ID { get; set; }
[LogicName("费用项目")]
public long GenerationCostItem_ID { get; set; }
[LogicName("单价")]
public Money<decimal>? Price { get; set; }
[LogicName("金额")]
public Money<>? Money { get; set; }
[ReferenceTo(typeof(SubKillProductLine), "Name")]
[Join("SubKillProductLine_ID", "ID")]
[LogicName("生产线")]
public string SubKillProductLine_Name { get; set; }
[LogicName("费用项目")]
[ReferenceTo(typeof(GenerationCostItem), "Name")]
[Join("GenerationCostItem_ID", "ID")]
public string GenerationCostItem_Name { get; set; }
}
[Serializable]
public class StatPay_CostDetailCollection : DmoCollection<StatPay_CostDetail>
{ }
}

+ 1
- 0
B3SubstituteKill/Utils/B3SubstituteKillConsts.cs View File

@ -26,6 +26,7 @@ namespace BWP.B3SubstituteKill.Utils
public const byte SubKillWeightBill = 2;
public const byte WeightingInfo = 3;
public const byte SubKillButcherOrder = 4;
public const byte StatPay = 5;
}
}
}

+ 16
- 0
WebFolder/config/Plugins/B3SubstituteKill.plugin View File

@ -109,6 +109,21 @@
<Function index="13" name="编辑重量"/>
<Function index="14" name="数据分析"/>
</FunctionGroup>
<FunctionGroup name="代宰结算" roleSchemas="employee">
<Function index="0" name="访问" />
<Function index="1" name="新建" />
<Function index="2" name="编辑" />
<Function index="3" name="删除" />
<Function index="4" name="审核" />
<Function index="5" name="撤销" />
<Function index="6" name="锁定" />
<Function index="7" name="解锁" />
<Function index="8" name="管理" />
<Function index="9" name="作废" />
<Function index="10" name="完毕"/>
<Function index="11" name="撤销完毕"/>
</FunctionGroup>
</Security>
<Menus>
<Menu id="0001" name="/B3代宰模块/基础信息/代宰费用" roles="B3SubstituteKill.代宰费用.访问" url="B3SubstituteKill/BaseInfos/GenerationCostItem_/GenerationCostItemList.aspx"/>
@ -120,6 +135,7 @@
<Menu id="0007" name="/B3代宰模块/报表分析/代宰过磅分析" roles="B3SubstituteKill.代宰过磅.数据分析" url="B3SubstituteKill/Reports/SubKillWeightBillAnalyse_/SubKillWeightBillAnalyse.aspx"/>
<Menu id="0008" name="/B3代宰模块/业务单据/代宰排宰" roles="B3SubstituteKill.代宰排宰.访问" url="B3SubstituteKill/Bills/SubKillButcherOrder_/SubKillButcherOrderList.aspx"/>
<Menu id="0009" name="/B3代宰模块/报表分析/代宰排宰分析" roles="B3SubstituteKill.代宰排宰.数据分析" url="B3SubstituteKill/Reports/SubKillButcherOrderAnalyse_/SubKillButcherOrderAnalyse.aspx"/>
<Menu id="0010" name="/B3代宰模块/业务单据/代宰结算" roles="B3SubstituteKill.代宰结算.访问" url="B3SubstituteKill/Bills/StatPay_/StatPayList.aspx"/>
</Menus>
<Features>


+ 43
- 0
WebFolder/config/billreports/B3SubstituteKill/StatPayPrint.xml View File

@ -0,0 +1,43 @@
<?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>
<TextBand fontName="黑体" fontSize="15" align="Center">代宰结算单№$Dmo.ID</TextBand>
<DFInfoBand object="$Dmo" cols="4">
<Field name="AccountingUnit_Name" lblWidth="4"/>
<Field name="Department_Name" lblWidth="4"/>
<Field name="Employee_Name" lblWidth="4"/>
<Field name="Date" lblWidth="4"/>
<Field name="Supplier_Name" lblWidth="4"/>
<Field name="Supplier_Tel" lblWidth="4"/>
<Field name="Supplier_Card_ID" lblWidth="4"/>
<Field name="Supplier_Address" lblWidth="4"/>
<Field name="Number" lblWidth="4"/>
<Field name="Weight" lblWidth="4"/>
<Field name="PriceBill_ID" lblWidth="4"/>
<Field name="Remark" lblWidth="4"/>
</DFInfoBand>
<HtmlBand>
<![CDATA[<h2>代宰费用</h2>]]>
</HtmlBand>
<DFListBand collection="$CostDetails" itemType="$CostDetailType" enablePaging="false" >
<LineNo header="序号"/>
<Field name="SubKillProductLine_Name"/>
<Field name="GenerationCostItem_Name"/>
<Field name="Price"/>
<Field name="Money" sum="true"/>
</DFListBand>
<HtmlBand>
<![CDATA[<h2>回收应付</h2>]]>
</HtmlBand>
<DFListBand collection="$CallbackPayDetails" itemType="$CallbackPayDetailType" enablePaging="false" >
<LineNo header="序号"/>
<Field name="SubKillCallBack_Name"/>
<Field name="Price"/>
<Field name="Money" sum="true"/>
</DFListBand>
</Bands>
</BillReport>
</Report>
</BillReports>

+ 1
- 1
WebFolder/config/billreports/B3SubstituteKill/SubKillPriceBillPrint.xml View File

@ -29,7 +29,7 @@
<Field name="Price"/>
</DFListBand>
<HtmlBand>
<![CDATA[<h2>供应商明细</h2>]]>
<![CDATA[<h2>代宰回收</h2>]]>
</HtmlBand>
<DFListBand collection="$CallBackDetails" itemType="$CallBackDetailType" enablePaging="false" >
<LineNo header="序号"/>


+ 0
- 1
WebFolder/config/billreports/B3SubstituteKill/SubKillWeightBillPrint.xml View File

@ -5,7 +5,6 @@
<Bands>
<TextBand fontName="黑体" fontSize="15" align="Center">代宰过磅№$Dmo.ID</TextBand>
<DFInfoBand object="$Dmo" cols="4">
<Field name="AccountingUnit_Name" lblWidth="4"/>
<Field name="Department_Name" lblWidth="4"/>
<Field name="Employee_Name" lblWidth="4"/>


Loading…
Cancel
Save