Browse Source

Merge branch 'raccount' of 39.97.239.116:gyfl/xyzshop into raccount

stanley-king 3 years ago
parent
commit
8ccf2299c2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      admin/templates/default/provider.price.set.php

+ 3 - 1
admin/templates/default/provider.price.set.php

@@ -391,7 +391,9 @@
         })
 
         $('.ncsc-btn-mini-price').on('click', function() {
-            $(this).parent('th').prev().find('.ncsc-btn-mini').click();
+            const val = $(this).prev().val();
+            $(this).parents('tbody').eq(0).find('.ncsc-btn-mini').prev().val(val);
+            $(this).parents('tbody').eq(0).find('.ncsc-btn-mini').trigger('click');
         })