|
|
@ -139,20 +139,20 @@ export const tableFormBlurVer = async (headerItem, val, row, index,routeName,for |
|
|
|
routeName == 'InventorymoveRequestMain' || |
|
|
|
routeName == 'InventorychangeRequestMain' |
|
|
|
) { |
|
|
|
//合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请参数稍有不同
|
|
|
|
if ( |
|
|
|
routeName == 'OktoholdRequestMain' || |
|
|
|
routeName == 'HoldtookRequestMain' || |
|
|
|
routeName == 'HoldtoscrapRequestMain' || |
|
|
|
routeName == 'OktoscrapRequestMain' || |
|
|
|
routeName == 'ScraptoholdRequestMain' || |
|
|
|
routeName == 'InventorymoveRequestMain' || |
|
|
|
routeName == 'InventorychangeRequestMain' |
|
|
|
) { |
|
|
|
searchField = 'packingNumber' |
|
|
|
params.value.packingNumber = val?.trim() |
|
|
|
} |
|
|
|
pageApi.value = getBalanceItemListByCodes |
|
|
|
// //合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请参数稍有不同
|
|
|
|
// if (
|
|
|
|
// routeName == 'OktoholdRequestMain' ||
|
|
|
|
// routeName == 'HoldtookRequestMain' ||
|
|
|
|
// routeName == 'HoldtoscrapRequestMain' ||
|
|
|
|
// routeName == 'OktoscrapRequestMain' ||
|
|
|
|
// routeName == 'ScraptoholdRequestMain' ||
|
|
|
|
// routeName == 'InventorymoveRequestMain' ||
|
|
|
|
// routeName == 'InventorychangeRequestMain'
|
|
|
|
// ) {
|
|
|
|
// searchField = 'packingNumber'
|
|
|
|
// params.value.packingNumber = val?.trim()
|
|
|
|
// }
|
|
|
|
// pageApi.value = getBalanceItemListByCodes
|
|
|
|
} else if ( |
|
|
|
routeName == 'RepleinshRequestMain' || |
|
|
|
routeName == 'IssueRequestMain' || |
|
|
@ -297,12 +297,13 @@ export const FormBlur = async (formField, val,routeName,formRef,detailData,formS |
|
|
|
packUnit: val.trim() |
|
|
|
} |
|
|
|
pageApi.value = getItemPackageunitListByCodes |
|
|
|
} else if (formField == 'fromPackingNumber') { |
|
|
|
params.value = { |
|
|
|
packingNumber: val?.trim() |
|
|
|
} |
|
|
|
pageApi.value = getBalanceItemListByCodes |
|
|
|
} |
|
|
|
// else if (formField == 'fromPackingNumber') {
|
|
|
|
// params.value = {
|
|
|
|
// packingNumber: val?.trim()
|
|
|
|
// }
|
|
|
|
// pageApi.value = getBalanceItemListByCodes
|
|
|
|
// }
|
|
|
|
let obj = {} |
|
|
|
let searchCondition1 = formSchema.find((item) => item.field == formField).componentProps |
|
|
|
.searchCondition //获取data.ts参数信息
|
|
|
@ -415,14 +416,16 @@ export const getListByBottonInput = async (headerItem, val,row,routeName,formRef |
|
|
|
customerCode: formRef.formModel.customerCode, |
|
|
|
itemCodes: val?.trim() |
|
|
|
} |
|
|
|
} else if (routeName == 'UnplannedissueRequestMain') { |
|
|
|
// 计划外出库
|
|
|
|
pageApi.value = getBalanceItemListByCodes |
|
|
|
params.value = { |
|
|
|
packingNumber: val?.trim() |
|
|
|
} |
|
|
|
field = 'packingNumber' |
|
|
|
} else { |
|
|
|
} |
|
|
|
// else if (routeName == 'UnplannedissueRequestMain') {
|
|
|
|
// // 计划外出库
|
|
|
|
// pageApi.value = getBalanceItemListByCodes
|
|
|
|
// params.value = {
|
|
|
|
// packingNumber: val?.trim()
|
|
|
|
// }
|
|
|
|
// field = 'packingNumber'
|
|
|
|
// }
|
|
|
|
else { |
|
|
|
params.value.codes = val?.trim() |
|
|
|
pageApi.value = getItemListByCodes |
|
|
|
} |
|
|
|