|
|
@@ -5,6 +5,7 @@
|
|
|
:key="index"
|
|
|
class="btn"
|
|
|
:style="{ background: item.disable ? '#858585' : item.bjColor }"
|
|
|
+ v-if="$hasPermission(item.isShow)"
|
|
|
@click="footClick(item)"
|
|
|
>
|
|
|
<img src="../../../assets/Frame.png" class="Frame" />
|
|
|
@@ -33,82 +34,98 @@
|
|
|
{
|
|
|
name: '产前准备',
|
|
|
type: 'prenatalExamination',
|
|
|
- bjColor: '#770077'
|
|
|
+ bjColor: '#770077',
|
|
|
+ isShow: 'mes:producetaskrulerecord:save1'
|
|
|
},
|
|
|
{
|
|
|
name: '领料',
|
|
|
type: 'pick',
|
|
|
- bjColor: '#FC1B75'
|
|
|
+ bjColor: '#FC1B75',
|
|
|
+ isShow: 'mes:workorder:save'
|
|
|
},
|
|
|
{
|
|
|
name: '投料',
|
|
|
type: 'feed',
|
|
|
- bjColor: '#FBD114'
|
|
|
+ bjColor: '#FBD114',
|
|
|
+ isShow:'mes:feed:save'
|
|
|
},
|
|
|
{
|
|
|
name: '过程监测',
|
|
|
type: 'processDetection',
|
|
|
- bjColor: '#008888'
|
|
|
+ bjColor: '#008888',
|
|
|
+ isShow: 'mes:producetaskrulerecord:save2'
|
|
|
},
|
|
|
{
|
|
|
name: '报工',
|
|
|
type: 'job',
|
|
|
- bjColor: '#157A2C'
|
|
|
+ bjColor: '#157A2C',
|
|
|
+ isShow: 'mes:workreport:save'
|
|
|
},
|
|
|
{
|
|
|
name: '委外请托',
|
|
|
type: 'Outsourcing',
|
|
|
- bjColor: '#39D9AC'
|
|
|
+ bjColor: '#39D9AC',
|
|
|
+ isShow: 'mes:applyoutsource:save'
|
|
|
},
|
|
|
{
|
|
|
name: '暂停启动',
|
|
|
type: '',
|
|
|
- bjColor: '#858585'
|
|
|
+ bjColor: '#858585',
|
|
|
+ isShow: 'mes:workorder:startstop',
|
|
|
},
|
|
|
{
|
|
|
name: '产后检查',
|
|
|
type: 'postpartumExamination',
|
|
|
- bjColor: '#9955FF'
|
|
|
+ bjColor: '#9955FF',
|
|
|
+ isShow: 'mes:producetaskrulerecord:save3'
|
|
|
},
|
|
|
{
|
|
|
name: '工单交接',
|
|
|
type: '',
|
|
|
- bjColor: '#2B56C2'
|
|
|
+ bjColor: '#2B56C2',
|
|
|
+ isShow: 'mes:producetaskrulerecord:save4'
|
|
|
},
|
|
|
{
|
|
|
name: '工艺文件',
|
|
|
type: 'work',
|
|
|
- bjColor: '#2f3033'
|
|
|
+ bjColor: '#2f3033',
|
|
|
+ isShow: 'mes:workorder:bomfile',
|
|
|
},
|
|
|
{
|
|
|
name: '工步',
|
|
|
type: 'workStep',
|
|
|
- bjColor: '#409EFF'
|
|
|
+ bjColor: '#409EFF',
|
|
|
+ isShow: 'main:categoryparamstep:save',
|
|
|
},
|
|
|
{
|
|
|
name: '任务',
|
|
|
type: 'task',
|
|
|
- bjColor: '#67c23a'
|
|
|
+ bjColor: '#67c23a',
|
|
|
+ isShow: 'aps:assign:save',
|
|
|
},
|
|
|
{
|
|
|
name: '异常',
|
|
|
type: 'error',
|
|
|
- bjColor: '#cc0000'
|
|
|
+ bjColor: '#cc0000',
|
|
|
+ isShow: 'mes:anomaly:save'
|
|
|
},
|
|
|
{
|
|
|
name: 'BOM',
|
|
|
type: 'bom',
|
|
|
- bjColor: '#BB5500'
|
|
|
+ bjColor: '#BB5500',
|
|
|
+ isShow: 'mes:workorder:bom',
|
|
|
},
|
|
|
{
|
|
|
name: '设备',
|
|
|
type: 'device',
|
|
|
- bjColor: '#008866'
|
|
|
+ bjColor: '#008866',
|
|
|
+ isShow: 'mes:workorder:device',
|
|
|
},
|
|
|
{
|
|
|
name: '周转车',
|
|
|
type: 'turnover',
|
|
|
- bjColor: '#660066'
|
|
|
+ bjColor: '#660066',
|
|
|
+ isShow: 'mes:workorder:transfer',
|
|
|
}
|
|
|
// {
|
|
|
// type: 'turnover',
|
|
|
@@ -124,48 +141,57 @@
|
|
|
{
|
|
|
name: '领料',
|
|
|
type: 'pick',
|
|
|
- bjColor: '#FC1B75'
|
|
|
+ bjColor: '#FC1B75',
|
|
|
+ isShow: 'mes:workorder:save'
|
|
|
},
|
|
|
{
|
|
|
name: '投料',
|
|
|
type: 'feed',
|
|
|
- bjColor: '#FBD114'
|
|
|
+ bjColor: '#FBD114',
|
|
|
+ isShow:'mes:feed:save'
|
|
|
},
|
|
|
{
|
|
|
name: '报工',
|
|
|
type: 'job',
|
|
|
- bjColor: '#157A2C'
|
|
|
+ bjColor: '#157A2C',
|
|
|
+ isShow: 'mes:workreport:save'
|
|
|
},
|
|
|
|
|
|
{
|
|
|
name: '委外请托',
|
|
|
type: 'Outsourcing',
|
|
|
- bjColor: '#39D9AC'
|
|
|
+ bjColor: '#39D9AC',
|
|
|
+ isShow: 'mes:applyoutsource:save'
|
|
|
},
|
|
|
{
|
|
|
name: '暂停启动',
|
|
|
type: '',
|
|
|
- bjColor: '#858585'
|
|
|
+ bjColor: '#858585',
|
|
|
+ isShow: 'mes:workorder:startstop',
|
|
|
},
|
|
|
{
|
|
|
name: '工艺文件',
|
|
|
type: 'work',
|
|
|
- bjColor: '#2B56C2'
|
|
|
+ bjColor: '#2B56C2',
|
|
|
+ isShow: 'mes:workorder:bomfile',
|
|
|
},
|
|
|
{
|
|
|
name: '工步',
|
|
|
type: 'workStep',
|
|
|
- bjColor: '#409EFF'
|
|
|
+ bjColor: '#409EFF',
|
|
|
+ isShow: 'main:categoryparamstep:save',
|
|
|
},
|
|
|
{
|
|
|
name: '任务',
|
|
|
type: 'task',
|
|
|
- bjColor: '#67c23a'
|
|
|
+ bjColor: '#67c23a',
|
|
|
+ isShow: 'aps:assign:save',
|
|
|
},
|
|
|
{
|
|
|
name: '异常',
|
|
|
type: 'error',
|
|
|
- bjColor: '#cc0000'
|
|
|
+ bjColor: '#cc0000',
|
|
|
+ isShow: 'mes:anomaly:save'
|
|
|
}
|
|
|
],
|
|
|
btnList3: [
|
|
|
@@ -199,7 +225,8 @@
|
|
|
{
|
|
|
name: '报工',
|
|
|
type: 'job',
|
|
|
- bjColor: '#157A2C'
|
|
|
+ bjColor: '#157A2C',
|
|
|
+ isShow: 'mes:workreport:save'
|
|
|
},
|
|
|
|
|
|
{
|