| | |
| | | import ProductionDialog from './components/ProductionDialog.vue'; |
| | | import { purchaseRegistration } from "@/api/procureMent"; |
| | | import useUserStore from '@/store/modules/user' |
| | | import useDictStore from "@/store/modules/dict"; |
| | | // 引入字典数据 |
| | | const useDictStores = useDictStore(); |
| | | useDictStores.setDict({ |
| | | id: 1, |
| | | name: "煤种类型", |
| | | type: "coalType", |
| | | items: [ |
| | | { label: "无烟煤", value: "anthracite" }, |
| | | { label: "烟煤", value: "bituminous" }, |
| | | { label: "褐煤", value: "lignite" } |
| | | ] |
| | | }) |
| | | console.log(useDictStores.dict); |
| | | |
| | | const { proxy } = getCurrentInstance() |
| | | const dialogFormVisible = ref(false); |