diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index 9eceed8a9..30e3cdf70 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -123,6 +123,15 @@ const { tableObject, tableMethods } = useTable({ toInventoryStatus.value = "HOLD" businessType.value = 'OkToHold' importFileName.value = '合格转隔离申请' +}else if ( routeName.value == 'NoktoholdRequestMain') { + tableObject.params = { + fromInventoryStatus: 'NOK', + toInventoryStatus:'HOLD' + } + fromInventoryStatus.value = 'NOK' + toInventoryStatus.value = "HOLD" + businessType.value = 'NokToHold' + importFileName.value = '不合格转隔离申请' } else if ( routeName.value == 'HoldtookRequestMain') { tableObject.params = { fromInventoryStatus: 'HOLD', @@ -344,6 +353,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['qty'] = item['packQty'] if(routeName.value == 'OktoholdRequestMain'){ newRow['toInventoryStatus'] = "HOLD" + }else if(routeName.value == 'NoktoholdRequestMain'){ + newRow['toInventoryStatus'] = "HOLD" }else if ( routeName.value == 'HoldtookRequestMain') { newRow['toInventoryStatus'] = "OK" }else if ( routeName.value == 'HoldtoscrapRequestMain') { @@ -396,6 +407,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { setV['uom'] = val[0]['uom'] if(routeName.value == 'OktoholdRequestMain'){ setV['toInventoryStatus'] = "HOLD" + }else if(routeName.value == 'NoktoholdRequestMain'){ + setV['toInventoryStatus'] = "HOLD" }else if ( routeName.value == 'HoldtookRequestMain') { setV['toInventoryStatus'] = "OK" }else if ( routeName.value == 'HoldtoscrapRequestMain') {