FIX_Branch id checked
This commit is contained in:
parent
4df97de342
commit
f9171b2d55
@ -305,6 +305,8 @@ $('#btnBranchAdd').click(function() {
|
||||
$('#branch_form')[0].reset();
|
||||
$('#branch_form').parsley().reset();
|
||||
$('#pre_branch_id').val('');
|
||||
$('#branch_id_primarykey').val('');
|
||||
|
||||
$('.ac').css('display', 'block');
|
||||
contactCount = 1
|
||||
|
||||
@ -371,13 +373,14 @@ $("#branch_form").submit(function(event) {
|
||||
|
||||
var selectedValues = $("#selected").val();
|
||||
console.log(selectedValues, selectedValues);
|
||||
console.log("branch_id_primarykey", $('#branch_id_primarykey').val());
|
||||
|
||||
|
||||
let level_contect_data = getContactsData();
|
||||
console.log('level_contect_data', level_contect_data);
|
||||
|
||||
event.preventDefault();
|
||||
branch_PrimaryKey = $('#client_id_branch').val();
|
||||
|
||||
console.log('branch_PrimaryKey', branch_PrimaryKey)
|
||||
|
||||
if (branch_PrimaryKey === '') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user