diff --git a/src/views/allot/components/chengya_list.vue b/src/views/allot/components/chengya_list.vue index 5371c21..d96eda8 100644 --- a/src/views/allot/components/chengya_list.vue +++ b/src/views/allot/components/chengya_list.vue @@ -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 => {