画面调整,厂商后台调用 up by dh

This commit is contained in:
duhe
2025-03-03 17:34:00 +08:00
parent f3d71f95e7
commit 313041483b
8 changed files with 196 additions and 101 deletions

View File

@@ -661,7 +661,7 @@ function openAddMedicine() {
}
/** 打开编辑弹窗 */
function openEditMedicine(row) {
currentData.value = row;
currentData.value = JSON.parse(JSON.stringify(row));
console.log(currentData.value, "currentData");
// 确保子组件已经接收到最新的 props
nextTick(() => {
@@ -691,7 +691,7 @@ function handleAdd() {
function handleUpdate(row) {
reset();
console.log(row, "row");
form.value = row;
form.value = JSON.parse(JSON.stringify(row));
open.value = true;
title.value = "病种编辑";
}