dever 3 سال پیش
والد
کامیت
8f762709a5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/shop/database/goods_sku.php

+ 2 - 2
app/shop/database/goods_sku.php

@@ -84,7 +84,7 @@ $config = array
             'desc'      => '商品编码',
             'match'     => 'option',
             # 读取另外表的关联方式
-            'sync'      => array('sku_id', 'id'),
+            'sync'      => array('sku_id', 'id', 'goods_id', 'key'),
             'list'      => true,
             'list_order' => 4,
         ),
@@ -96,7 +96,7 @@ $config = array
             'desc'      => '零售单价',
             'match'     => 'option',
             # 读取另外表的关联方式
-            'sync'      => array('sku_id', 'id'),
+            'sync'      => array('sku_id', 'id', 'goods_id', 'key'),
             'list'      => true,
             'list_order' => 7,
         ),