| | |
| | | </el-button> |
| | | <el-dropdown-menu slot="dropdown"> |
| | | <el-dropdown-item |
| | | :key="item" |
| | | :key="index" |
| | | :command="item.command" |
| | | v-for="item in taskTypeArr" |
| | | v-for="(item,index) in taskTypeArr" |
| | | :disabled="canCreateTask" |
| | | >{{ item.label }}</el-dropdown-item |
| | | > |
| | |
| | | </el-button> |
| | | <el-dropdown-menu slot="dropdown"> |
| | | <el-dropdown-item |
| | | :key="item" |
| | | :key="index" |
| | | :command="item.command" |
| | | v-for="item in stateTagArr" |
| | | v-for="(item,index) in stateTagArr" |
| | | :disabled="item.disabled" |
| | | >{{ item.label }}</el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | |
| | | <el-dropdown |
| | | <!-- <el-dropdown |
| | | v-if="permissions.manufacturingorder_issue_material" |
| | | @command="issueMaterialHandleCommand" |
| | | style="margin-left:10px;" |
| | | > |
| | | > --> |
| | | <!-- <el-button> |
| | | 发料<i class="el-icon-arrow-down el-icon--right"></i> |
| | | </el-button> --> |
| | |
| | | >{{ item.label }}</el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> --> |
| | | </el-dropdown> |
| | | <!-- </el-dropdown> --> |
| | | <!-- <el-button |
| | | v-if="permissions.manufacturingorder_orderto_ifs" |
| | | @click="commitOrderIfs()" |
| | |
| | | sort: true, |
| | | isTrue: true, |
| | | formatter: this.formatState, |
| | | propVal: '01planned', |
| | | // propVal: '01planned', |
| | | isSearch: true, |
| | | searchInfoType: 'select', |
| | | optList: () => { |
| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'outerColor', |
| | | // label: '外护颜色', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | |
| | | { |
| | | minWidth: '120', |
| | | prop: 'outerColor', |
| | | label: '外护颜色', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | |
| | | { |
| | | minWidth: '120', |
| | | prop: 'insulationColor', |
| | | label: '绝缘颜色', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'insulationColor', |
| | | // label: '绝缘颜色', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'qtyRequired', |
| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'oriIfsOrderNo', |
| | | label: '原IFS订单号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'ifsOrderNo', |
| | | label: 'IFS订单号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'ifsReleaseNo', |
| | | label: 'IFS下达号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'ifsSequenceNo', |
| | | label: 'IFS序列号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '100', |
| | | // prop: 'oriIfsOrderNo', |
| | | // label: '原IFS订单号', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // { |
| | | // minWidth: '100', |
| | | // prop: 'ifsOrderNo', |
| | | // label: 'IFS订单号', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // { |
| | | // minWidth: '100', |
| | | // prop: 'ifsReleaseNo', |
| | | // label: 'IFS下达号', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // { |
| | | // minWidth: '100', |
| | | // prop: 'ifsSequenceNo', |
| | | // label: 'IFS序列号', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | { |
| | | minWidth: '100', |
| | | prop: 'qtyApply', |
| | |
| | | minWidth: '140', |
| | | width: '120', |
| | | prop: 'endDate', |
| | | label: '到期日', |
| | | label: '到期时间', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | |
| | | }, |
| | | initQueryParams() { |
| | | const queryParam = [] |
| | | queryParam.push( |
| | | Object.assign({ |
| | | prop: 'state', |
| | | searchInfoType: 'select', |
| | | propVal: '01planned' |
| | | }) |
| | | ) |
| | | // queryParam.push( |
| | | // Object.assign({ |
| | | // prop: 'state', |
| | | // searchInfoType: 'select', |
| | | // propVal: '01planned' |
| | | // }) |
| | | // ) |
| | | this.$refs.manufacturingOrderTable.setQueryParam(queryParam) |
| | | this.getData() |
| | | }, |