Browse Source

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

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

16
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'] = ''
}
newRow['packUnit'] = item['packUnit']
newRow['packQty'] = item['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)
})

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

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

Loading…
Cancel
Save