zhaowei
2024-11-28 81c519d7412ef28d3cc3e2d015830e0f493a0dd5
MDC设备实施台账页面调整弹窗标题及输入提醒
已修改2个文件
8 ■■■■ 文件已修改
src/views/system/MdcEquipmentImplementLedger.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/modules/MdcEquipmentImplementLedger/MdcImplementLedgersSubModal.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()
src/views/system/modules/MdcEquipmentImplementLedger/MdcImplementLedgersSubModal.vue
@@ -48,7 +48,7 @@
          </a-col>
          <a-col :span="12">
            <a-form-model-item label="设备网络确认" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="networkStatus">
              <a-select :disabled="disableSubmit" placeholder="请选择变更原因" :triggerChange="true"
              <a-select :disabled="disableSubmit" placeholder="请选择设备网络确认" :triggerChange="true"
                        v-model="model.networkStatus">
                <a-select-option value='未恢复'>未恢复</a-select-option>
                <a-select-option value='已恢复'>已恢复</a-select-option>