Explorar o código

过滤条件更改

laiguoran %!s(int64=2) %!d(string=hai) anos
pai
achega
79aa8f4229
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));