zouyu
2023-12-21 a48ded866d223f581944ea9043df1b296b3425e3
src/views/plan/operationtask/index.vue
@@ -43,7 +43,9 @@
          >
            货盘运输
          </el-button>
          <el-button style="margin-left:10px" @click="openTaskOrder">
          <el-button
          v-if="permissions.operationTask_operationtask_priority"
          style="margin-left:10px" @click="openTaskOrder">
            优先级
          </el-button>
        </template>
@@ -352,7 +354,7 @@
            isSearch: true,
            searchInfoType: 'text'
          },
          {
          /* {
            minWidth: '120',
            prop: 'splannedQuantity',
            label: '计划数量2',
@@ -369,7 +371,7 @@
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          }, */
          {
            minWidth: '120',
            prop: 'completedQuantity',
@@ -379,7 +381,7 @@
            isSearch: true,
            searchInfoType: 'text'
          },
          {
          /* {
            minWidth: '120',
            prop: 'discNum',
            label: '盘数',
@@ -387,8 +389,8 @@
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          {
          }, */
          /* {
            minWidth: '120',
            prop: 'reelSpec',
            label: '载具规格',
@@ -396,7 +398,7 @@
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          }, */
          {
            width: '130',
            prop: 'ratio',
@@ -476,15 +478,7 @@
          }
        ],
        toolbar: [],
        operator: [
          {
            text: '删除',
            icon: 'el-icon-delete',
            type: 'text',
            size: 'small',
            fun: this.deleteHandle
          }
        ],
        operator: null,
        operatorConfig: {
          fixed: 'right',
          label: '操作',
@@ -539,6 +533,17 @@
    taskOrderDialog
  },
  created() {
    if(this.permissions.operationTask_operationtask_del){
      this.table.operator = [
          {
            text: '删除',
            icon: 'el-icon-delete',
            type: 'text',
            size: 'small',
            fun: this.deleteHandle
          }
        ]
    }
    this.getManufactureAttrs()
  },
  mounted() {