NoteStar 5 gadi atpakaļ
vecāks
revīzija
0ed5aa01f2

+ 27 - 1
vendor/fancyecommerce/fecshop/app/appadmin/theme/base/default/catalog/productinfo/managerbatchedit.php

@@ -456,6 +456,10 @@ function thissubmit(thiss){
                                 </div>
                             <?php endforeach; ?>
                         <?php endif; ?>
+                        <table>
+                            <tr><td>价格</td><td>&nbsp;<input type="text" id="pljg_text" style="width: 30%; display: inline" > <a href="#" id="pljg" >批量填写</a>  </td></tr>
+                            <tr><td>库存</td><td>&nbsp;<input type="text" id="plkc_text" style="width: 30%; display: inline" > <a href="#" id="plkc" >批量填写</a>  </td></tr>
+                        </table>
                         <script>
                             $(document).ready(function(){
                                 $(".dialog").on("click",".spuAttrCheck",function(){
@@ -561,7 +565,8 @@ function thissubmit(thiss){
                                     
                                     return htmlStr;
                                 }
-                                
+
+
                                 $(".dialog").on("click",".add_spu_attr",function(){
                                     var rel = $(this).attr('rel');
                                     var str1 = ".spu_attr_input_" + rel;
@@ -591,6 +596,27 @@ function thissubmit(thiss){
                                 
                             });
                         </script>
+
+                        <script>
+                            $(document).ready(function(){
+                                $("#pljg").on("click",function(){
+                                    var pljg_text = $("#pljg_text").val();
+                                    $(".sku_price").val(pljg_text);
+                                });
+                            });
+                        </script>
+                        <script>
+                            $(document).ready(function(){
+                                $("#plkc").on("click",function(){
+                                    var plkc_text = $("#plkc_text").val();
+                                    $(".sku_qty").val(plkc_text);
+                                });
+                            });
+                        </script>
+
+
+
+
                         <table class="sell-sku-inner-table sell-sku-body-table " style="transform: translateY(0px);">
                             <colgroup>
                                 <col width="111px">