mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: #10000 错误修改
This commit is contained in:
parent
6d9fbe57e1
commit
39b1022c93
@ -31,8 +31,8 @@ class Goods
|
|||||||
$businessGood['goods_image_list'] = json_encode($businessGood['goods_image_list'], 256);
|
$businessGood['goods_image_list'] = json_encode($businessGood['goods_image_list'], 256);
|
||||||
foreach ($skuList as $sku) {
|
foreach ($skuList as $sku) {
|
||||||
$sku['spec_list'] = json_encode($sku['spec_list'], 256);
|
$sku['spec_list'] = json_encode($sku['spec_list'], 256);
|
||||||
if ((int)$businessGood['quantity_type']) {
|
if ((int)$sku['quantity_type']) {
|
||||||
$businessGood['is_sync'] = 0;
|
$sku['is_sync'] = 0;
|
||||||
}
|
}
|
||||||
$data = array_merge($businessGood, $sku);
|
$data = array_merge($businessGood, $sku);
|
||||||
$businessGoodSku = BusinessGoodsSku::firstOrNew(
|
$businessGoodSku = BusinessGoodsSku::firstOrNew(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user