[Backend]後臺設備管理燈號設定邏輯調整
This commit is contained in:
parent
d0c5d8a1b9
commit
c2cb089d61
@ -2951,9 +2951,14 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if ($("#device_normal_point_value_modal").val() == $("#device_close_point_value_modal").val()) {
|
||||
toast_warning("點位值設定重複,請修改");
|
||||
return;
|
||||
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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user