| | |
| | | import editForm from "../form.vue"; |
| | | import { handleTree } from "@/utils/tree"; |
| | | import { message } from "@/utils/message"; |
| | | import { zhaobiaoPageOrder, findWechatOpenId } from "@/api/item/index"; |
| | | import { zhaobiaoPageOrder } from "@/api/item/index"; |
| | | |
| | | import { |
| | | getCaigoufangshiList, |
| | |
| | | import type { PaginationProps } from "@pureadmin/table"; |
| | | import { useUserStoreHook } from "@/store/modules/user"; |
| | | |
| | | import pdfPreview from "../../component/pdfPreview.vue"; |
| | | import pdfPreview from "../../component/pdfPreview2.vue"; |
| | | // const nowRole = computed(() => { |
| | | // return useUserStoreHook().nowRole; |
| | | // }); |
| | |
| | | { |
| | | label: "采购人", |
| | | prop: "caigourenmingcheng", |
| | | minWidth: 70 |
| | | minWidth: 120 |
| | | }, |
| | | { |
| | | label: "项目名称", |
| | |
| | | } |
| | | }; |
| | | async function onSearch() { |
| | | findWechatOpenId(); |
| | | const obj = cloneDeep(form); |
| | | obj.tousu = obj.tousu.join(""); |
| | | obj.zhiyi = obj.zhiyi.join(""); |
| | |
| | | } |
| | | |
| | | async function openDialog(title = "新增", row?: FormItemProps) { |
| | | const { result } = title == "新增" ? await addgetcontact() : ""; |
| | | const { result } = title == "新增" ? await addgetcontact() : {}; |
| | | |
| | | addDialog({ |
| | | title: `${title}项目`, |