💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 交接班记录 >[info] 功能: 1,显示数据:通过 `record_succession` 员工交接表 关联 `shop_users` 记录员工账号当天从登录到退出的 营收金额 signOuts:function(){ if(this.spare == ''){ Public.tips.error('请输入备用金'); return false; } $('#confirm').css('display','block'); $('#form1').jqprint(); $('#confirm').css('display','none'); shiftVue.signOut(); }, signOut: function(){ var cash_payments = "<?php echo $cash_payments;?>"; var unionpay_pay = "<?php echo $unionpay_pay;?>"; var weixin_pay = "<?php echo $weixin_pay;?>"; var alipay_pay = "<?php echo $alipay_pay;?>"; var that = this; $.ajax({ type: "POST", url: base_url+"/home/welcome/shiftPost", data: {cash_payments:cash_payments, unionpay_pay:unionpay_pay, weixin_pay:weixin_pay, alipay_pay:alipay_pay, spare:that.spare}, dataType: "json", success: function(data) { if(data.status == 1 && data.msg ){ Public.tips.success(data.msg); }else{ Public.tips.error(data.msg); } if(data.url){ setTimeout(function(){ var storage=window.localStorage; storage.a=1; storage.setItem("c",3); storage.clear(); window.location.href = data.url; },1000); } } }); }, input: function(){ if(this.spare){ this.spare = parseFloat(this.spare); } }, back: function(){ $.ajax({ type: "GET", url: base_url+"/home/welcome/user_index", data: {}, dataType: "json", success: function(data) { if(data.status) { $(" body").html(data.html); } } }); }