|
|
@ -329,13 +329,13 @@ const buttonBaseClick = (val, item) => { |
|
|
|
} |
|
|
|
} else if (val == 'trial_result') {//批量试算 |
|
|
|
if (selectionRows.value.length > 0) { |
|
|
|
const trialResultList = selectionRows.value.filter(item => item.trialResult == 1) |
|
|
|
let str = '' |
|
|
|
if (trialResultList.length > 0) { |
|
|
|
str=Array.from(new Set(trialResultList.map(item=>item.number))).join('、') |
|
|
|
message.error(`单据号【${str}】已试算成功`) |
|
|
|
return |
|
|
|
} |
|
|
|
// const trialResultList = selectionRows.value.filter(item => item.trialResult == 1) |
|
|
|
// let str = '' |
|
|
|
// if (trialResultList.length > 0) { |
|
|
|
// str=Array.from(new Set(trialResultList.map(item=>item.number))).join('、') |
|
|
|
// message.error(`单据号【${str}】已试算成功`) |
|
|
|
// return |
|
|
|
// } |
|
|
|
handleSelectionTrialResult() |
|
|
|
} |
|
|
|
}else { |
|
|
|