zhaowei
2024-11-28 81c519d7412ef28d3cc3e2d015830e0f493a0dd5
src/views/system/MdcEquipmentImplementLedger.vue
@@ -328,13 +328,13 @@
      handleAdd: function(implementId = '', param = '') {
        this.$refs[param + 'modalForm'].add(implementId)
        this.$refs[param + 'modalForm'].title = '新增'
        this.$refs[param + 'modalForm'].title = !param ? '新增台账' : '新增变更记录'
        this.$refs[param + 'modalForm'].disableSubmit = false
      },
      handleEdit: function(record, param = '') {
        this.$refs[param + 'modalForm'].edit(record)
        this.$refs[param + 'modalForm'].title = '编辑'
        this.$refs[param + 'modalForm'].title = !param ? '编辑台账' : '编辑变更记录'
        this.$refs[param + 'modalForm'].disableSubmit = false
      },
@@ -345,7 +345,7 @@
      handleDetail: function(record, param = '') {
        console.log(this.$refs[param + 'modalForm'])
        this.$refs[param + 'modalForm'].edit(record)
        this.$refs[param + 'modalForm'].title = '详情'
        this.$refs[param + 'modalForm'].title = !param ? '台账详情' : '变更记录详情'
        this.$refs[param + 'modalForm'].disableSubmit = true
        // 调用抽屉表单组件中的清除表单验证方法
        // this.$refs[param + 'modalForm'].removeValidate()