|
|
@ -135,7 +135,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
row['qty'] = val[0]['qty'] |
|
|
|
// 修改 tableform 属性 数量最大值设置为库存余额中数量 |
|
|
|
ProductionreturnRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
if(item.field == 'qty') { |
|
|
|
if(item.field == 'qty' && val[0]['qty'] > 0) { |
|
|
|
item.tableForm.max = val[0]['qty'] |
|
|
|
} |
|
|
|
}) |
|
|
@ -165,7 +165,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { |
|
|
|
setV['qty'] = val[0]['qty'] |
|
|
|
// 修改 tableform 属性 数量最大值设置为库存余额中数量 |
|
|
|
ProductionreturnRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
if(item.field == 'qty') { |
|
|
|
if(item.field == 'qty' && val[0]['qty'] > 0) { |
|
|
|
item.tableForm.max = val[0]['qty'] |
|
|
|
} |
|
|
|
}) |
|
|
|