ios
This commit is contained in:
@@ -41,6 +41,7 @@ function TRPNewCust:setData(paras)
|
||||
if paras and paras.custId > 0 then
|
||||
self.isNewCust = false
|
||||
self.mdata = paras
|
||||
self.mdata._phoneNo = MyUtl.hidePhone(self.mdata.phoneNo)
|
||||
else
|
||||
self.isNewCust = true
|
||||
self.mdata = {}
|
||||
@@ -386,6 +387,7 @@ function TRPNewCust:setEventDelegate()
|
||||
end
|
||||
|
||||
local cust = uiobjs.DetailRoot:getValue(true)
|
||||
cust.phoneNo = cust._phoneNo
|
||||
cust.customerLabel = self.mdata.customerLabel
|
||||
local jsonStr = uiobjs.ExtendFormRoot:getValue(true)
|
||||
cust.jsonStr = jsonStr
|
||||
|
||||
Reference in New Issue
Block a user