Browse Source

调整默认支付方式

hurugang 2 years ago
parent
commit
55c293ebed

+ 1 - 1
src/main/resources/static/js/mz/registration.js

@@ -664,7 +664,7 @@ function initChequeType(payType) {
             if (res.data.length == 1) {
                 $('#' + payType).selectpicker('val', 'Y');
             } else {
-                $('#' + payType).selectpicker('val', 1);
+                $('#' + payType).selectpicker('val', 'O');
             }
             $('#' + payType).selectpicker('refresh');
         }

+ 2 - 2
src/main/resources/static/js/mz/toll_administration.js

@@ -951,7 +951,7 @@ function confirmFeeModal(times, totalCharge, receiptNo) {
     if (payTypeList.length == 1) {
         $('#payType').selectpicker('val', 'Y');
     } else {
-        $('#payType').selectpicker('val', 1);
+        $('#payType').selectpicker('val', 'O');
     }
     $("#changeAmount").val(0.0);
     $("#surplusAmount").val(0.0);
@@ -1051,7 +1051,7 @@ function initChequeType(payType) {
             if (res.data.length == 1) {
                 $('#' + payType).selectpicker('val', 'Y');
             } else {
-                $('#' + payType).selectpicker('val', 1);
+                $('#' + payType).selectpicker('val', 'O');
             }
             $('#' + payType).selectpicker('refresh');
         }

+ 1 - 1
src/main/resources/static/js/zy/accepting.js

@@ -114,7 +114,7 @@ function initChequeType() {
             $('#depoType').empty();
             $('#depoType').html(html);
             $('#depoType').selectpicker('refresh');
-            $('#depoType').selectpicker('val', 'A');
+            $('#depoType').selectpicker('val', 'O');
             $('#depoType').selectpicker('refresh');
             // $('#refundDepoType').empty();
             // $('#refundDepoType').html(html);