|
|
|
|
@ -290,11 +290,19 @@ |
|
|
|
|
:prop="`tableData2[${scope.$index}].projectStandard`" |
|
|
|
|
:rules="formRules2.projectStandard" |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
<el-select |
|
|
|
|
v-model="scope.row.projectStandard" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
> |
|
|
|
|
<el-option v-for="(item, index) in standardList" :label="item.name" :value="item.id"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<!-- <el-input |
|
|
|
|
v-model="scope.row.projectStandard" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
style="width: 100%" |
|
|
|
|
></el-input> |
|
|
|
|
></el-input> --> |
|
|
|
|
</el-form-item> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
@ -492,7 +500,8 @@ import { |
|
|
|
|
getProcessSetList, |
|
|
|
|
getCraftAbilityList, |
|
|
|
|
getPartDetail, |
|
|
|
|
getProject |
|
|
|
|
getProject, |
|
|
|
|
getStandardList |
|
|
|
|
} from '@/api/processManagement/taskProcessing'; |
|
|
|
|
import { getPqList } from '@/api/qualityManagement/remindRedeem/remindRedeem'; |
|
|
|
|
export default { |
|
|
|
|
@ -596,6 +605,7 @@ export default { |
|
|
|
|
partInfoData: {}, //零件信息 |
|
|
|
|
tempId: 0, |
|
|
|
|
projectOptions: [],//检验项目列表 |
|
|
|
|
standardList: [],//检验标准列表 |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
@ -607,8 +617,14 @@ export default { |
|
|
|
|
this.getCraftAbilityList(); |
|
|
|
|
this.getPqList(); |
|
|
|
|
this.getProject() |
|
|
|
|
this.getStandardList() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getStandardList(){ |
|
|
|
|
getStandardList().then(res => { |
|
|
|
|
this.standardList = res.data.data; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
getProject(){ |
|
|
|
|
getProject({size: 999999, current: 1}).then(res => { |
|
|
|
|
this.projectOptions = res.data.data.records; |
|
|
|
|
|