فهرست منبع

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

tangyp 1 ماه پیش
والد
کامیت
362c705d80
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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() {
       // 检查 项目设备规格信息是否存在
       if (this.form.machineList.length === 0) {
+        return
         // this.$modal.msgError('请添加项目设备信息');
         this.$modal.msgError(this.$t('project.equipmentSpecifications') + this.$t('common.notEmpty'))
         throw new Error('请添加项目设备信息');