添加项目文件。
This commit is contained in:
74
aoyuPlugIn/zplr_lb_sh.cs
Normal file
74
aoyuPlugIn/zplr_lb_sh.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Kingdee.K3.Core.MFG.EntityHelper;
|
||||
using System.ComponentModel;
|
||||
using Kingdee.BOS;
|
||||
using Kingdee.BOS.Util;
|
||||
using Kingdee.BOS.Core;
|
||||
using Kingdee.BOS.Core.Const;
|
||||
using Kingdee.BOS.Core.DynamicForm;
|
||||
using Kingdee.BOS.Core.DynamicForm.PlugIn;
|
||||
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
|
||||
using Kingdee.BOS.Core.DynamicForm.Operation;
|
||||
using Kingdee.BOS.Core.List;
|
||||
using Kingdee.BOS.Core.Metadata;
|
||||
using Kingdee.BOS.Core.Metadata.ConvertElement;
|
||||
using Kingdee.BOS.Core.Metadata.ConvertElement.ServiceArgs;
|
||||
using Kingdee.BOS.Core.Interaction;
|
||||
using Kingdee.BOS.Core.Validation;
|
||||
using Kingdee.BOS.Contracts;
|
||||
using Kingdee.BOS.App;
|
||||
using Kingdee.BOS.App.Data;
|
||||
using Kingdee.BOS.Orm;
|
||||
using Kingdee.BOS.Orm.DataEntity;
|
||||
|
||||
namespace aoyuPlugIn
|
||||
{
|
||||
[Description("装配录入列表--审核")]
|
||||
public class zplr_lb_sh : AbstractOperationServicePlugIn
|
||||
{
|
||||
public override void EndOperationTransaction(EndOperationTransactionArgs e)
|
||||
{
|
||||
foreach (DynamicObject item in e.DataEntitys)
|
||||
{
|
||||
long fid = Convert.ToInt64(item["ID"]);
|
||||
|
||||
}
|
||||
}
|
||||
void fxjdb(string issh)
|
||||
{
|
||||
//try
|
||||
//{
|
||||
// //string fbillno = "";
|
||||
// if (this.ListView.SelectedRowsInfo.Count > 0)
|
||||
// {
|
||||
// for (int i = 0; i < this.ListView.SelectedRowsInfo.Count; i++)
|
||||
// {
|
||||
// //取指定行单据编号
|
||||
// string fbillno = this.ListView.SelectedRowsInfo[i].BillNo;
|
||||
// string zt = this.ListView.SelectedRowsInfo[i].DataRow["FDOCUMENTSTATUS"].ToString();
|
||||
// if (issh == "1")
|
||||
// {
|
||||
// if (zt == "D" || zt == "B")
|
||||
// {
|
||||
// fx_yscs(fbillno, issh);
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// if (zt == "C")
|
||||
// {
|
||||
// fx_yscs(fbillno, issh);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
//catch (Exception ex) { this.View.ShowMessage("反写已生产数时发生错误为:" + ex.Message); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user