|
@@ -314,7 +314,7 @@ const gclGatherModel = class {
|
|
|
* @param {Array<Object>} bills 清单数据
|
|
|
* @param {Array<Object>} pos 计量单元数据
|
|
|
*/
|
|
|
- gather(bills, pos) {
|
|
|
+ gather(bills, pos, deal) {
|
|
|
const helper = this.ctx.helper;
|
|
|
this.billsTree.loadDatas(bills);
|
|
|
this.pos.loadDatas(pos);
|
|
@@ -324,7 +324,7 @@ const gclGatherModel = class {
|
|
|
this.xmjPos = [];
|
|
|
|
|
|
this.recursiveGatherGclData(this.billsTree.children, null);
|
|
|
- this.gatherDealBillsData();
|
|
|
+ this.gatherDealBillsData(deal);
|
|
|
this.gclList.sort(function (a, b) {
|
|
|
return helper.compareCode(a.b_code, b.b_code);
|
|
|
});
|