[Backend]後臺設備管理燈號設定邏輯調整

This commit is contained in:
張家睿 2024-09-23 16:36:02 +08:00
parent d0c5d8a1b9
commit c2cb089d61

View File

@ -2951,10 +2951,15 @@
return;
}
if ($("#device_normal_point_value_modal").val() == $("#device_close_point_value_modal").val()) {
var normalValue = $("#device_normal_point_value_modal").val();
var closeValue = $("#device_close_point_value_modal").val();
if (normalValue != "" && closeValue != "" && normalValue != null && closeValue != null) {
if (normalValue == closeValue) {
toast_warning("點位值設定重複,請修改");
return;
}
}
if ($("#device-kind-form").valid()) {