更新对账

parent 6c789c26
......@@ -9,7 +9,7 @@
//对账完成
$("#changeChecking").click(function () {
alert_confirm("确定对账完成?",function () {
var res = ajax_push("/api/ApiAccountChangeChecking",{"id":$("#id").val()});
var res = ajax_push("/api/ApiAccountChangeChecking",{"reconcile_pur_id":$("#reconcile_pur_id").val()});
res.code > 0 ? alert_err(res.msg) : alert_succ(res.errmsg,function () {
window.location.reload()
});
......@@ -17,7 +17,7 @@
})
},
tableList:function (page) {
var res = ajax_push(URL_YUNXIN + '/api/ApiReconcilePurDetail',{'p':page,'id':$("#id").val()})
var res = ajax_push(URL_YUNXIN + '/api/ApiReconcilePurDetail',{'p':page,'reconcile_pur_id':$("#reconcile_pur_id").val()})
if (res.code == 0) {
var other = res.other;
$(".reconcile_pur_sn").html(other.reconcile_pur_sn);
......
......@@ -72,4 +72,4 @@
</div>
</div>
<!--隐藏域-->
<input type="hidden" value="{{ @$_GET['id'] }}" id="id">
\ No newline at end of file
<input type="hidden" value="{{ @$_GET['id'] }}" id="reconcile_pur_id">
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment