调整备货单&&修改采购单
This commit is contained in:
@@ -118,7 +118,9 @@ class PurchaseOrdersService
|
||||
$config = $this->buildQueryConfig($request, $scene);
|
||||
|
||||
// 更新主表信息
|
||||
$updated = $this->logicUpdateBy($config, $data);
|
||||
$udata = $data;
|
||||
unset($udata['stock_order']);
|
||||
$updated = $this->logicUpdateBy($config, $udata);
|
||||
|
||||
// 获取更新后的数据
|
||||
$order = $this->logicShow($config);
|
||||
@@ -198,7 +200,7 @@ class PurchaseOrdersService
|
||||
}
|
||||
|
||||
// 删除采购单主表
|
||||
$deleted = $this->logicDestroy($config);
|
||||
$deleted = $this->logicDeleteBy($config);
|
||||
|
||||
return $this->postProcess('Destroy', $deleted);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user