Browse Source

库存初始化问题修复

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
685266f803
  1. 5
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue
  2. 4
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts

5
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue

@ -117,10 +117,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['uom'] = val[0]['uom'] row['uom'] = val[0]['uom']
}else if(formField=='packUnit'){ }else if(formField=='packUnit'){
//1 //1
row['packUnit'] = val[0]['packUnit']
row['packQty'] = val[0]['packQty'] row['packQty'] = val[0]['packQty']
}else if(formField=='secondPackUnit'){ }else if(formField=='secondPackUnit'){
//2 //2
row['secondPackUnit'] = val[0]['packUnit']
row['secondPackQty'] = val[0]['packQty'] row['secondPackQty'] = val[0]['packQty']
}else if(formField == 'balancePackUnit'){
//
row['balancePackUnit'] = val[0]['packUnit']
} }
} else { } else {
const setV = {} const setV = {}

4
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts

@ -787,7 +787,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
disabled: true, disabled: true,
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择包装', searchListPlaceholder: '请选择包装',
searchField: 'itemCode', searchField: 'packUnit',
searchTitle: '物品包装信息', searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPage, searchPage: ItemPackageApi.getItempackagingPage,
@ -923,7 +923,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
disabled: true, disabled: true,
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择包装', searchListPlaceholder: '请选择包装',
searchField: 'itemCode', searchField: 'packUnit',
searchTitle: '物品包装信息', searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPage, searchPage: ItemPackageApi.getItempackagingPage,

Loading…
Cancel
Save