Browse Source

发票号为空时清空发票

hurugang 5 years ago
parent
commit
d35732b337
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/resources/static/js/charge_list.js

+ 2 - 0
src/main/resources/static/js/charge_list.js

@@ -429,6 +429,8 @@ function formatMx(res) {
         $("#fymx_table_body").html(html);
         if (res.mzReceiptSerial!= undefined && res.mzReceiptSerial != null) {
             $("#receipt_no").html(res.mzReceiptSerial.receiptBill);
+        }else {
+            $("#receipt_no").html("");
         }
         $("#opId_print").html(res.user.userName);
         $("#total_count").html(res.totalPriceCount.toFixed(2));