modified: src/views/basic/part/index.vue
modified: src/views/quality/finishedProductInspection/index.vue
modified: src/views/quality/processInspect/index.vue
modified: src/views/quality/processconfiguration/index.vue
modified: src/views/quality/rawMaterial/index.vue
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | // 一级分类 |
| | | /* { |
| | | { |
| | | minWidth: '120', |
| | | prop: 'assortment', |
| | | label: '一级分类', |
| | |
| | | optList: () => { |
| | | return this.getThreeLevelClassification() |
| | | } |
| | | }, */ |
| | | }, |
| | | // 规格 |
| | | { |
| | | minWidth: '140', |
| | |
| | | created() { |
| | | this.table.column.find((e) => e.label === 'IFS启用批次管理').isTrue = false |
| | | this.table.column.find((e) => e.label === '计划方法').isTrue = false |
| | | this.getUnitType('unit') |
| | | this.getMaterialType('material_type') |
| | | this.getCategoryType('category') |
| | | this.getAssortmentType('assortment') |
| | | this.getPlanningMethodType('planning_method_type') |
| | | this.getThreeLevelClassificationType('three_classification_type') |
| | | this.getMaterialAttributeType() |
| | | this.getExaminerDict('examiner_type') |
| | | }, |
| | | mounted(){ |
| | | this.getUnitType('unit') |
| | | this.getMaterialType('material_type') |
| | | this.getMaterialAttributeType() |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['permissions']) |
| | |
| | | }) |
| | | }, |
| | | getMaterialType(type) { |
| | | console.log(type); |
| | | remote(type).then((response) => { |
| | | console.log("类型",response); |
| | | const code = response.data.code |
| | | if (code === 0) { |
| | | const _data = response.data.data |
| | |
| | | text: '新增', |
| | | type: 'primary', |
| | | fun: this.addOrUpdateHandle |
| | | }, */ |
| | | }, |
| | | { |
| | | text: '导出', |
| | | type: 'primary', |
| | | fun: this.exportExcel |
| | | } |
| | | }*/ |
| | | ], |
| | | operator: [{ |
| | | text: '打印', |
| | |
| | | type: 'primary', |
| | | fun: this.addOrUpdateHandle |
| | | }, |
| | | { |
| | | text: '导出', |
| | | fun: this.exportExcel |
| | | } |
| | | // { |
| | | // text: '导出', |
| | | // fun: this.exportExcel |
| | | // } |
| | | ], |
| | | operator: [{ |
| | | text: '作废', |
| | |
| | | |
| | | ], |
| | | toolbar: [ |
| | | { |
| | | text: '导出', |
| | | type: 'primary', |
| | | fun: this.handleExport |
| | | }, |
| | | // { |
| | | // text: '导出', |
| | | // type: 'primary', |
| | | // fun: this.handleExport |
| | | // }, |
| | | ], |
| | | operator: [ |
| | | // { |
| | |
| | | @queryParam="getQueryParam($event)" |
| | | ref="rawMaterialTable"> |
| | | <template #toolbar> |
| | | <el-button @click="exportRawMaterial" type="primary" >导出</el-button> |
| | | <!-- <el-button @click="exportRawMaterial" type="primary" >导出</el-button> --> |
| | | </template> |
| | | </ttable> |
| | | </basic-container> |