diff --git a/src/views/modules/qc/FAIResultEntry.vue b/src/views/modules/qc/FAIResultEntry.vue index 3257ee1..fd37dc1 100644 --- a/src/views/modules/qc/FAIResultEntry.vue +++ b/src/views/modules/qc/FAIResultEntry.vue @@ -371,13 +371,13 @@ - + 添加 删除 批量新增
- + + + + @@ -406,13 +412,16 @@ - + - - + + + + + - + @@ -1145,6 +1154,7 @@ batchHandleAddModalFlag: false, batchAddData: { samplingLocation: '', + samplingLocationB: '', samplingNumber: '' }, controlData: {}, @@ -1680,6 +1690,7 @@ }) this.batchAddData = { samplingLocation: '', + samplingLocationB: '', samplingNumber: '' } this.subDetailFlag = true; @@ -1789,6 +1800,7 @@ for (let i = 0; i < this.batchAddData.samplingNumber; i++) { let obj = {} obj.samplingLocation = this.batchAddData.samplingLocation + obj.samplingLocationB = this.batchAddData.samplingLocationB obj.subDetailValue = "" this.tableData.push(obj) } @@ -1853,10 +1865,8 @@ saveSubDetailResult(){ for (let i = 0; i < this.tableData.length; i++) { if(this.tableData[i].subDetailValue == '' || this.tableData[i].subDetailValue == null){ - this.$alert('序号' + (i+1) +'未填写实测值!', '错误', { - confirmButtonText: '确定' - }) - return false + this.$message.warning('序号' + (i+1) +'未填写实测值!') + return } } this.subDetailData.subDetailValues = this.tableData @@ -1869,8 +1879,7 @@ message: '操作成功', type: 'success', duration: 1500, - onClose: () => { - } + onClose: () => {} }) } else { this.$alert(data.msg, '错误', { diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index 56b5d42..7e27691 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -369,13 +369,13 @@ - + 添加 删除 批量新增
- + + + + @@ -404,13 +410,16 @@ - + - - + + + + + - + @@ -1141,6 +1150,7 @@ batchHandleAddModalFlag: false, batchAddData: { samplingLocation: '', + samplingLocationB: '', samplingNumber: '' }, controlData: {}, @@ -1676,6 +1686,7 @@ }) this.batchAddData = { samplingLocation: '', + samplingLocationB: '', samplingNumber: '' } this.subDetailFlag = true; @@ -1785,6 +1796,7 @@ for (let i = 0; i < this.batchAddData.samplingNumber; i++) { let obj = {} obj.samplingLocation = this.batchAddData.samplingLocation + obj.samplingLocationB = this.batchAddData.samplingLocationB obj.subDetailValue = "" this.tableData.push(obj) } @@ -1851,10 +1863,8 @@ saveSubDetailResult(){ for (let i = 0; i < this.tableData.length; i++) { if(this.tableData[i].subDetailValue == '' || this.tableData[i].subDetailValue == null){ - this.$alert('序号' + (i+1) +'未填写实测值!', '错误', { - confirmButtonText: '确定' - }) - return false + this.$message.warning('序号' + (i+1) +'未填写实测值!') + return } } this.subDetailData.subDetailValues = this.tableData @@ -1867,8 +1877,7 @@ message: '操作成功', type: 'success', duration: 1500, - onClose: () => { - } + onClose: () => {} }) } else { this.$alert(data.msg, '错误', { diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index 7421cfe..6c78f2f 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -452,13 +452,13 @@ - + 添加 删除 批量新增
- + - + + + +