|
|
@ -73,12 +73,18 @@ |
|
|
|
const searchTableSuccess = (formField, searchField, val, formRef, type, row) => { |
|
|
|
nextTick(async () => { |
|
|
|
if (type == 'tableForm') { |
|
|
|
console.log(formField); |
|
|
|
// 明细查询页赋值 |
|
|
|
if (formField == 'itemNumber') { |
|
|
|
row[formField] = val[0][searchField] |
|
|
|
row['itemNumber'] = val[0]['itemNumber'] |
|
|
|
row['isRadeIn'] = val[0]['isRadeIn'] |
|
|
|
row['isRadeIn'] = val[0]['isInAccount'] |
|
|
|
row['currentQty'] = val[0]['qty'] |
|
|
|
row['available'] = val[0]['available'] |
|
|
|
} |
|
|
|
if (formField == 'deviceNumber') { |
|
|
|
row['deviceNumber'] = val[0]['number'] |
|
|
|
} |
|
|
|
} else { |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|