Browse Source

项目中设备数据必填项去除

tangyp 1 month ago
parent
commit
362c705d80
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ruoyi-ui-vue2/src/views/crmManagement/project/dialog.vue

+ 1 - 0
ruoyi-ui-vue2/src/views/crmManagement/project/dialog.vue

@@ -916,6 +916,7 @@ export default {
     checkMachineList() {
     checkMachineList() {
       // 检查 项目设备规格信息是否存在
       // 检查 项目设备规格信息是否存在
       if (this.form.machineList.length === 0) {
       if (this.form.machineList.length === 0) {
+        return
         // this.$modal.msgError('请添加项目设备信息');
         // this.$modal.msgError('请添加项目设备信息');
         this.$modal.msgError(this.$t('project.equipmentSpecifications') + this.$t('common.notEmpty'))
         this.$modal.msgError(this.$t('project.equipmentSpecifications') + this.$t('common.notEmpty'))
         throw new Error('请添加项目设备信息');
         throw new Error('请添加项目设备信息');