| | |
| | | // }) |
| | | // } |
| | | if (this.permissions.customerorder_submit_oa) { |
| | | // this.table.toolbar.push({ |
| | | // text: '提交审核', |
| | | // type: 'primary', |
| | | // fun: this.auditCustomerOrder, |
| | | // disabled: false, |
| | | // permitArr: [], |
| | | // loading: false |
| | | // }) |
| | | this.table.toolbar.push({ |
| | | text: '提交审核', |
| | | type: 'primary', |
| | | fun: this.auditCustomerOrder, |
| | | disabled: false, |
| | | permitArr: [], |
| | | loading: false |
| | | }) |
| | | } |
| | | if (this.permissions.customerorder_set_salesparts) { |
| | | this.table.toolbar.push({ |
| | |
| | | let flag = true |
| | | const ids = [] |
| | | this.multipleSelection.forEach((item) => { |
| | | if (item.salesPartNo != null && item.salesPartNo !== '') { |
| | | if (item.partNo != null && item.partNo !== '') { |
| | | ids.push(item.id) |
| | | } else { |
| | | flag = false |