| | |
| | | ref="structureTable" |
| | | > |
| | | <template #toolbar> |
| | | <el-button type="primary" :loading="ifsSynsLoading" @click="syncIfs" |
| | | <!-- <el-button type="primary" :loading="ifsSynsLoading" @click="syncIfs" |
| | | >ERP同步</el-button |
| | | > |
| | | > --> |
| | | </template> |
| | | </ttable> |
| | | <!-- 弹窗, 新增 / 修改 --> |
| | |
| | | customUpload: true, |
| | | uploadInfo: { |
| | | // 是否展示上传EXCEL以及对应的url |
| | | isShow: true, |
| | | isShow: false, |
| | | url: '/mes/structure/uploadExt' |
| | | }, |
| | | prelang: 'structure', |
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | // 结构类型 |
| | | { |
| | | minWidth: '120', |
| | | prop: 'bomTypeDb', |
| | | label: '结构类型', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'select', |
| | | formatter: this.formatBomTypeDbType, |
| | | optList: () => { |
| | | return this.bomTypeDbOptions |
| | | } |
| | | }, |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'bomTypeDb', |
| | | // label: '结构类型', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'select', |
| | | // formatter: this.formatBomTypeDbType, |
| | | // optList: () => { |
| | | // return this.bomTypeDbOptions |
| | | // } |
| | | // }, |
| | | // 替代 |
| | | { |
| | | minWidth: '120', |
| | | prop: 'alternativeNo', |
| | | label: '替代', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'alternativeNo', |
| | | // label: '替代', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // 替代描述 |
| | | { |
| | | minWidth: '120', |
| | | prop: 'alternativeDesc', |
| | | label: '替代描述', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'alternativeDesc', |
| | | // label: '替代描述', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // 是否已同步至ERP |
| | | { |
| | | minWidth: '120', |
| | |
| | | } |
| | | }, |
| | | // 是否为默认结构 |
| | | { |
| | | /* { |
| | | minWidth: '120', |
| | | prop: 'master', |
| | | label: '默认结构', |
| | |
| | | formatter: (row, column, cellValue) => { |
| | | return cellValue == true ? '是' : '否' |
| | | } |
| | | }, |
| | | }, */ |
| | | // 描述 |
| | | { |
| | | minWidth: '120', |