Browse Source

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

intex
zhang_li 5 days 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['uom'] = item['uom']
newRow['checkQty'] = item['qty'] // HL-5524 newRow['checkQty'] = item['qty'] // HL-5524
newRow['qty'] = item['qty'] newRow['qty'] = item['qty']
if(item['packingNumber']&&item['packingNumber'].length>0){ newRow['packUnit'] = item['packUnit']
newRow['packUnit'] = item['packUnit'] newRow['packQty'] = item['packQty']
newRow['packQty'] = item['packQty'] // if(item['packingNumber']&&item['packingNumber'].length>0){
}else{ // newRow['packUnit'] = item['packUnit']
newRow['packUnit'] = '' // newRow['packQty'] = item['packQty']
newRow['packQty'] = '' // }else{
} // newRow['packUnit'] = ''
// newRow['packQty'] = ''
// }
newRow['disabled_qty'] = item['packingNumber']&&item['packingNumber'].length>0 newRow['disabled_qty'] = item['packingNumber']&&item['packingNumber'].length>0
tableData.value.push(newRow) 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, isTableForm: true,
isForm: false, isForm: false,
tableForm:{ tableForm:{
multiple:false, multiple: false,
isInpuFocusShow: true, // 开启查询弹窗 disabled: true,
isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码', searchListPlaceholder: '请选择物料代码',
searchField: 'packUnit', searchField: 'packUnit',
searchTitle: '物料包装信息', searchTitle: '物料包装信息',

Loading…
Cancel
Save