Browse Source

批量打印修改

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

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

@ -318,13 +318,13 @@ const buttonBaseClick = (val, item) => {
} else if (val == 'selection_point') {//
console.log(selectionRows.value)
if (selectionRows.value.length > 0 ) {
const trialResultList = selectionRows.value.filter(item => item.trialResult == 0 || item.trialResult == 2)
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 == 0 || item.trialResult == 2)
// let str = ''
// if (trialResultList.length > 0) {
// str=Array.from(new Set(trialResultList.map(item=>item.number))).join('')
// message.error(`${str},`)
// return
// }
handleSelectionPoint()
}
} else if (val == 'trial_result') {//

Loading…
Cancel
Save