Browse Source

YT-807库存移动记录新,新增包装规格、包装数量应自动带出,现没有带出

intex
zhang_li 5 days ago
parent
commit
12c19cb6d7
  1. 12
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue
  2. 3
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordRequestMain.data.ts

12
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

@ -433,13 +433,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['uom'] = item['uom']
newRow['checkQty'] = item['qty'] // HL-5524
newRow['qty'] = item['qty']
if(item['packingNumber']&&item['packingNumber'].length>0){
newRow['packUnit'] = item['packUnit']
newRow['packQty'] = item['packQty']
}else{
newRow['packUnit'] = ''
newRow['packQty'] = ''
}
// if(item['packingNumber']&&item['packingNumber'].length>0){
// newRow['packUnit'] = item['packUnit']
// newRow['packQty'] = item['packQty']
// }else{
// newRow['packUnit'] = ''
// newRow['packQty'] = ''
// }
newRow['disabled_qty'] = item['packingNumber']&&item['packingNumber'].length>0
tableData.value.push(newRow)
})

3
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordRequestMain.data.ts

@ -348,7 +348,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false,
tableForm:{
multiple: false,
isInpuFocusShow: true, // 开启查询弹窗
disabled: true,
isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码',
searchField: 'packUnit',
searchTitle: '物料包装信息',

Loading…
Cancel
Save