shish пре 2 година
родитељ
комит
8855faceae

+ 9 - 1
ghsPad/src/pages/home/components/toPay.vue

@@ -22,7 +22,11 @@
         </view>
 
         <uni-popup ref="cancelPayRef" type="dialog">
-            <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="【重要】请确认客户已移开付款码,询问确认没付成功,再取消!!!!" @confirm="confirmToCancel"></uni-popup-dialog>
+            <uni-popup-dialog type="info" cancelText="取消" confirmText="已提醒" title="提示" content="请提醒客户取消支付" @confirm="affirmCancel"></uni-popup-dialog>
+        </uni-popup>
+
+        <uni-popup ref="cancelPaymentRef" type="dialog">
+            <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="确认客户已取消支付???" @confirm="confirmToCancel"></uni-popup-dialog>
         </uni-popup>
 
     </view>
@@ -132,6 +136,10 @@ export default {
             let that = this
             that.$refs.cancelPayRef.open('center')
         },
+        affirmCancel(){
+            let that = this
+            that.$refs.cancelPaymentRef.open('center')
+        },
         confirmToCancel(){
             let that = this
             codePayCheck({id:this.orderId}).then(res=>{

+ 9 - 1
hdPad/src/pages/home/components/toPay.vue

@@ -22,7 +22,11 @@
         </view>
 
         <uni-popup ref="cancelPayRef" type="dialog">
-            <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="【重要】请确认客户已移开付款码,询问确认没付成功,再取消!!!!" @confirm="confirmToCancel"></uni-popup-dialog>
+            <uni-popup-dialog type="info" cancelText="取消" confirmText="已提醒" title="提示" content="请提醒客户取消支付" @confirm="affirmCancel"></uni-popup-dialog>
+        </uni-popup>
+
+        <uni-popup ref="cancelPaymentRef" type="dialog">
+            <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="确认客户已取消支付???" @confirm="confirmToCancel"></uni-popup-dialog>
         </uni-popup>
 
     </view>
@@ -130,6 +134,10 @@ export default {
             this.showSuccess = false
             this.goPay = 0
         },
+        affirmCancel(){
+            let that = this
+            that.$refs.cancelPaymentRef.open('center')
+        },
         cancelPayFn(){
             let that = this
             that.$refs.cancelPayRef.open('center')