Przeglądaj źródła

合集:开票入口控制

john 2 lat temu
rodzic
commit
f8e0ab541a
1 zmienionych plików z 10 dodań i 3 usunięć
  1. 10 3
      src/pages/parkingFee/mixins/parkingFee.js

+ 10 - 3
src/pages/parkingFee/mixins/parkingFee.js

@@ -471,10 +471,17 @@ export default {
           uni.showLoading()
           const res = await getAccessH5(`${this.mallId}-invoice`);
           if(res?.data === 1) {
-            // 提示用户
-            uni.showToast({
-              title:'尽请期待!'
+            uni.hideLoading();
+            // console.log(474, this.Dialog);
+            this.$dialog({
+              title: '温馨提示',
+              message: '小程序“停车开票”功能将从2023年8月10日起提供服务,支持开具3个月内停车记录的发票,如需停车开票,请稍后尝试或咨询服务台',
+              confirmButtonColor: this.$theme[this.theme].primaryColor
             })
+            // 提示用户
+            // uni.showToast({
+            //   title:'尽请期待!'
+            // })
             resolve(true)
           }
           resolve(false)