| | |
| | | required: true, |
| | | default: () => ({}), |
| | | }, |
| | | dutyId: { |
| | | type: String, |
| | | required: true, |
| | | default: '', |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | this.form.Persons = this.operationTaskList.Persons; |
| | | this.form.productStaffIds = this.operationTaskList.productStaffIds; |
| | | this.form.productStaffs = this.operationTaskList.productStaffs; |
| | | this.form.dutyRecordId = this.dutyId; |
| | | this.operationTaskList.productOutputList = []; // 创建一个空数组 |
| | | this.operationTaskList.productOutputList.push(this.form); // 向数组中添加元素 |
| | | console.log("this.operationTaskList", this.operationTaskList); |