1
This commit is contained in:
@@ -14,12 +14,13 @@ from Kingdee.BOS.Util import*
|
||||
from Kingdee.BOS.Core.DynamicForm import*
|
||||
from Kingdee.BOS.Core.DynamicForm.PlugIn.Args import*
|
||||
from Kingdee.BOS.Core.List.PlugIn import*
|
||||
from Kingdee.BOS.Core.List import *
|
||||
from EastChanger.STK_StockCountLoss import*
|
||||
|
||||
def BarItemClick(e):
|
||||
if e.BarItemKey.Equals("InventoryProfit"):
|
||||
if e.BarItemKey.Equals("InventoryLoss"):
|
||||
sellist = this.ListView.SelectedRowsInfo
|
||||
if sellist != None and sellist.Any():
|
||||
if sellist == None or sellist.Count == 0:
|
||||
this.View.ShowErrMessage("<EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫͬ<EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><EFBFBD><EFBFBD>");
|
||||
return
|
||||
opResult = OperationResult()
|
||||
@@ -28,6 +29,6 @@ def BarItemClick(e):
|
||||
|
||||
service = STKStockCountLossService(this.Context)
|
||||
# raise Exception(str(type(fidList)))
|
||||
# service.HandleSyncData(fidList, opResult, 0)
|
||||
# if opResult.OperateResult.Count > 0:
|
||||
# this.View.ShowOperateResult(opResult.OperateResult)
|
||||
service.HandleSyncData(fidList, opResult, 0)
|
||||
if opResult.OperateResult.Count > 0:
|
||||
this.View.ShowOperateResult(opResult.OperateResult)
|
||||
Reference in New Issue
Block a user