Explorar o código

单价调整,颜色调整

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
5d5c89dcde
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

@@ -85,7 +85,7 @@ $(document).ready(() => {
             const samePrice = sheet.zh_data.find(x => {
                 return x.b_code === data.b_code && x.name === data.name && x.unit === data.unit && x.org_price === data.org_price;
             });
-            return samePrice ? '#f5deb3' : defaultColor;
+            return samePrice ? defaultColor : '#f5deb3';
         }
     };
     const priceBwSpreadSetting = {