Browse Source

优化分配任务接口

master
李磊 3 years ago
parent
commit
0504fcb2f3
  1. 4
      src/views/allot/components/chengya_list.vue

4
src/views/allot/components/chengya_list.vue

@ -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 => {

Loading…
Cancel
Save