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

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