|
|
- if (b.used_qty > b.qty) error.push({ b_code: b.code, name: b.name, errorType: 'change_over', memo: c.code, lid: b.lid });
|
|
|
+ if (Math.abs(b.used_qty) > Math.abs(b.qty)) error.push({ b_code: b.code, name: b.name, errorType: 'change_over', memo: c.code, lid: b.lid });
|