|
@@ -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('请添加项目设备信息');
|