From 90b588ab4175e52f6d4adfd0ce279c731d73c0fe Mon Sep 17 00:00:00 2001 From: xiaoning <1097449274@qq.com> Date: Mon, 15 Apr 2024 09:09:19 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=AE=BE=E5=A4=87=E4=BA=A7=E8=83=BD=E5=8A=A0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=9A=E7=94=9F=E4=BA=A7=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=A0=87=E8=AF=86=EF=BC=8C=E8=B7=A8=E4=BD=8D=202.=E4=B8=89?= =?UTF-8?q?=E6=9C=88=E6=BB=9A=E5=8A=A8=E6=8E=92=E4=BA=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=9B=BF=E6=8D=A2=E4=B8=BAexcel?= =?UTF-8?q?=E6=9C=88=E5=BA=A6=E4=B8=8B=E5=8F=91=E5=88=97=203.=E4=B8=89?= =?UTF-8?q?=E6=9C=88=E6=BB=9A=E5=8A=A8=E6=8E=92=E4=BA=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=8C=E4=B8=89=E6=9C=88=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=BC=96=E5=88=B6=20=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jhzx/sygd.js | 1 + src/store/getters.js | 1 + src/store/modules/user.js | 5 + src/views/jhzx/symxCX.vue | 420 ++++++++++++++++++++++++++++++++++--- src/views/sjzx/sbcnWH.vue | 19 +- src/views/sjzx/sbxxWH.vue | 1 + src/views/sjzx/sbxxWH1.vue | 129 ++++++++---- 7 files changed, 493 insertions(+), 83 deletions(-) diff --git a/src/api/jhzx/sygd.js b/src/api/jhzx/sygd.js index 68e8f06..74cac75 100644 --- a/src/api/jhzx/sygd.js +++ b/src/api/jhzx/sygd.js @@ -17,3 +17,4 @@ export function ydjhxf(data) {return request({url: '/dmYdjh/xf', method: 'post', //采购计划到货情况 export function cgjhdhqk(data={}) {return request({url: '/dmSygdMx/cgjhdhqk', method: 'post',data})} + diff --git a/src/store/getters.js b/src/store/getters.js index a89ef88..0ab44ed 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -13,6 +13,7 @@ const getters = { zxtbm: state => state.user.zxtbm, zxtmc: state => state.user.zxtmc, bmbm: state => state.user.bmbm, + yhdm: state => state.user.yhdm, cgdlm: state => state.user.cgdlm, permission_routes: state => state.permission.routes, errorLogs: state => state.errorLog.logs, diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 8184f36..3362b4e 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -6,6 +6,7 @@ const state = { token: getToken(), name: '', bmbm:'', + yhdm:'', userId:'', avatar: '', introduction: '', @@ -33,6 +34,9 @@ const mutations = { }, SET_ROLES: (state, roles) => { state.roles = roles + }, + SET_YHDM: (state, yhdm) => { + state.yhdm = yhdm } } @@ -80,6 +84,7 @@ const actions = { // commit('SET_ROLES', menu) console.log(user) commit('SET_NAME', user.yhms) + commit('SET_YHDM', user.yhdm) commit('SET_BMBM', user.bmbm) commit('SET_ROLES',roles) resolve(data) diff --git a/src/views/jhzx/symxCX.vue b/src/views/jhzx/symxCX.vue index 1fd8222..b0ba2a9 100644 --- a/src/views/jhzx/symxCX.vue +++ b/src/views/jhzx/symxCX.vue @@ -15,6 +15,7 @@ 查询 + 保存 提交三月滚动 @@ -31,28 +32,69 @@ 汇总 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
@@ -248,7 +290,7 @@