modify
This commit is contained in:
@@ -32,7 +32,7 @@ CLLMainLua.init = function()
|
||||
-- 日志logveiw
|
||||
if ReporterMessageReceiver.self ~= nil then
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(true)
|
||||
ReporterMessageReceiver.self.luaPath = "trCrm/upgradeRes/priority/lua/toolkit/KKLogListener.lua"
|
||||
ReporterMessageReceiver.self.luaPath = "trCRM/upgradeRes/priority/lua/toolkit/KKLogListener.lua"
|
||||
ReporterMessageReceiver.self:setLua()
|
||||
end
|
||||
-- 设置显示状态栏
|
||||
@@ -43,7 +43,7 @@ CLLMainLua.init = function()
|
||||
-- AndroidStatusBar.setFlags(AndroidStatusBar.WINDOW_FLAG_FORCE_NOT_FULLSCREEN)
|
||||
-- CS.ApplicationChrome.statusBarState = CS.ApplicationChrome.States.Visible
|
||||
-- CS.ApplicationChrome.dimmed = false
|
||||
CS.ApplicationChrome.setSoftInputMode(CS.ApplicationChrome.ADJUST_PAN);
|
||||
CS.ApplicationChrome.setSoftInputMode(CS.ApplicationChrome.ADJUST_RESIZE);
|
||||
|
||||
--设置帧率
|
||||
Application.targetFrameRate = 10
|
||||
|
||||
@@ -53,13 +53,13 @@ MyUtl.callCust = function(cust)
|
||||
if attr.attrType == DBCust.FieldType.phone then
|
||||
local phNo = cust.jsonStr[joinStr(attr.id, "_", attr.attrName)]
|
||||
if not isNilOrEmpty(phNo) then
|
||||
phones:Add(joinStr(attr.attrName, ": ", phNo))
|
||||
phones:Add(joinStr(attr.attrName, ": ", MyUtl.hidePhone(phNo)))
|
||||
phonesVal:Add(phNo)
|
||||
end
|
||||
end
|
||||
end
|
||||
if phones.Count > 0 then
|
||||
phones:Insert(0, joinStr("默认: ", cust.phoneNo))
|
||||
phones:Insert(0, joinStr("默认: ", MyUtl.hidePhone(cust.phoneNo)))
|
||||
phonesVal:Insert(0, cust.phoneNo)
|
||||
CLUIPopListPanel.show(
|
||||
phones,
|
||||
|
||||
@@ -207,7 +207,7 @@ function TRPNewCust:setElementMode(el)
|
||||
local boxcollider = el:GetComponent("BoxCollider")
|
||||
local ButtonReset = getCC(el.transform, "ButtonReset", "MyInputReset")
|
||||
|
||||
if (not self.isNewCust) and (el.jsonKey == "taskId" or el.jsonKey == "phoneNo") then
|
||||
if (not self.isNewCust) and (el.jsonKey == "taskId" or el.jsonKey == "_phoneNo") then
|
||||
boxcollider.enabled = false
|
||||
else
|
||||
boxcollider.enabled = true
|
||||
|
||||
@@ -329,7 +329,7 @@ function TRPNewOrder:setElementMode(el)
|
||||
ButtonReset.disabled = (not self.isNewOrder)
|
||||
end
|
||||
|
||||
if el.jsonKey == "taskId" or el.jsonKey == "phoneNo" then
|
||||
if el.jsonKey == "taskId" or el.jsonKey == "_phoneNo" then
|
||||
boxcollider.enabled = false
|
||||
if ButtonReset then
|
||||
ButtonReset.disabled = true
|
||||
|
||||
Reference in New Issue
Block a user