|
|
@@ -588,7 +588,7 @@ class PurchaseOrderController extends BaseController
|
|
|
$list[$ghsId]['num'] = bcadd($list[$ghsId]['num'], 1);
|
|
|
} else {
|
|
|
$name = $ghsList[$ghsId] && $ghsList[$ghsId]['name'] ? $ghsList[$ghsId]['name'] : '未命名';
|
|
|
- $list[$ghsId] = ['name' => $name, 'amount' => $actPrice, 'num' => 1];
|
|
|
+ $list[$ghsId] = ['id' => $ghsId, 'name' => $name, 'amount' => $actPrice, 'num' => 1];
|
|
|
}
|
|
|
}
|
|
|
$list = array_values($list);
|