Browse Source

计划外入库协定品标签

intex_online20241216
张立 2 months ago
parent
commit
57dadd997e
  1. 6
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

6
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -1062,9 +1062,13 @@ const labelPrint = async (row) => {
// labelPrint(row)
await UnplannedreceiptRequestDetailApi.getDetailList(row.masterId).then(async (res) => {
if (res.length > 0) {
const itemType = res.some((item) => item.itemType == '可采购')
const itemType = res.some((item) => item.itemType == '可采购' && item.itemBasicType =='TOOL')//
const itemType2 = res.some((item) => item.itemType == '可采购' && item.itemBasicType !='TOOL')
const itemType1 = res.some((item) => item.itemType == '可制造')
if (itemType) {
window.open( BASE_URL + '/jmreport/view/1028102732077142016?token=' + getAccessToken() + '&request_number=' + row.number )
}
if (itemType2) {
window.open( BASE_URL + '/jmreport/view/1016234988731322368?token=' + getAccessToken() + '&request_number=' + row.number )
}
if (itemType1) {

Loading…
Cancel
Save