调整备货单

This commit is contained in:
mzl
2025-09-08 20:00:12 +08:00
parent 28368e27a7
commit 84c588496b
14 changed files with 945 additions and 247 deletions
+16 -6
View File
@@ -107,13 +107,23 @@ class IndexController
public function test()
{
return json([
$flowType = 'stock_order_flow';
$bizType = 'stock_orders';
$bizId = 32;
$formData = [];
$initiatorId = 74;
$appro = new \app\common\utils\approval\service\ApprovalFlowService();
// $sp = $appro->start($flowType, $bizType, $bizId, $formData, $initiatorId);
$sp = $appro->approve(1, 1, 'approve');
var_dump($sp);
return json([
'code' => 0,
'msg' => 'success',
'data' => [
'time' => time(),
'date' => date('Y-m-d H:i:s')
]
'msg' => 'success'
]);
}
}