master
ELF 4 years ago
parent f8f9046a87
commit 0923006a20

@ -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'))) { // if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) {
// $this->error('联系电话格式不正确'); // $this->error('联系电话格式不正确');
// } // }

@ -970,7 +970,7 @@
+ '<td>' + promote.mobile_phone + '</td>' + '<td>' + promote.mobile_phone + '</td>'
+ '<td>' + promote.email + '</td>' + '<td>' + promote.email + '</td>'
+ '<td>' + canViewRecharge + '</td>' + '<td>' + canViewRecharge + '</td>'
+ '<td><button class="normal-btn">删除</button></td>' + '<td><button class="normal-btn" type="button">删除</button></td>'
+ '</tr>' + '</tr>'
console.log(html) console.log(html)
$('#promote-table').children('tbody').append(html) $('#promote-table').children('tbody').append(html)

Loading…
Cancel
Save