|
@@ -618,8 +618,8 @@ class checkData {
|
|
|
const posRange = this.checkPos.getLedgerPos(bills.id);
|
|
|
if (posRange && posRange.length > 0) {
|
|
|
for (const p of posRange) {
|
|
|
- const posCheckInfo = _.assign({}, checkInfo);
|
|
|
- for (const ct of option.checkType) {
|
|
|
+ const posCheckInfo = this.ctx.helper._.assign({}, checkInfo);
|
|
|
+ for (const ct of checkType) {
|
|
|
if (p[ct + '_limit'] >= 0) {
|
|
|
posCheckInfo[ct + '_limit'] = p[ct + '_limit'];
|
|
|
posCheckInfo[ct + '_ratio'] = p[ct + '_ratio'];
|