更新 'SrcJySet.js'

master
src48597962 5 months ago
parent bcb19c9b43
commit 47b6dea61d
  1. 23
      SrcJySet.js

@ -309,7 +309,7 @@ function SRCSet() {
let oldtime = parseInt(checkSourcetime.split('|')[0]); let oldtime = parseInt(checkSourcetime.split('|')[0]);
let h = checkSourcetime=="0"?0:parseInt(checkSourcetime.split('|')[1]); let h = checkSourcetime=="0"?0:parseInt(checkSourcetime.split('|')[1]);
if (nowtime < (oldtime+h*60*60*1000)) { 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') || []; let duoselect = storage0.getMyVar('SrcJu_duoselect') || [];
duoselect = duoselect.filter(v=>!v.stop); duoselect = duoselect.filter(v=>!v.stop);
@ -521,7 +521,26 @@ function SRCSet() {
setResult(d); setResult(d);
},duoselect.length) },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'){ }else if(guanliType=='jx'){
d.push({ d.push({

Loading…
Cancel
Save