瀏覽代碼

过滤条件更改

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'));