add bug
This commit is contained in:
@@ -47,15 +47,12 @@ function tableclick(x){
|
||||
|
||||
let datas = x.innerText.split('\t')
|
||||
|
||||
|
||||
|
||||
|
||||
$('#getmodal').modal('show')
|
||||
|
||||
let rasp = document.getElementById('rapolog')
|
||||
let vedomost = document.getElementById('vednumber')
|
||||
//let rasp = document.getElementById('rapolog')
|
||||
//let vedomost = document.getElementById('vednumber')
|
||||
let invnom = document.getElementById('modal_invnom')
|
||||
let matcen = document.getElementById('modal_matcenn')
|
||||
//let matcen = document.getElementById('modal_matcenn')
|
||||
|
||||
invnom.innerText=datas[1]+"\t"
|
||||
matcen.innerText=datas[2].substring(0,15)
|
||||
@@ -76,8 +73,6 @@ function tableclick(x){
|
||||
} )
|
||||
|
||||
$('#modalsavetodb').click(function(){
|
||||
|
||||
|
||||
$.ajax({
|
||||
|
||||
url: "/addraspved",
|
||||
@@ -89,16 +84,15 @@ function tableclick(x){
|
||||
ved: vedomost.value,
|
||||
inv: datas[1]
|
||||
},
|
||||
|
||||
success:function() {
|
||||
rasp.value = '';
|
||||
vedomost.value= '';
|
||||
data=[];
|
||||
rasp
|
||||
$('#getmodal').modal('hide');
|
||||
getData();
|
||||
}
|
||||
})
|
||||
rasp.value = '';
|
||||
vedomost.value= '';
|
||||
|
||||
datas = [];
|
||||
|
||||
$('#getmodal').modal('hide');
|
||||
|
||||
getData();
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user