提交 29dd2835 authored 作者: chengye's avatar chengye

Merge branch 'master' of ssh://39.155.253.71:33222/PHP/Jz-Php

...@@ -201,6 +201,10 @@ class Em extends Base ...@@ -201,6 +201,10 @@ class Em extends Base
//保存缴费结算数据 //保存缴费结算数据
$emRuleModel = EmRule::order('id desc,create_time desc')->get(['em_id'=>$data['em_id']]); $emRuleModel = EmRule::order('id desc,create_time desc')->get(['em_id'=>$data['em_id']]);
//如果之前没有子表记录则插入
if(!$emRuleModel) $emRuleModel = new EmRule();
$emRuleModel->save($data); $emRuleModel->save($data);
(new Account())->createAccount($data['em_id']); (new Account())->createAccount($data['em_id']);
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
<span class="x-red">*</span>缴费周期 <span class="x-red">*</span>缴费周期
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" id="pay_cycle" name="pay_cycle" autocomplete="off" class="layui-input" lay-verType="tips"> <input type="number" id="pay_cycle" name="pay_cycle" autocomplete="off" class="layui-input" lay-verType="tips">
</div> </div>
</div> </div>
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论