Browse Source

合同支付,本期实付,输入数字问题

MaiXinRong 4 years atrás
parent
commit
775f0d3c1f
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/public/js/stage_pay.js

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

@@ -470,14 +470,12 @@ $(document).ready(() => {
             if (text) {
                 const num = _.toNumber(text);
                 if (num) {
-                    data.tp = num;
-                    data.expr = null;
+                    data.expr = num;
                 } else {
                     const expr = $.trim(text).replace('\t', '').replace('=', '').toLowerCase();
                     const [valid, msg] = this._checkExprValid(expr);
                     if (!valid) return [valid, msg];
                     data.expr = expr;
-                    data.tp = null;
                 }
             } else {
                 data.tp = null;