Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

hella_online_20240913
zhaoxuebing 3 months ago
parent
commit
e1ab791f40
  1. 2
      src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts
  2. 5
      src/views/wms/issueManage/issue/issueRequestMain/index.vue

2
src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts

@ -32,7 +32,7 @@ export const ProductionitemcodeSpareitemcode = useCrudSchemas(reactive<CrudSchem
isMainValue: false isMainValue: false
},{ },{
key: 'category', key: 'category',
value: 'LCJ', value: 'LC',
isMainValue: false isMainValue: false
},{ },{
key: 'type', key: 'type',

5
src/views/wms/issueManage/issue/issueRequestMain/index.vue

@ -176,12 +176,13 @@ const getDefaultPackUnit = async (packUnitList)=>{
list:packUnitList list:packUnitList
}) })
console.log('res',res) console.log('res',res)
if(res&&res.list.length>0){ if(res&&res.length>0){
tableData.value.forEach(item=>{ tableData.value.forEach(item=>{
if(!item['packUnit']){ if(!item['packUnit']){
let findItem = res.list.find(item1=>item1.itemCode == item.itemCode) let findItem = res.find(item1=>item1.itemCode == item.itemCode)
if(findItem){ if(findItem){
item['packUnit'] = findItem['packUnit'] item['packUnit'] = findItem['packUnit']
item['packQty'] = findItem['packQty']
} }
} }
}) })

Loading…
Cancel
Save