MaiXinRong 2 سال پیش
والد
کامیت
2119c0663e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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');