摘要:
## 单表查询Customer::find()->one(); 此方法返回一条数据;Customer::find()->all(); 此方法返回所有数据;Customer::find()->count(); 此方法返回记录的数量;Customer::find()->average(); 此方法返回指 阅读全文
摘要:
1.前端怎样保留两位小数的显示方法toDecimal:function(money){ //保留两位小数 if(isNaN(money)) { return; } money=(parseFloat(money)); result=money.toFixed(2); return result; } 阅读全文