Commit cccf8016 authored by guozhiwei's avatar guozhiwei

fix: H5收银台判断享花卡额度

parent 2721879d
...@@ -440,7 +440,13 @@ export default { ...@@ -440,7 +440,13 @@ export default {
} }
this.error = ''; this.error = '';
this.setAmount(); this.setAmount();
if (!params && !this.isDetention && IS_THIRD_PAY(this.payType) && !isOcr) { if (
!params &&
!this.isDetention &&
IS_THIRD_PAY(this.payType) &&
!isOcr &&
+this.displayInfo.creditPayInfo.canAmt >= +this.displayInfo.orderAmt
) {
this.isDetention = true; this.isDetention = true;
isDetentionFn.call(this); isDetentionFn.call(this);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment