소스 검색

过滤条件更改

laiguoran 2 년 전
부모
커밋
79aa8f4229
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'));