更新若干功能
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled

This commit is contained in:
2026-08-20 19:16:49 +08:00
parent 72bc6502eb
commit 4ddf5e3c5f
48 changed files with 1908 additions and 18 deletions

View File

@@ -222,4 +222,16 @@ class ListService extends BaseService
'updated_at' => time(),
]);
}
/**
* 导出清单报价:后台画 xlsx小程序用 text 分享
*/
public function exportQuote(int $id): array
{
$info = $this->detail($id);
if (!is_array($info)) {
$this->utils->errorThrow('清单不存在');
}
return \App\Service\common\ExcelCsvService::getInstance()->quoteFromList($info);
}
}