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