Browse Source

不合格转隔离

hella_online_20240829
chenfang 4 months ago
parent
commit
11b3d63aca
  1. 13
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

13
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -123,6 +123,15 @@ const { tableObject, tableMethods } = useTable({
toInventoryStatus.value = "HOLD" toInventoryStatus.value = "HOLD"
businessType.value = 'OkToHold' businessType.value = 'OkToHold'
importFileName.value = '合格转隔离申请' 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') { } else if ( routeName.value == 'HoldtookRequestMain') {
tableObject.params = { tableObject.params = {
fromInventoryStatus: 'HOLD', fromInventoryStatus: 'HOLD',
@ -344,6 +353,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['qty'] = item['packQty'] newRow['qty'] = item['packQty']
if(routeName.value == 'OktoholdRequestMain'){ if(routeName.value == 'OktoholdRequestMain'){
newRow['toInventoryStatus'] = "HOLD" newRow['toInventoryStatus'] = "HOLD"
}else if(routeName.value == 'NoktoholdRequestMain'){
newRow['toInventoryStatus'] = "HOLD"
}else if ( routeName.value == 'HoldtookRequestMain') { }else if ( routeName.value == 'HoldtookRequestMain') {
newRow['toInventoryStatus'] = "OK" newRow['toInventoryStatus'] = "OK"
}else if ( routeName.value == 'HoldtoscrapRequestMain') { }else if ( routeName.value == 'HoldtoscrapRequestMain') {
@ -396,6 +407,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
setV['uom'] = val[0]['uom'] setV['uom'] = val[0]['uom']
if(routeName.value == 'OktoholdRequestMain'){ if(routeName.value == 'OktoholdRequestMain'){
setV['toInventoryStatus'] = "HOLD" setV['toInventoryStatus'] = "HOLD"
}else if(routeName.value == 'NoktoholdRequestMain'){
setV['toInventoryStatus'] = "HOLD"
}else if ( routeName.value == 'HoldtookRequestMain') { }else if ( routeName.value == 'HoldtookRequestMain') {
setV['toInventoryStatus'] = "OK" setV['toInventoryStatus'] = "OK"
}else if ( routeName.value == 'HoldtoscrapRequestMain') { }else if ( routeName.value == 'HoldtoscrapRequestMain') {

Loading…
Cancel
Save