| | |
| | | > |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <el-button |
| | | <!-- <el-button |
| | | v-if="permissions.masterproductionschedule_submit_oa" |
| | | @click="commitOa()" |
| | | type="primary" |
| | | style="margin-left:10px;" |
| | | :loading="loadingOa" |
| | | >提交OA |
| | | </el-button> |
| | | </el-button> --> |
| | | <!-- <el-button |
| | | v-if="permissions.masterproductionschedule_sync_scm" |
| | | @click="syncScm()" |
| | |
| | | }) |
| | | } |
| | | if (this.permissions.masterproductionschedule_create_outsourcing) { |
| | | this.table.toolbar.push({ |
| | | text: '创建委外订单', |
| | | fun: this.createOutsourcingOrder |
| | | }) |
| | | // this.table.toolbar.push({ |
| | | // text: '创建委外订单', |
| | | // fun: this.createOutsourcingOrder |
| | | // }) |
| | | } |
| | | if (this.permissions.masterproductionschedule_create_order_manual) { |
| | | this.orderTypeArr.push({ |
| | | label: '手动新增', |
| | | command: 'MANUAL', |
| | | disabled: false, |
| | | permitArr: ['02processed'] |
| | | }) |
| | | // this.orderTypeArr.push({ |
| | | // label: '手动新增', |
| | | // command: 'MANUAL', |
| | | // disabled: false, |
| | | // permitArr: ['02processed'] |
| | | // }) |
| | | } |
| | | if (this.permissions.masterproductionschedule_create_order_auto) { |
| | | this.orderTypeArr.push({ |