From 47114d317ccf555f79e9f43652fafcdae7a008fe Mon Sep 17 00:00:00 2001 From: jinna Date: Mon, 2 Mar 2026 15:53:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A5=E5=BF=97=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=93=8D=E4=BD=9C=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/log/api.vue | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/views/monitor/log/api.vue b/src/views/monitor/log/api.vue index e9197b6..d8b84e2 100644 --- a/src/views/monitor/log/api.vue +++ b/src/views/monitor/log/api.vue @@ -51,13 +51,13 @@ export default { menuWidth: 120, dialogType: 'drawer', searchLabelPosition:'left', -searchLabelPosition:'left', - searchGutter:24, - searchSpan:6, -menuAlign: 'left', -gridBtn:false, -searchMenuPosition:'right', -addBtnIcon: ' ', + searchLabelPosition:'left', + searchGutter:24, + searchSpan:6, + menuAlign: 'left', + gridBtn:false, + searchMenuPosition:'right', + addBtnIcon: ' ', viewBtnIcon: ' ', delBtnIcon: ' ', editBtnIcon: ' ', @@ -104,6 +104,11 @@ addBtnIcon: ' ', prop: 'createTime', width: '180', }, + { + label: '操作人', + prop: 'createBy', + span: 24, + }, { label: '用户代理', prop: 'userAgent', @@ -118,6 +123,7 @@ addBtnIcon: ' ', minRows: 2, hide: true, }, + ], }, data: [], From cdb21df99c58e9a28e9e15035ecc2258ccd549df Mon Sep 17 00:00:00 2001 From: jinna Date: Tue, 3 Mar 2026 09:18:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=90=9C=E7=B4=A2=E5=AD=98=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 2 + src/store/modules/client.js | 39 + .../glassCakeOutbound/index.vue | 11 +- .../materialIssuing.vue | 15 +- .../otherIssuing/index.vue | 15 +- .../otherReceiving.vue | 17 +- .../returnReceiving.vue | 12 +- .../warehouseTransfer/index.vue | 12 +- .../warehouseAnalysis/inventorySummary.vue | 687 +----------------- 9 files changed, 117 insertions(+), 693 deletions(-) create mode 100644 src/store/modules/client.js diff --git a/src/store/index.js b/src/store/index.js index a764d4b..ac32be1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -4,6 +4,7 @@ import common from './modules/common'; import tags from './modules/tags'; import logs from './modules/logs'; import dict from './modules/dict'; +import client from './modules/client' import getters from './getters'; const store = createStore({ @@ -13,6 +14,7 @@ const store = createStore({ logs, tags, dict, + client }, getters, }); diff --git a/src/store/modules/client.js b/src/store/modules/client.js new file mode 100644 index 0000000..dae6f00 --- /dev/null +++ b/src/store/modules/client.js @@ -0,0 +1,39 @@ +const params = { + state: { + // 其它入库 + otherInParams: {}, + // 物料入库 + materialInParams: {}, + // 转移入库 + exchangeInParams: {}, + // 其他出库 + otherOutParams: {}, + // 物料出库 + materialOutParams: {}, + // 领料出库 + exchangeOutParams: {}, + // 玻璃饼出库 + pieOutParams: {}, + }, + mutations: { + //保存数据 + CHANGE_ACTIVE_LI(state, data) { + state[data.title] = data.form; + }, + //清除数据 + // SET_CLEAR_DATA(state,data){ + // state.id=data + // } + }, + actions: { + //保存数据 + changeSetting({ commit }, data) { + commit("CHANGE_ACTIVE_LI", data); + }, + //清除数据 + // clearVuex({ commit }) { + // commit("SET_CLEAR_DATA", null); + // }, + }, +} +export default params; \ No newline at end of file diff --git a/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue b/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue index d4ba1aa..e603652 100644 --- a/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue +++ b/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue @@ -349,12 +349,21 @@ export default { checkRow:{}, }; }, - mounted() { }, + created() { + if (JSON.stringify(this.$store.state.client.pieOutParams) !== "{}") { + this.query = this.$store.state.client.pieOutParams; + this.searchForm = this.$store.state.client.pieOutParams; + } + }, methods: { searchChange(params, done){ this.query = params this.page.currentPage = 1 this.onLoad() + this.$store.dispatch("changeSetting", { + title: "pieOutParams", + form: this.query, + }); done() }, searchReset(){ diff --git a/src/views/inboundOutboundManagement/materialIssuing.vue b/src/views/inboundOutboundManagement/materialIssuing.vue index b97d254..525e2aa 100644 --- a/src/views/inboundOutboundManagement/materialIssuing.vue +++ b/src/views/inboundOutboundManagement/materialIssuing.vue @@ -2,6 +2,7 @@ @@ -405,11 +406,15 @@ export default { }, ] - } + }, + searchForm:{} } }, - mounted() { - + created() { + if (JSON.stringify(this.$store.state.client.exchangeOutParams) !== "{}") { + this.query = this.$store.state.client.exchangeOutParams; + this.searchForm = this.$store.state.client.exchangeOutParams; + } }, methods: { changeCode(val){ @@ -420,6 +425,10 @@ export default { searchChange(params, done){ this.query = params this.page.currentPage = 1 + this.$store.dispatch("changeSetting", { + title: "exchangeOutParams", + form: this.query, + }); this.onLoad() done() }, diff --git a/src/views/inboundOutboundManagement/otherIssuing/index.vue b/src/views/inboundOutboundManagement/otherIssuing/index.vue index 15bd52f..ba8d16b 100644 --- a/src/views/inboundOutboundManagement/otherIssuing/index.vue +++ b/src/views/inboundOutboundManagement/otherIssuing/index.vue @@ -1,6 +1,8 @@