feat:分类模块,单位模块完成

This commit is contained in:
liamzi
2024-12-27 18:10:20 +08:00
parent 8d2383a8a9
commit fb188374b2
15 changed files with 668 additions and 779 deletions

View File

@@ -58,7 +58,7 @@ const QuotationTemplate = ({ id, isView, onCancel,isEdit }) => {
const { data } = await supabaseService.select('resources', {
filter: {
type: { eq: 'categories' },
'attributes->>type': { eq: 'quotation' }
'attributes->>template_type': { eq: 'quotation' }
},
order: {
column: 'created_at',

View File

@@ -61,7 +61,7 @@ const ServiceForm = () => {
<TemplateComponent
id={id}
isView={isView}
onCancel={() => navigate("/company/serviceTeamplate")}
onCancel={() => navigate("/company/serviceTemplate")}
/>
</Card>
</div>