|
@@ -286,7 +286,7 @@
|
|
|
name: '首件两检',
|
|
name: '首件两检',
|
|
|
type: 'qualityInspection',
|
|
type: 'qualityInspection',
|
|
|
bjColor: '#920077',
|
|
bjColor: '#920077',
|
|
|
- isShow: 'mes:firstarticledualinspection'
|
|
|
|
|
|
|
+ isShow: 'mes:taskorder:inspection'
|
|
|
},
|
|
},
|
|
|
// {
|
|
// {
|
|
|
// name: '首件两检',
|
|
// name: '首件两检',
|
|
@@ -298,7 +298,7 @@
|
|
|
name: '报工',
|
|
name: '报工',
|
|
|
type: 'job',
|
|
type: 'job',
|
|
|
bjColor: '#157A2C',
|
|
bjColor: '#157A2C',
|
|
|
- isShow: 'mes:workreport:save'
|
|
|
|
|
|
|
+ isShow: 'mes:taskreport:save'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// {
|
|
// {
|
|
@@ -451,6 +451,9 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
updateBtnList(v) {
|
|
updateBtnList(v) {
|
|
|
|
|
+ console.log(this.activeName, 'this.activeName');
|
|
|
|
|
+ console.log(v, 'vvvv');
|
|
|
|
|
+ console.log(this.$hasPermission('mes:workreport:save'));
|
|
|
if (this.activeName == '0') {
|
|
if (this.activeName == '0') {
|
|
|
if (v == '2' || v == '3' || v == '6') {
|
|
if (v == '2' || v == '3' || v == '6') {
|
|
|
let btnList2 = this.btnList2.filter((item) => {
|
|
let btnList2 = this.btnList2.filter((item) => {
|