Commit 4dcd8d24 authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

parent 81a94654
......@@ -24,7 +24,8 @@
<wd-button type="primary" size="large" @click="handlePaySubmit" block>提交</wd-button>
</view>
</wd-form>
<wd-toast />
<wd-toast /><wd-button @click="showToast">toast</wd-button>
</view>
<view class="container notform" v-else>
<template v-for="item in results" v-if="results.length>0">
......@@ -99,7 +100,9 @@
//const normalobj={...model,pageNum:currentPage,pageSize,psnNo:'52000002000000000400011816'};
submitstr = JSON.stringify(normalobj)
}
const showToast = () => {
toast.show('提示信息')
}
const goToDetail = (info) => {
const str = JSON.stringify(info)
......@@ -142,7 +145,8 @@
psnNo.value = res.data?.biz_data?.body?.data[0]?.psnNo
console.log("goto if")
} else {
toast.warning(res.data?.biz_data?.body?.message)
setTimeout(()=>{toast.warning(res.data?.biz_data?.body?.message)},10000)
console.log("goto else")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment