|
|
|
@ -81,6 +81,7 @@ import uniTh from "@/uni_modules/uni-table/components/uni-th/uni-th" |
|
|
|
import uniTd from "@/uni_modules/uni-table/components/uni-td/uni-td" |
|
|
|
import uniPagination from "@/uni_modules/uni-pagination/components/uni-pagination/uni-pagination" |
|
|
|
import whpop from '../../login/components/WhPopup' |
|
|
|
import { checkLogin } from '@/core/app' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "payment", |
|
|
|
@ -145,6 +146,13 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
// 判断是否已登录 |
|
|
|
if(!checkLogin()){ |
|
|
|
this.$toast('登录失效了,请重新登录系统') |
|
|
|
setTimeout(this.jumpLogin,2000) |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
this.selectedIndexs = [] |
|
|
|
this.batchcode = options.batchcode |
|
|
|
@ -152,6 +160,9 @@ export default { |
|
|
|
this.getTableList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
jumpLogin() { |
|
|
|
this.$navTo('pages/login/index') |
|
|
|
}, |
|
|
|
// 切换支付类型 |
|
|
|
changePayType(val) { |
|
|
|
this.payType = val |
|
|
|
|