|
@@ -4177,7 +4177,10 @@ $(document).ready(() => {
|
|
|
key: 'less', title: '漏计', valid: true,
|
|
|
check: function (node) {
|
|
|
if (node.quantity) {
|
|
|
- return ZhCalc.sub(ZhCalc.add(node.quantity, node.end_qc_qty), node.end_gather_qty) > 0;
|
|
|
+ if (node.b_code === '204-1-g') {
|
|
|
+ console.log(ZhCalc.sub(ZhCalc.sum([node.quantity, node.end_qc_qty, node.end_qc_minus_qty]), node.end_gather_qty));
|
|
|
+ }
|
|
|
+ return ZhCalc.sub(ZhCalc.sum([node.quantity, node.end_qc_qty, node.end_qc_minus_qty]), node.end_gather_qty) > 0;
|
|
|
} else if (node.total_price) {
|
|
|
return ZhCalc.sub(ZhCalc.add(node.total_price, node.end_qc_tp), node.end_gather_tp) > 0;
|
|
|
}
|