Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / dj-car-boutique-work-wechat

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 1
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dj-car-boutique-work-wechat
  • packageEquity
  • components
  • GLForm
  • GLForm.wxs
  • chenwq's avatar
    车损权益,报价单多商品和轮胎适配 · 590f26ed
    chenwq committed Jul 21, 2023
    590f26ed
GLForm.wxs 416 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
var isShowFn = function (formData, targetItem) {
  var flag = false
  if (targetItem.isShowObj && formData) {
    for (var i = 0; i <= targetItem.isShowObj.list.length; i++) {
      var item = targetItem.isShowObj.list[i]
      if (item == formData[targetItem.isShowObj.attr]) {
        flag = true
        break
      }
    }
  } else {
    flag = true
  }
  return flag
}

module.exports = {
  isShowFn: isShowFn
}