Browse Source

备件台账导入

master
songguoqiang 6 months ago
parent
commit
ff3781c27b
  1. 2
      src/views/eam/item/itemAccounts/index.vue
  2. 13
      src/views/eam/item/itemAccounts/itemAccounts.data.ts

2
src/views/eam/item/itemAccounts/index.vue

@ -40,7 +40,7 @@
<Detail ref="detailRef" :isBasic="true" :allSchemas="ItemAccounts.allSchemas" /> <Detail ref="detailRef" :isBasic="true" :allSchemas="ItemAccounts.allSchemas" />
<!-- 导入 --> <!-- 导入 -->
<ImportForm ref="importFormRef" url="/eam/item-accounts/import" :importTemplateData="importTemplateData" <ImportForm ref="importFormRef" url="/eam/item/item-accounts/import" :importTemplateData="importTemplateData"
@success="importSuccess" /> @success="importSuccess" />
</template> </template>

13
src/views/eam/item/itemAccounts/itemAccounts.data.ts

@ -44,7 +44,11 @@ export const ItemAccounts = useCrudSchemas(
} }
] ]
} }
} },
table: {
width: 130,
fixed: 'left'
},
}, },
{ {
label: '备件名称', label: '备件名称',
@ -136,7 +140,10 @@ export const ItemAccounts = useCrudSchemas(
// }, // },
] ]
} }
} },
table: {
width: 130
},
}, },
{ {
label: '库位名称', label: '库位名称',
@ -276,7 +283,7 @@ export const ItemAccounts = useCrudSchemas(
field: 'action', field: 'action',
isForm: false, isForm: false,
table: { table: {
width: 250, width: 150,
fixed: 'right' fixed: 'right'
} }
} }

Loading…
Cancel
Save