- 打卡等级:无名新人
- 打卡总天数:3
- 打卡月天数:3
- 打卡总奖励:7
- 最近打卡:2024-11-15 09:18:05
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
U8单据开发登录节点提示无法创建该组件,请查看组件是否安装。有大佬知道怎么回事吗
public bool BeforeRunSysCommand(object objLogin, object objForm, object objVoucher, string sKey, object
varentValue, ref bool cancel, string other)
{
string cstcode = NewLateBinding.LateGet(objVoucher, null, "headerText", new object[1] { "cstcode" }, null,
null, null).ToString();
string ccuscode = NewLateBinding.LateGet(objVoucher, null, "headerText", new object[1] { "ccusecode" }, null,
null, null).ToString();
if (cstcode == "01" && (ccuscode != "001" || ccuscode != "002"))
{
MessageBox.Show("当销售类型为普通销售时,公司只能是001跟002公司");
cancel = true;
return false;
}
return true;
}
insert Into AA_CustomerButton(cButtonID, cButtonkey, cButtonType, cProjectNO, cFormKey, cVoucherkey, cKeyBefore, iOrder,
cGroup, cCustomerObjectName, cCaption, cLocaleID, cImage, cToolTip, cHotKey, bInneralCommand, cVariant, cVisibleAsKey,
cEnableAskey, cSubID, DependenceSubIdList, cForegroundColor, cBackgroundColor, cSetGroup, iSetGroupRow, iheightRow,
cToolbarPosIndex, iVoucherCtlIndex, cPluginName)
values(newid(),'system','syetem','U870','17','17','save','1','IEDIT',
'项目名.类名','保存','zh-cn','save','保存','Ctrl+U','1','保存','save',
'save', null, null, null, null, null, null, null, null, null,'')
|
|