1
This commit is contained in:
@@ -28,9 +28,13 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="PlanService\ListEventPlugInEx.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本汇总表_不分解.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本汇总表_只分解第一层.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本还原构造程序.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本还原查询报表_20240819.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本还原查询报表构造.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品成本还原过滤.py" />
|
||||
<Compile Include="POSH_CB_PROCOSTRESULTREC\产品还原过滤2.py" />
|
||||
<Compile Include="PRD_MO\OperationEventPlugInEx.py" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
Binary file not shown.
@@ -23,14 +23,15 @@ from Kingdee.BOS.Orm.DataEntity import*
|
||||
def AfterDoOperation(e):
|
||||
if e.Operation.Operation == "DoUpdateSubFORECAST":
|
||||
selectedRows = this.ListView.SelectedRowsInfo;
|
||||
if selectedRows == None or selectedRows.Count == 0:
|
||||
this.View.ShowMessage("当前没有行被选中!");
|
||||
return;
|
||||
# if selectedRows == None or selectedRows.Count == 0:
|
||||
# this.View.ShowMessage("当前没有行被选中!");
|
||||
# return;
|
||||
|
||||
billNos = List[str]();
|
||||
for row in selectedRows:
|
||||
billNos.Add(row.BillNo);
|
||||
# billNos = List[str]();
|
||||
# for row in selectedRows:
|
||||
# billNos.Add(row.BillNo);
|
||||
|
||||
sql = "/*dialect*/ exec P_UpdateSubFORECAST '{0}'".format(",".join(billNos));
|
||||
# sql = "/*dialect*/ exec P_UpdateSubFORECAST '{0}'".format(",".join(billNos));
|
||||
sql = "/*dialect*/ exec P_UpdateSubFORECAST '' ";
|
||||
|
||||
dr = DBServiceHelper.ExecuteDynamicObject(this.Context, sql);
|
||||
Reference in New Issue
Block a user