|
@ -371,8 +371,6 @@ export default { |
|
|
this.$message({ message: '请选择单条报检单进行作废。', type: 'warning' }) |
|
|
this.$message({ message: '请选择单条报检单进行作废。', type: 'warning' }) |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
this.bjdIds.length = 0 |
|
|
|
|
|
this.bjdIds = this.$refs.list.selection[0].bjdId |
|
|
|
|
|
this.$prompt('请输入作废原因!', '提示', { |
|
|
this.$prompt('请输入作废原因!', '提示', { |
|
|
inputType: 'textarea', |
|
|
inputType: 'textarea', |
|
|
confirmButtonText: '确定', |
|
|
confirmButtonText: '确定', |
|
@ -386,7 +384,7 @@ export default { |
|
|
url: '/bjd/zfDbRenwuByBjdId', |
|
|
url: '/bjd/zfDbRenwuByBjdId', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
params: { |
|
|
params: { |
|
|
bjdIds: this.bjdIds[0], |
|
|
bjdIds: this.$refs.list.selection[0].bjdId, |
|
|
reason: value |
|
|
reason: value |
|
|
} |
|
|
} |
|
|
}).then(data => { |
|
|
}).then(data => { |
|
|