|
|
@ -1169,8 +1169,12 @@ const searchTableSuccess = async (formField, searchField, val, type, row) => { |
|
|
|
_searchCondition.filters = filters |
|
|
|
const InspectionSchemeArray = await InspectionSchemeApi.InspectionSchemePage(_searchCondition) |
|
|
|
const InspectionSchemeObj = InspectionSchemeArray.list[0] |
|
|
|
data.value.samplePieceSize = InspectionSchemeObj.samplePieceSize |
|
|
|
data.value.inspectionSchemeCode = InspectionSchemeObj.code |
|
|
|
data.value.samplePieceSize = InspectionSchemeObj?.samplePieceSize || '' |
|
|
|
data.value.inspectionSchemeCode = InspectionSchemeObj?.code || '' |
|
|
|
if (!data.value.inspectionSchemeCode) { |
|
|
|
data.value.subList = [] |
|
|
|
return; |
|
|
|
} |
|
|
|
let list = await InspectionJobDetailApi.getBySchemeCode(data.value.inspectionSchemeCode) |
|
|
|
editableTabsValue.value = 1 |
|
|
|
list.forEach((item, index) => { |
|
|
|