ソースを参照

去掉乐团报名订单类型的继续支付

lex 1 年間 前
コミット
89ab788b03
1 ファイル変更15 行追加13 行削除
  1. 15 13
      src/student/trade-record/component/wait-pay.tsx

+ 15 - 13
src/student/trade-record/component/wait-pay.tsx

@@ -260,19 +260,21 @@ export default defineComponent({
                             >
                               取消订单
                             </Button>
-                            <Button
-                              plain
-                              round
-                              size="small"
-                              type="primary"
-                              class={styles.smallBtn}
-                              onClick={(e: any) => {
-                                e.stopPropagation()
-                                onConfirmOrder(item)
-                              }}
-                            >
-                              继续支付
-                            </Button>
+                            {item.orderType !== 'ORCHESTRA' && (
+                              <Button
+                                plain
+                                round
+                                size="small"
+                                type="primary"
+                                class={styles.smallBtn}
+                                onClick={(e: any) => {
+                                  e.stopPropagation()
+                                  onConfirmOrder(item)
+                                }}
+                              >
+                                继续支付
+                              </Button>
+                            )}
                           </div>
                         )
                       }}