Kirin 3 年之前
父節點
當前提交
6a1f3227af
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/admin/view/company/goods/index.php

+ 2 - 2
app/admin/view/company/goods/index.php

@@ -127,9 +127,9 @@
                 layer.open({
                     content: '确认是否为商品' + `${data.store_name}[${data.suk}]¥${data.price}`
                     , btn: ['确定', '取消'],
-                    yes: function (index,data) {
+                    yes: function (index) {
                         layer.close(index);
-                        $eb.createModalFrame('增减库存 - '.data.store_name,'{:Url('edit_stock')}',{h:550,w:720})
+                        $eb.createModalFrame('增减库存','{:Url("edit_stock",["bar_code"=>'+pass+'])}',{h:550,w:720})
                         // layer.prompt({title: '请输入数量', formType: 0}, function (text, index) {
                         //     layer.close(index);
                         //     layList.baseGet(layList.Url({