This commit is contained in:
2020-07-15 23:35:13 +08:00
parent 2092e4ef94
commit 17d9f47d49
27 changed files with 790 additions and 767 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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

View File

@@ -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