22
This commit is contained in:
parent
f5d4b6a1ba
commit
fc29be4a38
@ -15,6 +15,7 @@ using Kingdee.BOS.Log;
|
|||||||
using Kingdee.BOS.Orm;
|
using Kingdee.BOS.Orm;
|
||||||
using Kingdee.BOS.Orm.DataEntity;
|
using Kingdee.BOS.Orm.DataEntity;
|
||||||
using Kingdee.BOS.ServiceHelper;
|
using Kingdee.BOS.ServiceHelper;
|
||||||
|
using Kingdee.BOS.Util;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -22,14 +23,14 @@ using System.Data;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
namespace Pilot_KD_Parino.Sal_Order
|
namespace Pilot_KD_Parino.Sal_Order
|
||||||
{
|
{
|
||||||
[Description("下推生成销售出库单及联动生成其他单的插件")]
|
[Description("下推生成销售出库单及联动生成其他单的插件"), HotUpdate]
|
||||||
public class PushSaleOutBillPlugIn : AbstractDynamicFormPlugIn // AbstractListPlugIn
|
public class PushSaleOutBillPlugIn : AbstractDynamicFormPlugIn // AbstractListPlugIn
|
||||||
{
|
{
|
||||||
long sScrId = 0;
|
long sScrId = 0;
|
||||||
string sScrBillNo = "";
|
string sScrBillNo = "";
|
||||||
public override void BarItemClick(BarItemClickEventArgs e)
|
public override void AfterBarItemClick(AfterBarItemClickEventArgs e)
|
||||||
{
|
{
|
||||||
base.BarItemClick(e);
|
base.AfterBarItemClick(e);
|
||||||
long sOutId = 0;//珠海分布式调出单单号内码
|
long sOutId = 0;//珠海分布式调出单单号内码
|
||||||
string sOutBillNo = "";//珠海分布式调出单单号
|
string sOutBillNo = "";//珠海分布式调出单单号
|
||||||
bool flag = true;
|
bool flag = true;
|
||||||
@ -37,13 +38,22 @@ namespace Pilot_KD_Parino.Sal_Order
|
|||||||
long sEntryId = 0;
|
long sEntryId = 0;
|
||||||
long slevel = 2;
|
long slevel = 2;
|
||||||
long sId = 0;
|
long sId = 0;
|
||||||
this.View.ShowMessage(e.BarItemKey);
|
//this.View.ShowMessage("669977");
|
||||||
return;
|
|
||||||
|
|
||||||
//if (e.BarItemKey.Equals("tbPushSalOut111", StringComparison.OrdinalIgnoreCase))
|
if (e.BarItemKey.Equals("tbPushSalOut111", StringComparison.OrdinalIgnoreCase))
|
||||||
//{
|
{
|
||||||
// this.View.ShowMessage("就是这个按钮");
|
var FEntity = this.View.Model.DataObject;
|
||||||
// return;
|
|
||||||
|
var fid = FEntity.GetPrimaryKeyValue();
|
||||||
|
var json = JsonUtil.Serialize(FEntity);
|
||||||
|
Logger.Error("FEntity",json,new Exception());
|
||||||
|
var id = FEntity["id"];
|
||||||
|
var FSALEORGID = FEntity["SaleOrgId"];
|
||||||
|
|
||||||
|
|
||||||
|
this.View.ShowMessage("就是这个按钮"+ id);
|
||||||
|
|
||||||
|
return;
|
||||||
//ListSelectedRowCollection rows = this.ListView.SelectedRowsInfo;
|
//ListSelectedRowCollection rows = this.ListView.SelectedRowsInfo;
|
||||||
//List<string> pkIds = new List<string>();
|
//List<string> pkIds = new List<string>();
|
||||||
//List<object> pkEntryIds = new List<object>();
|
//List<object> pkEntryIds = new List<object>();
|
||||||
@ -70,7 +80,7 @@ namespace Pilot_KD_Parino.Sal_Order
|
|||||||
//{
|
//{
|
||||||
// this.View.ShowMessage("生成对应系列的分布式调出单完成!!!");
|
// this.View.ShowMessage("生成对应系列的分布式调出单完成!!!");
|
||||||
//}
|
//}
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
private IOperationResult Invoke(string source, string target, string getSourceSql, string sargetBillTypeId)
|
private IOperationResult Invoke(string source, string target, string getSourceSql, string sargetBillTypeId)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user