diff --git a/src/views/qualityManagement/inspectionArchiving/auditFile/index.vue b/src/views/qualityManagement/inspectionArchiving/auditFile/index.vue index 4a927e4c..f0e789b6 100644 --- a/src/views/qualityManagement/inspectionArchiving/auditFile/index.vue +++ b/src/views/qualityManagement/inspectionArchiving/auditFile/index.vue @@ -21,7 +21,29 @@ :permission="getPermission" :before-open="beforeOpen" @sort-change="sortChange" - > + > + + @@ -97,7 +119,7 @@ export default { // }, column: [ { - label: '工序名称', + label: '工序', prop: 'ppsId', labelWidth: 150, // bind: 'bsProcedureSet.ppsName', @@ -114,6 +136,13 @@ export default { value: 'id', res: 'data.records', }, + rules: [ + { + required: true, + message: '请选择工序', + trigger: 'click', + }, + ], }, { label: '作业中心', @@ -138,6 +167,22 @@ export default { }, ], }, + { + label: '工艺能力', + prop: 'caId', + width: 150, + labelWidth: 150, + search: false, + sortable: 'custom', + filterable: true, + span: 24, + // type: 'select', + // dicUrl: '/api/blade-desk/BA/WorkCenter/listForSelect', + // props: { + // label: 'wcName', + // value: 'id', + // }, + }, { label: '生产标识', prop: 'pqId', @@ -294,7 +339,8 @@ export default { referenceFile:row.referenceFile, wcId:row.wcId, papers:row.papers, - prodApplyArea:row.prodApplyArea + prodApplyArea:row.prodApplyArea, + caId:row.caId, } addFile(params).then(res =>{ if(res.data.code == 200){