Commit bf86e499 by allen

修改jquey选择器传参

parent 7d89ebb0
Showing with 3 additions and 4 deletions
......@@ -1026,10 +1026,9 @@
$(function(){
$('.remarks').click(function(){
layer.prompt({title: '请输入备注信息', formType: 3}, function($remarks, index){
var $id = $('.order-track').attr('data-rid');
$id = $(this).parent().parent().find('.order-track').attr('data-rid');
layer.prompt({title: '请输入备注信息', formType: 3}, function($remarks,index){
$.post('/api/update_order_items',{id:$id,remarks:$remarks},function(data){
......
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