|
|
|
@ -309,7 +309,7 @@ function SRCSet() { |
|
|
|
|
let oldtime = parseInt(checkSourcetime.split('|')[0]); |
|
|
|
|
let h = checkSourcetime=="0"?0:parseInt(checkSourcetime.split('|')[1]); |
|
|
|
|
if (nowtime < (oldtime+h*60*60*1000)) { |
|
|
|
|
return "toast://下次允许批量较验时间:" + $.dateFormat(oldtime+h*60*60*1000, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
return "toast://下次允许批量较验时间\n" + $.dateFormat(oldtime+h*60*60*1000, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
} |
|
|
|
|
let duoselect = storage0.getMyVar('SrcJu_duoselect') || []; |
|
|
|
|
duoselect = duoselect.filter(v=>!v.stop); |
|
|
|
@ -521,7 +521,26 @@ function SRCSet() { |
|
|
|
|
setResult(d); |
|
|
|
|
},duoselect.length) |
|
|
|
|
}), |
|
|
|
|
col_type: 'scroll_button' |
|
|
|
|
col_type: 'scroll_button', |
|
|
|
|
extra: { |
|
|
|
|
longClick: [{ |
|
|
|
|
title: "清除", |
|
|
|
|
js: $.toString(() => { |
|
|
|
|
return $("","口令").input(()=>{ |
|
|
|
|
log(globalMap0.zip(input)); |
|
|
|
|
function clear(key){ |
|
|
|
|
if(globalMap0.zip(key)==""){ |
|
|
|
|
clearItem('checkSourcetime'); |
|
|
|
|
return "toast://已清除"; |
|
|
|
|
}else{ |
|
|
|
|
return "toast://口令错"; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return clear(input); |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
}] |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}else if(guanliType=='jx'){ |
|
|
|
|
d.push({ |
|
|
|
|