src/views/productionManagement/productionReporting/components/formDia.vue
@@ -42,6 +42,9 @@ v-model="form.schedulingUserId" placeholder="选择人员" style="width: 100%;" filterable default-first-option :reserve-keyword="false" > <el-option v-for="user in userList" @@ -110,6 +113,10 @@ userList.value = res.data; }); form.value = {...row} // 优先使用选中数据的productionUserId作为生产人 if (row?.productionUserId) { form.value.schedulingUserId = row.productionUserId; } } const changeNum = (value) => {