问题修改

master
zhangdi 2 days ago
parent 87ba7cdad5
commit 72453aacca
  1. 5
      src/views/firstOrder/components/outDialog.vue

@ -922,10 +922,11 @@ export default {
(row) => { (row) => {
const deptId = row.department; const deptId = row.department;
const dept = this.list.find((item) => item.departmentId === deptId); const dept = this.list.find((item) => item.departmentId === deptId);
const oneFormId = row.id;
let select = this.materials.find( let select = this.materials.find(
(item) => item.materialId === row.materialId (item) => item.materialId === row.materialId
); );
const oneFormId = (this.sizeForm.options === 1&&this.outDialogTiltle == "编辑")? row.oneFormId:select.id;
return { return {
...row, ...row,
@ -933,7 +934,7 @@ export default {
this.sizeForm.options == "1" ? arr.departmentId : deptId, this.sizeForm.options == "1" ? arr.departmentId : deptId,
departmentName: departmentName:
this.sizeForm.options == "1" ? arr.department : dept.department, this.sizeForm.options == "1" ? arr.department : dept.department,
oneFormId: row.oneFormId, oneFormId: oneFormId,
}; };
} }
); );

Loading…
Cancel
Save