diff --git a/src/components/project_document/index.vue b/src/components/project_document/index.vue index 46c70d4..984cdd0 100644 --- a/src/components/project_document/index.vue +++ b/src/components/project_document/index.vue @@ -17,7 +17,6 @@ - diff --git a/src/views/AssetManagement/Asset acquisition/edit.vue b/src/views/AssetManagement/Asset acquisition/edit.vue index 94fd369..3ebc00b 100644 --- a/src/views/AssetManagement/Asset acquisition/edit.vue +++ b/src/views/AssetManagement/Asset acquisition/edit.vue @@ -86,6 +86,7 @@ - + @@ -113,8 +111,6 @@ const queryParams = reactive({ bill_type: '' }) - - // 选中数据 const selectData = ref([]) @@ -124,7 +120,9 @@ const handleSelectionChange = (val: any[]) => { } // 获取字典数据 -const { dictData } = useDictData('pay_type,invoice_type,tax_rate,invoice_form,bill_type,contract_type') +const { dictData } = useDictData( + 'pay_type,invoice_type,tax_rate,invoice_form,bill_type,contract_type' +) // 分页相关 const { pager, getLists, resetParams, resetPage } = usePaging({ fetchFun: transferbillLists, @@ -138,11 +136,10 @@ const handleAdd = async () => { editRef.value?.open('add') } - // 编辑 const handleEdit = async (data: any) => { console.log(data.id) - let res = await transferbillDetail({ id: data.id }) + const res = await transferbillDetail({ id: data.id }) showEdit.value = true await nextTick() editRef.value?.open('edit') @@ -157,7 +154,7 @@ const handleDelete = async (id: number | any[]) => { } //详情 const handledetail = async (data: any) => { - let res = await transferbillDetail({ id: data.id }) + const res = await transferbillDetail({ id: data.id }) showDtail.value = true await nextTick() detailRef.value?.open() @@ -168,8 +165,7 @@ const handledetail = async (data: any) => { const customerList = () => { apiCustomLists({ page_no: 1, - page_size: 9999, - + page_size: 9999 }).then((res) => { customerlist.value = res.lists }) @@ -189,4 +185,3 @@ customerList() contractList() getLists() -