王志国
4 weeks ago
11 changed files with 3121 additions and 3046 deletions
@ -1,2 +1,9 @@ |
|||
export const overPagePrint="overPage_print" |
|||
export const overPageTemplate="overPage_Template" |
|||
export const overPageTemplate="overPage_Template" |
|||
//3分钟刷新
|
|||
export const planRefreshTime=3*60*1000 |
|||
|
|||
export const issueJobFilter="issue_job_filter" |
|||
export const repleinshJobFilter="repleinsh_job_filter" |
|||
export const overPackageJobFilter="over_package_job_filter" |
|||
export const productionReceiptJobFilter="production_receipt_job_filter" |
@ -0,0 +1,44 @@ |
|||
// 防止处理多次点击
|
|||
function noMultipleClicks(methods, info) { |
|||
// methods是需要点击后需要执行的函数, info是点击需要传的参数
|
|||
let that = this; |
|||
if (that.noClick) { |
|||
// 第一次点击
|
|||
that.noClick= false; |
|||
if(info && info !== '') { |
|||
// info是执行函数需要传的参数
|
|||
methods(info); |
|||
} else { |
|||
methods(); |
|||
} |
|||
let timer = setTimeout(()=> { |
|||
that.noClick= true; |
|||
clearTimeout(timer) |
|||
}, 2000) |
|||
} else { |
|||
// 这里是重复点击的判断
|
|||
} |
|||
} |
|||
|
|||
|
|||
// 节流函数
|
|||
const throttle = (fn, t,_this) => { |
|||
console.log('throttle') |
|||
return ()=> { |
|||
if (!_this.timer) { |
|||
_this.timer = setTimeout(()=>{ |
|||
console.log('fn') |
|||
//·清空定时器
|
|||
_this.timer = null |
|||
}, t) |
|||
fn() |
|||
} |
|||
} |
|||
} |
|||
|
|||
|
|||
//导出
|
|||
export default { |
|||
noMultipleClicks,//禁止多次点击
|
|||
throttle |
|||
} |
File diff suppressed because it is too large
@ -1,84 +1,95 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
|
|||
|
|||
}); |
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 14px; |
|||
display: flex; |
|||
margin-top: 60px; |
|||
}); |
|||
|
|||
} |
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 14px; |
|||
display: flex; |
|||
margin-top: 60px; |
|||
|
|||
.left { |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
flex: 1; |
|||
} |
|||
} |
|||
|
|||
.left-item { |
|||
display: flex; |
|||
} |
|||
.bold-font{ |
|||
font-weight: bold; |
|||
font-size: 28rpx; |
|||
} |
|||
.label { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
width: 60px; |
|||
padding: 0px 5px; |
|||
height: 58px; |
|||
line-height: 58px; |
|||
} |
|||
.left { |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
flex: 1; |
|||
} |
|||
|
|||
.value { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
padding: 0px 5px; |
|||
height: 58px; |
|||
flex: 1; |
|||
width: 0px; |
|||
display: flex; |
|||
align-items: center; |
|||
word-break: break-all; |
|||
} |
|||
.left-item { |
|||
display: flex; |
|||
} |
|||
|
|||
.right { |
|||
width: 300px; |
|||
} |
|||
.bold-font { |
|||
font-weight: bold; |
|||
} |
|||
.font-30 { |
|||
font-size: 30px; |
|||
} |
|||
.font-20 { |
|||
font-size: 20px; |
|||
} |
|||
.bold-label { |
|||
font-weight: bold; |
|||
font-size: 15px; |
|||
} |
|||
|
|||
.image { |
|||
.label { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
width: 60px; |
|||
padding: 0px 5px; |
|||
height: 49px; |
|||
line-height: 49px; |
|||
} |
|||
|
|||
width: calc(100% - 1px); |
|||
height: 176px; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.value { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
padding: 0px 5px; |
|||
height: 49px; |
|||
flex: 1; |
|||
width: 0px; |
|||
display: flex; |
|||
align-items: center; |
|||
word-break: break-all; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.image img { |
|||
width: 172px; |
|||
height: 172px; |
|||
border: 1px solid #b1b1b1; |
|||
/* width: calc(100% - 4px); |
|||
height: calc(100% - 4px); */ |
|||
margin: 1px; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
.right { |
|||
width: 300px; |
|||
} |
|||
|
|||
.image { |
|||
width: calc(100% - 1px); |
|||
height: 149px; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.image img { |
|||
width: 147px; |
|||
height: 147px; |
|||
border: 1px solid #b1b1b1; |
|||
/* width: calc(100% - 4px); |
|||
height: calc(100% - 4px); */ |
|||
margin: 1px; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
</html> |
@ -1,131 +1,67 @@ |
|||
<!-- 采购收货指引单 --> |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
|
|||
|
|||
}); |
|||
|
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 14px; |
|||
border: 1px solid #dedede; |
|||
}); |
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 13px; |
|||
/* padding: 10px; */ |
|||
/* border: 1px solid #dedede; */ |
|||
} |
|||
|
|||
} |
|||
|
|||
.left { |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
flex: 1; |
|||
} |
|||
.left { |
|||
flex: 1; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
} |
|||
.left-item { |
|||
display: flex; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.left-item { |
|||
display: flex; |
|||
} |
|||
.left-item div{ |
|||
padding: 10px 10px; |
|||
font-size: 16px; |
|||
} |
|||
.left-item .label{ |
|||
width: 100px; |
|||
padding: 10px 10px; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.label { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
width: 60px; |
|||
padding: 0px 5px; |
|||
height: 67px; |
|||
line-height: 67px; |
|||
} |
|||
.relative { |
|||
margin-bottom: 10px; |
|||
position: relative; |
|||
} |
|||
|
|||
.value { |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
padding: 0px 5px; |
|||
height: 67px; |
|||
flex: 1; |
|||
width: 0px; |
|||
display: flex; |
|||
align-items: center; |
|||
word-wrap: break-word; |
|||
} |
|||
|
|||
.right { |
|||
width: 200px; |
|||
} |
|||
|
|||
.image { |
|||
width: 100%; |
|||
height: 202px; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.image img { |
|||
width: calc(100% - 4px); |
|||
height: calc(100% - 4px); |
|||
margin: 2px; |
|||
} |
|||
.mb-kw { |
|||
border-bottom: 1px solid #dedede; |
|||
padding: 10px; |
|||
font-size: 15px; |
|||
|
|||
} |
|||
|
|||
.mb-kw div { |
|||
font-weight: bold; |
|||
font-size: 23px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.mb-bo { |
|||
display: flex; |
|||
} |
|||
|
|||
.mb-bo .mb-left { |
|||
flex: 1 |
|||
} |
|||
|
|||
.mb-bo .mb-left .mb-text { |
|||
padding: 10px; |
|||
} |
|||
|
|||
.mb-bo .mb-left .mb-text:nth-child(1) { |
|||
border-bottom: 1px solid #dedede; |
|||
} |
|||
|
|||
.mb-bo .mb-left .mb-text div { |
|||
font-weight: bold; |
|||
font-size: 16px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.mb-bo .mb-right { |
|||
padding: 10px; |
|||
width: 230px; |
|||
border-left: 1px solid #dedede; |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
|
|||
.mb-bo .mb-right .mb-text { |
|||
|
|||
width: 100%; |
|||
} |
|||
|
|||
.mb-bo .mb-right .mb-text div { |
|||
font-weight: bold; |
|||
font-size: 20px; |
|||
text-align: center; |
|||
width: 100%; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
.q { |
|||
position: absolute; |
|||
font-size: 15rem; |
|||
color: rgba(0, 0, 0, 0.1); |
|||
width: calc(100% - 100px); |
|||
right: 0px; |
|||
top: 0px; |
|||
text-align: center; |
|||
height: 100%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
</html> |
@ -1,67 +1,67 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
|||
<title></title> |
|||
<script src="../../api/img-to-base64.js"></script> |
|||
<script type="text/javascript"> |
|||
document.addEventListener('plusready', function() { |
|||
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。") |
|||
|
|||
|
|||
}); |
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 13px; |
|||
/* padding: 10px; */ |
|||
/* border: 1px solid #dedede; */ |
|||
} |
|||
}); |
|||
</script> |
|||
<style> |
|||
.box { |
|||
font-size: 13px; |
|||
/* padding: 10px; */ |
|||
/* border: 1px solid #dedede; */ |
|||
} |
|||
|
|||
|
|||
.left { |
|||
flex: 1; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
} |
|||
.left-item { |
|||
display: flex; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.left-item div{ |
|||
padding: 10px 10px; |
|||
font-size: 16px; |
|||
} |
|||
.left-item .label{ |
|||
width: 100px; |
|||
padding: 10px 10px; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.relative { |
|||
margin-bottom: 10px; |
|||
position: relative; |
|||
} |
|||
|
|||
.q { |
|||
position: absolute; |
|||
font-size: 15rem; |
|||
color: rgba(0, 0, 0, 0.1); |
|||
width: calc(100% - 100px); |
|||
right: 0px; |
|||
top: 0px; |
|||
text-align: center; |
|||
height: 100%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
|
|||
.left { |
|||
flex: 1; |
|||
border-bottom: 1px solid #b1b1b1; |
|||
} |
|||
.left-item { |
|||
display: flex; |
|||
border-top: 1px solid #b1b1b1; |
|||
border-left: 1px solid #b1b1b1; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.left-item div{ |
|||
padding: 10px 10px; |
|||
font-size: 16px; |
|||
} |
|||
.left-item .label{ |
|||
width: 100px; |
|||
padding: 10px 10px; |
|||
border-right: 1px solid #b1b1b1; |
|||
} |
|||
|
|||
.relative { |
|||
margin-bottom: 10px; |
|||
position: relative; |
|||
} |
|||
|
|||
.q { |
|||
position: absolute; |
|||
font-size: 15rem; |
|||
color: rgba(0, 0, 0, 0.1); |
|||
width: calc(100% - 100px); |
|||
right: 0px; |
|||
top: 0px; |
|||
text-align: center; |
|||
height: 100%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
mainBody |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue