|
@ -783,13 +783,12 @@ idsArray.forEach(id => { |
|
|
|
|
|
|
|
|
// 批量试算 |
|
|
// 批量试算 |
|
|
const handleSelectionTrialResult = async ()=>{ |
|
|
const handleSelectionTrialResult = async ()=>{ |
|
|
let rows:any = [] |
|
|
// let rows= selectionRows.value.map(item=>item.number) |
|
|
selectionRows.value.map(item=>item.number) |
|
|
let ids= Array.from(new Set(selectionRows.value.map(item=>item.number))).join(',') |
|
|
console.log('批量试算',rows.join(',')) |
|
|
await PreparetoissueMainApi.batchGenerateIssueRequest(ids) |
|
|
await PreparetoissueMainApi.batchGenerateIssueRequest(rows.join(',')) |
|
|
|
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
console.log('返回数据', res) |
|
|
console.log('返回数据', res) |
|
|
if (res.status == '2') { |
|
|
if (res?.status == '2') { |
|
|
message.error(res.message) |
|
|
message.error(res.message) |
|
|
} else { |
|
|
} else { |
|
|
message.success(res.message) |
|
|
message.success(res.message) |
|
|