|
@@ -309,8 +309,11 @@ export default {
|
|
|
},
|
|
|
|
|
|
async passOrBackSend() { // 提测打回
|
|
|
+ if (this.report_from.statusString === '打回' && !this.report_from.reason) {
|
|
|
+ this.$message({ message: '请填写打回原因', type: 'warning' })
|
|
|
+ return
|
|
|
+ }
|
|
|
this.dialog_testData = false
|
|
|
-
|
|
|
if (this.report_from.statusString === '通过' || this.report_from.statusString === '打回') {
|
|
|
const data = {
|
|
|
id: this.report_data.id,
|
|
@@ -383,7 +386,7 @@ export default {
|
|
|
break
|
|
|
case 2:
|
|
|
this.dialog_testData = true
|
|
|
- this.report_from.titName = '提测确认'
|
|
|
+ this.report_from.titName = '提测打回确认'
|
|
|
this.report_from.statusString = '打回'
|
|
|
break
|
|
|
case 3:
|