@ -974,6 +974,14 @@ class PromoteCompanyController extends ThinkController
}
if (I('pay_type', 0) == 0) {
$this->error('请选择押金付款方式');
if (I('pay_type', 0) != PresidentDepositService::PAY_TYPE_NONE && I('pay_way', 0) == 0) {
$this->error('请选择付款方式');
// if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) {
// $this->error('联系电话格式不正确');
// }
@ -970,7 +970,7 @@
+ '<td>' + promote.mobile_phone + '</td>'
+ '<td>' + promote.email + '</td>'
+ '<td>' + canViewRecharge + '</td>'
+ '<td><button class="normal-btn">删除</button></td>'
+ '<td><button class="normal-btn" type="button">删除</button></td>'
+ '</tr>'
console.log(html)
$('#promote-table').children('tbody').append(html)