diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index d2b90b6..1bbaf8e 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -269,16 +269,37 @@ TID绑定
- + 上传订单 - + 结束班次 - + 上传MT日志 - + 获取班次
@@ -4107,6 +4128,14 @@ export default { comTidGetShift,/*TID获取班次组件*/ }, methods: { + hasTidButtonAuth (permissionCode) { + const functionId = this.$route && this.$route.meta ? this.$route.meta.menuId : '' + if (!functionId || typeof this.isAuth !== 'function') { + return true + } + return this.isAuth(functionId + ':' + permissionCode) + }, + // 删除不良 deleteSfdcDefect(row) { deleteSfdcDefect(row).then(({data}) => {