Browse Source

bug修复

hella_online_20240829
wangyufei 4 months ago
parent
commit
fefd9ebd28
  1. 11
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

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

@ -120,12 +120,17 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['itemCode'] = val[0]['componentItemCode']
row['uom'] = val[0]['componentUom']
} else if(formField == 'workStation'){
if(isShowButton.value){
val.forEach(item=>{
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow[formField] = item[searchField]
newRow['toLocationCode'] = item['rawLocationCode']
tableData.value.push(newRow)
})
}else{
row[formField] = val[0][searchField]
}
console.log(77,formField)
console.log(66,searchField)
console.log(88,tableData.value)
@ -142,6 +147,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['shift'] = val[0]['shift']
setV['team'] = val[0]['team']
isShowButton.value = false
PreparetoissueDetail.allSchemas.tableFormColumns.map(item => {
if (item.field == 'workStation') {
item.tableForm.isInpuFocusShow = true
}
})
// getBomDisassemble
PreparetoissueMainApi.getBomDisassemble(val[0]['id'])
.then(res => {

Loading…
Cancel
Save