Quellcode durchsuchen

过滤条件更改

laiguoran vor 2 Jahren
Ursprung
Commit
79aa8f4229
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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'));