12.28功能提交

master
zhengyongxing 4 years ago
parent bb73235874
commit 0293fd7ff1

@ -509,20 +509,20 @@ class MarketPercentageController extends ThinkController
->find();
if ($is_hav) {
// if ($is_hav['coefficient'] != $save['coefficient']) {
if ($is_hav['coefficient'] != $save['coefficient']) {
$save['update_time'] = time();
M("coefficient","tab_")
->where([
'pay_time'=>$save['pay_time'],
'admin_id'=>$save['admin_id']
])->save(['coefficient'=>$save['coefficient']]);
}
M("market_altogether","tab_")->where([
'pay_time'=>$save['pay_time'],
'admin_id'=>$save['admin_id']
])->save($marketSave);
// }
} else {
$save['create_time'] = time();

@ -141,6 +141,10 @@
url += '&is_get=1';
layer.confirm('【提示】是否确认财务部编辑保存', {
btn: ['确认','取消'],
title:false
}, function(index){
$.ajax({
url:url,
type:"post",
@ -158,6 +162,8 @@
}
})
});
});
</script>

Loading…
Cancel
Save