Browse Source

20250227问题修复

master
zengqinyuan 1 month ago
parent
commit
27994e4210
  1. 4
      src/api/eam/basic/assetsAccount/index.ts
  2. 4
      src/api/eam/basic/fixedAssets/index.ts
  3. 1
      src/views/eam/basic/fixedAssetsControlsHistory/index.vue
  4. 14
      src/views/eam/basic/location/location.data.ts

4
src/api/eam/basic/assetsAccount/index.ts

@ -80,5 +80,5 @@ export const exportAssetsAccount = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/fixed-assets/get-import-template' })
}
return request.download({ url: '/eam/fixed-assets/get-import-template/2' })
}

4
src/api/eam/basic/fixedAssets/index.ts

@ -80,5 +80,5 @@ export const exportFixedAssets = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/fixed-assets/get-import-template' })
}
return request.download({ url: '/eam/fixed-assets/get-import-template/1' })
}

1
src/views/eam/basic/fixedAssetsControlsHistory/index.vue

@ -72,6 +72,7 @@ import * as FixedAssetsControlsHistoryApi from '@/api/eam/basic/fixedAssetsContr
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import SYMonthImportForm from "@/components/ImportForm/src/SYMonthImportForm.vue";
import * as FixedAssetsApi from "@/api/eam/basic/fixedAssets";
import {importTemplate} from "@/api/eam/basic/fixedAssets";
defineOptions({ name: 'FixedAssetsControlsHistory' })

14
src/views/eam/basic/location/location.data.ts

@ -21,6 +21,19 @@ export const LocationRules = reactive({
})
export const Location = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '绑定备件库位',
field: 'itemNumberIsNull',
sort: 'custom',
isSearch: true,
isForm: false,
isTable: false,
dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 180,
fixed: 'left'
},
},
{
label: '库位编号',
field: 'number',
@ -44,6 +57,7 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
isForm: false,
hiddenSearchHigh: true,
},
{
label: '库区编号',

Loading…
Cancel
Save