Browse Source

合同支付,公式相关

MaiXinRong 1 year ago
parent
commit
bba129dff2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/public/js/stage_pay.js

+ 3 - 3
app/public/js/stage_pay.js

@@ -417,10 +417,10 @@ $(document).ready(() => {
             }
             if (param.length === 0) return true;
             if (param.length > 1) {
-                if (param[0].value === '-') {
-                    param[1].value = '-' + param[1];
+                if (param[0].value === '-' && param[1].type === 'num') {
+                    param[1].value = '-' + param[1].value;
+                    param.shift();
                 }
-                param.unshift();
             }
             const iLen = param.length;
             let iLeftCount = 0, iRightCount = 0;