Commit df74e8ff authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

parent ef2aba6d
...@@ -136,10 +136,13 @@ ...@@ -136,10 +136,13 @@
"url": "/engine/rest/queryPsnInsuByCertnoB" "url": "/engine/rest/queryPsnInsuByCertnoB"
}, },
success: (res) => { success: (res) => {
console.log(res?.data);
if (res.data?.biz_data?.body?.code == 0) { if (res.data?.biz_data?.body?.code == 0) {
psnNo.value = res.data?.biz_data?.body?.data[0]?.psnNo psnNo.value = res.data?.biz_data?.body?.data[0]?.psnNo
console.log("goto if")
} else { } else {
toast.warning(res.data?.biz_data?.body?.message) toast.warning(res.data?.biz_data?.body?.message)
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