Commit 824675b9 authored by 李苏's avatar 李苏 💬

超过100%消失bug

parent b30e6ff4
...@@ -183,6 +183,7 @@ ...@@ -183,6 +183,7 @@
return return
} }
zpfk_apizpfk(that).then(function(s){ zpfk_apizpfk(that).then(function(s){
zpfk_pdfshow(that,s)
zpfk_queryWoBomByWoid(that,s) zpfk_queryWoBomByWoid(that,s)
zpfk_apigetjs(that) zpfk_apigetjs(that)
}) })
...@@ -207,7 +208,6 @@ ...@@ -207,7 +208,6 @@
} }
/* pdfshow gxid登录页传进来 */ /* pdfshow gxid登录页传进来 */
function zpfk_pdfshow(e,woid){ function zpfk_pdfshow(e,woid){
console.log("pdf")
let that=e let that=e
let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx
if (newpdfurl!=that.pdfurl){ if (newpdfurl!=that.pdfurl){
...@@ -215,11 +215,9 @@ ...@@ -215,11 +215,9 @@
if(that.sivpdf){ if(that.sivpdf){
clearInterval(that.sivpdf) clearInterval(that.sivpdf)
} }
/*
老pdf禁用
pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => { pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => {
that.sivpdf = e that.sivpdf = e
}) */ })
} }
} }
/* 初始化表格 */ /* 初始化表格 */
...@@ -534,11 +532,10 @@ ...@@ -534,11 +532,10 @@
}, },
methods: { methods: {
scroll(){ scroll(){
console.log(urlo)
/* test */ /* test */
pdfshow(urlo,'kwrkb01pdf', 10000).then(e => { // pdfshow(urlo,'kwrkb01pdf', 10000).then(e => {
that.sivpdf = e // that.sivpdf = e
}) // })
/* test */ /* test */
pdfshow(urlt,'kwrkb01rpdf', 10000).then(e => { pdfshow(urlt,'kwrkb01rpdf', 10000).then(e => {
that.sivrpdf = e that.sivrpdf = e
......
...@@ -155,6 +155,7 @@ ...@@ -155,6 +155,7 @@
} }
jyfk_wrz(that,"正在查询序列号:"+that.xlh) jyfk_wrz(that,"正在查询序列号:"+that.xlh)
jyfk_apijyfk(that).then(function(s){ jyfk_apijyfk(that).then(function(s){
jyfk_pdfshow(that,s)
jyfk_apigetjs(that) jyfk_apigetjs(that)
}) })
} }
...@@ -183,7 +184,15 @@ ...@@ -183,7 +184,15 @@
function jyfk_pdfshow(e,woid){ function jyfk_pdfshow(e,woid){
let that=e let that=e
let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx
/* 作废 */ if (newpdfurl!=that.pdfurl){
that.pdfurl=newpdfurl
if(that.sivpdf){
clearInterval(that.sivpdf)
}
pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => {
that.sivpdf = e
})
}
} }
</script> </script>
...@@ -477,9 +486,9 @@ ...@@ -477,9 +486,9 @@
methods:{ methods:{
scroll(){ scroll(){
/* test */ /* test */
pdfshow(urlo,'gpjypdf', 10000).then(e => { // pdfshow(urlo,'gpjypdf', 10000).then(e => {
that.sivpdf = e // that.sivpdf = e
}) // })
/* test */ /* test */
pdfshow(urlt,'gpjyrpdf', 10000).then(e => { pdfshow(urlt,'gpjyrpdf', 10000).then(e => {
that.sivrpdf = e that.sivrpdf = e
......
...@@ -92,16 +92,16 @@ ...@@ -92,16 +92,16 @@
function wxfk_pdfshow(e,woid){ function wxfk_pdfshow(e,woid){
let that=e let that=e
let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx
// that.pdf="" that.pdf=""
// if (newpdfurl!=that.pdfurl){ if (newpdfurl!=that.pdfurl){
// that.pdfurl=newpdfurl that.pdfurl=newpdfurl
// if(that.sivpdf){ if(that.sivpdf){
// clearInterval(that.sivpdf) clearInterval(that.sivpdf)
// } }
// pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => { pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => {
// that.sivpdf = e that.sivpdf = e
// }) })
// } }
} }
/* 反馈技计数 */ /* 反馈技计数 */
function wxfk_apigetjs(s){ function wxfk_apigetjs(s){
...@@ -172,6 +172,7 @@ ...@@ -172,6 +172,7 @@
wxfk_wrz(that,"正在查询序列号:"+that.xlh) wxfk_wrz(that,"正在查询序列号:"+that.xlh)
wxfk_apiwxfk(that).then(function(s){ wxfk_apiwxfk(that).then(function(s){
wxfk_pdfshow(that,s)
wxfk_apigetjs(that) wxfk_apigetjs(that)
}) })
} }
...@@ -486,9 +487,9 @@ ...@@ -486,9 +487,9 @@
methods:{ methods:{
scroll(){ scroll(){
/* test */ /* test */
pdfshow(urlo,'gpwxpdf', 10000).then(e => { // pdfshow(urlo,'gpwxpdf', 10000).then(e => {
that.sivpdf = e // that.sivpdf = e
}) // })
/* test */ /* test */
pdfshow(urlt,'gpwxrpdf', 10000).then(e => { pdfshow(urlt,'gpwxrpdf', 10000).then(e => {
that.sivrpdf = e that.sivrpdf = e
......
...@@ -167,6 +167,7 @@ ...@@ -167,6 +167,7 @@
} }
jgfk_apijgfk(that).then(function(s){ jgfk_apijgfk(that).then(function(s){
jgfk_pdfshow(that,s)
jgfk_apigetjs(that) jgfk_apigetjs(that)
jgfk_queryWoBomByWoid(that,s) jgfk_queryWoBomByWoid(that,s)
}) })
...@@ -199,11 +200,9 @@ ...@@ -199,11 +200,9 @@
if(that.sivpdf){ if(that.sivpdf){
clearInterval(that.sivpdf) clearInterval(that.sivpdf)
} }
/*
老pdf禁用
pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => { pdfshow(that.pdfurl, that.pdfdom, 10000).then(e => {
that.sivpdf = e that.sivpdf = e
}) */ })
} }
} }
/* 初始化表格 */ /* 初始化表格 */
......
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