Skip to content
  • This project
    • Loading...
  • Sign in

bdc / bdcdj-web

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • bdcdj-web
  • src
  • views
  • ywbl
  • mixin
  • index.js
  • renchao@pashanhoo.com's avatar
    style:申请单元列表 · 1311e185
    1311e185 Browse Directory
    renchao@pashanhoo.com committed 2023-08-30 14:05:09 +0800
index.js 492 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-08-30 13:51:05
 */
export default {
  watch: {
    'ruleForm.sldy.gyfs': {
      handler: function (val, oldVal) {
        if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) {
          this.ruleForm.sldy.gyfs = oldVal
          this.$message({
            message: '单独所有只能选择一个,请先删除再切换',
            type: 'warning'
          })
        }
      },
      immediate: true
    }
  }
}