|
|
@ -109,7 +109,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if (type == 'tableForm') { |
|
|
|
// 明细查询页赋值 |
|
|
|
row[formField] = val[0][searchField] |
|
|
|
row['uom'] = val[0]['uom'] |
|
|
|
if(formField=='itemCode'){ |
|
|
|
//物料代码 |
|
|
|
row['uom'] = val[0]['uom'] |
|
|
|
}else if(formField=='packUnit'){ |
|
|
|
//包装规格1 |
|
|
|
row['packQty'] = val[0]['packQty'] |
|
|
|
}else if(formField=='secondPackUnit'){ |
|
|
|
//包装规格2 |
|
|
|
row['secondPackQty'] = val[0]['packQty'] |
|
|
|
} |
|
|
|
} else { |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|