Browse Source

YT-1928:批量试算成功的不报信息

intex_online20250224
songguoqiang 1 month ago
parent
commit
f9599b2391
  1. 14
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

14
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

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

Loading…
Cancel
Save