优化sql

This commit is contained in:
think 2025-02-19 10:47:08 +08:00
parent aef91a2825
commit b447b78104

View File

@ -776,6 +776,34 @@ watch(
}
);
watches.push(unwatchDeviceModel);
//
const unwatchStartTime = watch(
() => detail.deviceModel,
(newStartTime) => {
console.log(`${index + 1} 行的预计开始时间变化为: ${newStartTime}`);
console.log("detail==", detail);
if (detail.startTime) {
//
detail.dispatchTypes = "ASSEMBLE";
openDialogWT(detail);
}
}
);
watches.push(unwatchStartTime);
//
const unwatchEndTime = watch(
() => detail.deviceModel,
(newEndTime) => {
console.log(`${index + 1} 行的预计结束时间变化为: ${newEndTime}`);
console.log("detail==", detail);
if (detail.startTime) {
//
detail.dispatchTypes = "ASSEMBLE";
openDialogWT(detail);
}
}
);
watches.push(unwatchEndTime);
});
}, {
deep: true