| | |
| | | </el-dropdown-menu> |
| | | </el-dropdown> --> |
| | | <!--审核状态改变--> |
| | | <el-dropdown |
| | | <!-- <el-dropdown |
| | | v-if="permissions.masterproductionschedule_audit_change" |
| | | @command="handleCommitCommand" |
| | | style="margin-left: 10px" |
| | |
| | | >{{ item.label }}</el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | </el-dropdown> --> |
| | | <!-- <el-button |
| | | v-if="permissions.masterproductionschedule_submit_oa" |
| | | @click="commitOa()" |
| | |
| | | label: '标记已完成', |
| | | command: 'COMPLETED', |
| | | disabled: false, |
| | | permitArr: ['04completed'] |
| | | permitArr: ['04completed','02processed'] |
| | | } |
| | | ], |
| | | documentTagArr: [ |
| | |
| | | label: '自动新增', |
| | | command: 'AUTO', |
| | | disabled: false, |
| | | permitArr: ['01pending'] |
| | | permitArr: ['01pending','04completed'] |
| | | }) |
| | | } |
| | | this.getSysParam(sysParam.IS_REPORT_OPERATION) |
| | |
| | | this.stateTagArr[i].disabled = true |
| | | } |
| | | } |
| | | for (var i = 0; i < this.stateTagArr.length; i++) { |
| | | if ( |
| | | uniqueStateArr.every((val) => |
| | | this.orderTypeArr[i].permitArr.length <= 0 |
| | | ? true |
| | | : this.orderTypeArr[i].permitArr.includes(val) |
| | | ) |
| | | ) { |
| | | this.orderTypeArr[i].disabled = false |
| | | } else { |
| | | this.orderTypeArr[i].disabled = true |
| | | } |
| | | } |
| | | this.masterPlanSelection = val |
| | | }, |
| | | // 查看库存 |