申请编辑信息遮罩不关闭

master
chenzhi 5 years ago
parent 22dc7a62ce
commit 5a9fc76374

@ -46,6 +46,9 @@ class AggregateFinanceSetController extends Controller {
}
public function setDailyCount($stime="now")
{
if(!IS_CLI){
die("只支持脚本访问");
}
if($stime=="now"){
$stime=time();
}else{
@ -70,13 +73,13 @@ class AggregateFinanceSetController extends Controller {
echo $nowdate."非周一和月初,无需任何处理".PHP_EOL;
}
}
public function setWeekCount($stime)//进行周结
protected function setWeekCount($stime)//进行周结
{
$begintime = mktime(0,0,0,date('m',$stime),date('d',$stime)-7,date('Y',$stime));
$endtime = mktime(0,0,0,date('m',$stime),date('d',$stime),date('Y',$stime))-1;
$this->getAndSaveData(0,$begintime,$endtime);
}
public function setMonthCount($stime)//进行周结
protected function setMonthCount($stime)//进行周结
{
$thismonth = date('m',$stime);
$thisyear = date('Y',$stime);

@ -521,7 +521,7 @@
layer.open({
type: 2,
title: "申请开票",
shadeClose: true,
shadeClose: false,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/AggregateFinanceStatement/createStatement/id/'+id
@ -533,7 +533,7 @@
layer.open({
type: 2,
title: "开票编辑",
shadeClose: true,
shadeClose: false,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/AggregateFinanceStatement/editStatement/id/'+id

Loading…
Cancel
Save