Procházet zdrojové kódy

过滤条件更改

laiguoran před 2 roky
rodič
revize
79aa8f4229
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/public/js/material_checklist.js

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

@@ -151,7 +151,7 @@ $(document).ready(() => {
         gclGatherModel.loadLedgerData(ledger, curLedgerData);
         gclGatherModel.loadPosData(pos, curPosData);
         gclGatherData = gclGatherModel.gatherGclData().filter(function (item) {
-            return item.unit || item.unit_price || item.quantity;
+            return item.unit_price || item.quantity;
         });
         console.log(gclGatherData);
         const hadBillsidList = _.uniq(_.map(gclList, 'gcl_id'));