|
@ -1371,7 +1371,7 @@ const searchTableSuccess = async (formField, searchField, val, type, row) => { |
|
|
data.value.samplePieceSize = 1 |
|
|
data.value.samplePieceSize = 1 |
|
|
isSamplePieceSizeDisabled.value = false |
|
|
isSamplePieceSizeDisabled.value = false |
|
|
} |
|
|
} |
|
|
data.value.description = val[0].desc1 |
|
|
// data.value.description = val[0].desc1 |
|
|
} else if (formField == 'inspectionType') { |
|
|
} else if (formField == 'inspectionType') { |
|
|
data.value.testTypeName = val[0].description |
|
|
data.value.testTypeName = val[0].description |
|
|
} else if (formField == 'programmeTemplateCode') { |
|
|
} else if (formField == 'programmeTemplateCode') { |
|
@ -1478,7 +1478,7 @@ const onItemBlur= async (field, pageApi, item) => { |
|
|
const obj = array.list[0] |
|
|
const obj = array.list[0] |
|
|
if (obj) { |
|
|
if (obj) { |
|
|
dataObj['itemName'] = obj.name |
|
|
dataObj['itemName'] = obj.name |
|
|
dataObj['description'] = obj.desc1 |
|
|
// dataObj['description'] = obj.desc1 |
|
|
} else { |
|
|
} else { |
|
|
message.alert('暂无数据') |
|
|
message.alert('暂无数据') |
|
|
dataObj[field + 'Code'] = '' |
|
|
dataObj[field + 'Code'] = '' |
|
|