|
@@ -150,7 +150,9 @@ $(document).ready(() => {
|
|
// 解析清单汇总数据
|
|
// 解析清单汇总数据
|
|
gclGatherModel.loadLedgerData(ledger, curLedgerData);
|
|
gclGatherModel.loadLedgerData(ledger, curLedgerData);
|
|
gclGatherModel.loadPosData(pos, curPosData);
|
|
gclGatherModel.loadPosData(pos, curPosData);
|
|
- gclGatherData = gclGatherModel.gatherGclData();
|
|
|
|
|
|
+ gclGatherData = gclGatherModel.gatherGclData().filter(function (item) {
|
|
|
|
+ return item.unit || item.unit_price || item.quantity;
|
|
|
|
+ });
|
|
console.log(gclGatherData);
|
|
console.log(gclGatherData);
|
|
const hadBillsidList = _.uniq(_.map(gclList, 'gcl_id'));
|
|
const hadBillsidList = _.uniq(_.map(gclList, 'gcl_id'));
|
|
console.log(hadBillsidList, materialChecklistData);
|
|
console.log(hadBillsidList, materialChecklistData);
|