This commit is contained in:
2020-07-14 22:04:03 +08:00
parent e54411e2c2
commit a47cabede2
119 changed files with 5115 additions and 1061 deletions

View File

@@ -1,7 +1,7 @@
---@class _DBCust
---@field custName
---@field custType
---@field phone
---@field phoneNo
---@field address
---@field companyName
---@field taskId
@@ -80,10 +80,10 @@ DBCust.onGetFilter = function(data)
end
DBCust.getFieldsByTask = function(taskValue)
taskValue = tostring(taskValue)
if not taskValue then
return {}
end
taskValue = tostring(taskValue)
return db.taskFields[taskValue] or {}
end