uu
This commit is contained in:
@@ -57,6 +57,7 @@ function TRPNewFollow:initFiledsAttr()
|
||||
attr.id = ""
|
||||
attr.attrType = DBCust.FieldType.dateTime
|
||||
attr.ifMust = 1
|
||||
attr.ifTime = 1
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
|
||||
@@ -149,9 +150,12 @@ function TRPNewFollow:onPopupFieldValChg(go)
|
||||
---@type CLUIElement
|
||||
local el = go:GetComponent("CLUIElement")
|
||||
if el.jsonKey == "dealFlag" then
|
||||
if uiobjs.followUpContent and isNilOrEmpty(uiobjs.followUpContent.value) then
|
||||
if uiobjs.followUpContent then
|
||||
local popList = go:GetComponent("UIPopupList")
|
||||
uiobjs.followUpContent.value = popList.selectedItem
|
||||
if isNilOrEmpty(uiobjs.followUpContent.value) or self.oldselectedItem == uiobjs.followUpContent.value then
|
||||
uiobjs.followUpContent.value = popList.selectedItem
|
||||
self.oldselectedItem = popList.selectedItem
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -167,6 +171,7 @@ end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPNewFollow:hide()
|
||||
self.oldselectedItem = nil
|
||||
if uiobjs.DetailRoot.luaTable then
|
||||
uiobjs.DetailRoot.luaTable.release()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user