销售订单手工行关闭,单据体行变色
销售订单,手工行关闭单据体颜色改变
import clr clr.AddReference('mscorlib') from System import * def AfterBindData(e): SetBackColor() def DataChanged(e): #是否手工行关闭标识 if e.Field.Key == "FManualRowClose": SetBackColor() def SetBackColor(): #单据体标识 entity = this.View.BusinessInfo.GetEntity("FSaleOrderEntry") entrys = this.View.Model.GetEntityDataObject(entity) grid = this.View.GetControl(entity.Key) for entry in entrys: rowIndex = this.View.Model.GetRowIndex(entity, entry) if entry["ManualRowClose"] == 1:#去掉F grid.SetRowBackcolor("#FFFF00",rowIndex)#设置整行颜色
https://wenku.my7c.com/link/s/lwX9B
https://wenku.my7c.com/link/s/lOSc7
销售订单手工行关闭,单据体行变色
销售订单,手工行关闭单据体颜色改变import clrclr.AddReference('mscorlib')from System import *def AfterBindData(e): SetBackColor(...
点击下载文档
本文2024-09-16 17:10:47发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-14030.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章