MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
2119c0663e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/js/revise_price.js

+ 1 - 1
app/public/js/revise_price.js

@@ -944,7 +944,7 @@ $(document).ready(() => {
                     const exist = c.bills.find(x => {
                         return x.code === price.b_code && x.name === price.name && x.unit === price.unit && x.unit_price === price.org_price;
                     });
-                    c.visible = !exist;
+                    c.visible = !!exist;
                 }
             }
             $('#choose-rela-change').modal('show');