diff --git a/package.json b/package.json
index 3d8ae23037dd344d6833935a7ef6e4e452292ed2..101d887fbb912d8980276a58b84eb565f9ac7eb6 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,9 @@
"dependencies": {
"element-plus": "^2.7.3",
"guess": "^1.0.2",
- "vue": "^3.2.37"
+ "vue": "^3.2.37",
+ "jsbarcode": "^3.11.6",
+ "vue-html-to-paper":"^2.0.3"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.1",
diff --git a/src/App.vue b/src/App.vue
index 633a5dfe4e547c48bfa93740a290ba5ba370930a..604cd23c798458c45980be907f68ced4bd92ddfd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,19 +1,18 @@
-
+
-
+
+
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
index 1b8faac1521345513353e96050dd24d94610d432..eb0b61b184f8a0922e87fd017ca09f91fb1fdc5e 100644
--- a/src/components/HelloWorld.vue
+++ b/src/components/HelloWorld.vue
@@ -1,43 +1,174 @@
-
-
-
-
{{ msg }}
-
- You’ve successfully created a project with
- Vite +
- Vue 3.
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 打印
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ state.formData.productListName }}
+
+ 贮存条件:{{ state.formData.preserve }}
+ 生产日期:2024-05-26
+ 保质期至:2024-05-26
+ 供应商:{{ state.formData.providerName }}
+
+
+ {{ state.formData.printPrice }}元
+ 净含量:{{ state.formData.netWeight }}g±{{ state.formData.weightRange }}g
+
+
+
+
+
+
+
+
+ 打印
+
+
+
\ No newline at end of file
diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue
deleted file mode 100644
index d3d2e7acc8a9deeb26e48169ee3cbc64d2b54f2f..0000000000000000000000000000000000000000
--- a/src/components/TheWelcome.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-
- Documentation
-
- Vue’s
- official documentation
- provides you with all information you need to get started.
-
-
-
-
-
-
- Tooling
-
- This project is served and bundled with
- Vite. The recommended IDE
- setup is VSCode +
- Volar. If you need to test
- your components and web pages, check out
- Cypress and
- Cypress Component Testing.
-
-
-
- More instructions are available in README.md.
-
-
-
-
-
-
- Ecosystem
-
- Get official tools and libraries for your project:
- Pinia,
- Vue Router,
- Vue Test Utils, and
- Vue Dev Tools. If you need more
- resources, we suggest paying
- Awesome Vue
- a visit.
-
-
-
-
-
-
- Community
-
- Got stuck? Ask your question on
- Vue Land, our official Discord server, or
- StackOverflow.
- You should also subscribe to
- our mailing list and follow the official
- @vuejs
- twitter account for latest news in the Vue world.
-
-
-
-
-
-
- Support Vue
-
- As an independent project, Vue relies on community backing for its sustainability. You can help
- us by
- becoming a sponsor.
-
-
diff --git a/src/components/WelcomeItem.vue b/src/components/WelcomeItem.vue
deleted file mode 100644
index ba0def33c0e523d8c82426d76d76c39b482b21e0..0000000000000000000000000000000000000000
--- a/src/components/WelcomeItem.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
diff --git a/src/main.js b/src/main.js
index 90e6400b4d8ad8aba0c1caa53874eb4b81380648..a2506294bcc8223c4cf7f39c5cad5d6aa27fae4b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,6 +1,8 @@
import { createApp } from 'vue'
import App from './App.vue'
+import ElementPlus from 'element-plus'
+import 'element-plus/dist/index.css'
import './assets/main.css'
-createApp(App).mount('#app')
+createApp(App).use(ElementPlus).mount('#app')