| | |
| | | partcode: '', |
| | | routecode: '', |
| | | stepcode: '', |
| | | steptype: '', |
| | | page: 1, |
| | | rows: 10, |
| | | prop: 'eqpcode', |
| | |
| | | }, |
| | | async getEqpTable(val) { |
| | | if (typeof val === 'string') { |
| | | this.eqpTable.steptype = this.stepDialogArr.find(item => item.name === val).flag |
| | | this.eqpTable.partcode = this.dialogForm.partcode |
| | | this.eqpTable.routecode = this.dialogForm.routecode |
| | | this.eqpTable.stepcode = this.stepDialogArr.find(item => item.name === val).code |
| | | // } else if (typeof val === 'number') { |
| | | } else { |
| | | this.eqpTable.steptype = this.stepDialogArr[0].flag |
| | | this.eqpTable.partcode = this.dialogForm.partcode |
| | | this.eqpTable.routecode = this.dialogForm.routecode |
| | | this.eqpTable.stepcode = this.stepDialogArr[0].code |