|
@@ -34,7 +34,6 @@ class ChangeAnalysis {
|
|
|
change.filterBills = false;
|
|
|
change.attachments = change.detail.attachments;
|
|
|
change.bills = change.detail.bills;
|
|
|
- //change.bills = change.detail.addUsedBills;
|
|
|
for (const b of change.bills) {
|
|
|
const aub = change.detail.addUsedBills.find(function (x) {
|
|
|
return x.id = b.id;
|
|
@@ -194,7 +193,7 @@ $(document).ready(() => {
|
|
|
filterUsedBills: function (isFilter) {
|
|
|
const bills = SpreadJsObj.getSortData(billsSpread.getActiveSheet());
|
|
|
for (const b of bills) {
|
|
|
- b.visible = !isFilter ||(b.cur_qty && !checkZero(b.cur_qty));
|
|
|
+ b.visible = !isFilter ||(!checkZero(b.cur_qty));
|
|
|
}
|
|
|
SpreadJsObj.refreshTreeRowVisible(billsSpread.getActiveSheet());
|
|
|
}
|