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