| | |
| | | :toolbarMaxLength="4" |
| | | :paramArr="type" |
| | | ref="customerOrderTable" |
| | | :expandRowKeys="expandRowKeys" |
| | | > |
| | | <template #toolbar> |
| | | <el-dropdown |
| | |
| | | selectTime: null, |
| | | exportTime: null, |
| | | }, |
| | | expandRowKeys: [], |
| | | dataRule: { |
| | | exportTime: [ |
| | | { required: true, message: '导出日期不能为空', trigger: 'change' }, |
| | |
| | | this.getData() |
| | | }, |
| | | |
| | | getData() { |
| | | this.$refs.customerOrderTable.getDataList() |
| | | async getData() { |
| | | await this.$refs.customerOrderTable.getDataList() |
| | | this.$refs.customerOrderTable.toggleRowExpansion() |
| | | }, |
| | | // 获取数据列表去除已完成状态的 |
| | | handleDataList(command) { |
| | |
| | | this.$refs.addSampleForm.init(row ? row.contractNo : null) |
| | | }) |
| | | } |
| | | this.expandRowKeys=[row.id] |
| | | }, |
| | | // 新增样品订单 |
| | | addSampleCustomerOrder() { |