| | |
| | | import { ref, reactive, toRefs, onMounted, getCurrentInstance, nextTick } from 'vue' |
| | | import { ElMessageBox } from "element-plus"; |
| | | import useUserStore from '@/store/modules/user' |
| | | import dayjs from 'dayjs' |
| | | import { |
| | | getStockInPage, |
| | | getStockInPageByProduction, |
| | |
| | | } from "@/api/inventoryManagement/stockIn.js"; |
| | | import FormDia from './components/formDia.vue' |
| | | import FormDiaManual from './components/formDiaManual.vue' |
| | | |
| | | // 获取当前日期 |
| | | function getCurrentDate() { |
| | | return dayjs().format('YYYY-MM-DD') |
| | | } |
| | | |
| | | const userStore = useUserStore() |
| | | const { proxy } = getCurrentInstance() |
| | |
| | | searchForm: { |
| | | supplierName: '', |
| | | customerName: '', |
| | | timeStr: '', |
| | | timeStr: getCurrentDate(), |
| | | }, |
| | | }) |
| | | const { searchForm } = toRefs(data) |