From 3bd2c3970d20a808701defa6599badd3a082b54e Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Thu, 14 Sep 2023 17:21:37 +0800
Subject: [PATCH] up
---
.env.development | 16 +-
.env.production | 2 +-
src/api/mater.js | 9 +
src/utils/request.js | 1 +
.../inventorys/components/addInventorys.vue | 305 ++++++++
src/views/inventorys/index.vue | 671 +++++++++++-------
src/views/materialfile/component/addMater.vue | 521 ++++++++++++++
src/views/materialfile/index.vue | 355 +++++++++
.../outbounds/component/addoutbounds.vue | 36 +-
src/views/outbounds/index.vue | 3 +-
src/views/stocks/component/addRuku.vue | 233 +++++-
src/views/stocks/index.vue | 40 +-
12 files changed, 1877 insertions(+), 315 deletions(-)
create mode 100644 src/api/mater.js
create mode 100644 src/views/inventorys/components/addInventorys.vue
create mode 100644 src/views/materialfile/component/addMater.vue
create mode 100644 src/views/materialfile/index.vue
diff --git a/.env.development b/.env.development
index 1d25804..3d31e78 100644
--- a/.env.development
+++ b/.env.development
@@ -2,15 +2,15 @@
ENV='development'
# base api
-#VUE_APP_BASE_API = http://192.168.60.99:9004/
-#VUE_APP_UPLOAD_API = http://192.168.60.99:9004/api/admin/upload-file
-#VUE_APP_OA_URL = http://192.168.60.18:2021
-#VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}'
+VUE_APP_BASE_API = http://192.168.60.99:9004/
+VUE_APP_UPLOAD_API = http://192.168.60.99:9004/api/admin/upload-file
+VUE_APP_OA_URL = http://192.168.60.18:2021
+VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}'
-VUE_APP_BASE_API = http://hd-wuziguanli-test.ali251.langye.net/
-VUE_APP_UPLOAD_API = http://hd-wuziguanli-test.ali251.langye.net/api/admin/upload-file
-VUE_APP_OA_URL= http://suzhouhedaooa.langye.net
-VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32","应急":"33"}'
+#VUE_APP_BASE_API = http://hd-wuziguanli-test.ali251.langye.net/
+#VUE_APP_UPLOAD_API = http://hd-wuziguanli-test.ali251.langye.net/api/admin/upload-file
+#VUE_APP_OA_URL= http://suzhouhedaooa.langye.net
+#VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32","应急":"33"}'
diff --git a/.env.production b/.env.production
index c66d5c7..15029bc 100644
--- a/.env.production
+++ b/.env.production
@@ -10,7 +10,7 @@ VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}'
#VUE_APP_BASE_API = http://hd-wuziguanli-test.ali251.langye.net/
#VUE_APP_UPLOAD_API = http://hd-wuziguanli-test.ali251.langye.net/api/admin/upload-file
#VUE_APP_OA_URL= http://suzhouhedaooa.langye.net
-#VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32","应急":"33"}'
+#VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32"}'
diff --git a/src/api/mater.js b/src/api/mater.js
new file mode 100644
index 0000000..f437e68
--- /dev/null
+++ b/src/api/mater.js
@@ -0,0 +1,9 @@
+
+import request from '@/utils/request'
+
+export function getWzbm() {
+ return request({
+ url: '/api/admin/other/wuzibianma',
+ method: 'get'
+ })
+}
\ No newline at end of file
diff --git a/src/utils/request.js b/src/utils/request.js
index 8763ba8..e402aa4 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -17,6 +17,7 @@ if(window.location.origin.indexOf('localhost')>-1){
}else{
baseUrl = window.location.origin + '/'
}
+
const service = axios.create({
baseURL: baseUrl, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
diff --git a/src/views/inventorys/components/addInventorys.vue b/src/views/inventorys/components/addInventorys.vue
new file mode 100644
index 0000000..bdd6fcb
--- /dev/null
+++ b/src/views/inventorys/components/addInventorys.vue
@@ -0,0 +1,305 @@
+
+
操作:{{item.caozuo}}
+人员:{{item.jingbanren}}
+批次:{{item.pici}}
+数量:{{item.shuliang}}
+ +