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 @@