From 7bcfeb209ea742de7dcf31a5c9febb1cecaaa6b4 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Thu, 17 Mar 2022 19:35:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=B8=B8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/modules/basedata.js | 41 +++++----- vue/src/router/modules/wms_out_order.js | 2 +- .../views/ux/basedata/codeSetting/index.vue | 7 +- .../ux/billManage/FisUpdateExport/index.vue | 13 ++-- .../billManage/WMSOutputSumReport/index.vue | 78 ++++++++++++++++--- .../ux/billManage/kanbanOutOrder/detail.vue | 4 +- .../billManage/sparepartOutOrder90/detail.vue | 3 +- vue/static/tableFieldForSearch.json | 22 +++--- 8 files changed, 121 insertions(+), 49 deletions(-) diff --git a/vue/src/router/modules/basedata.js b/vue/src/router/modules/basedata.js index 7937c43f..ac1945e3 100644 --- a/vue/src/router/modules/basedata.js +++ b/vue/src/router/modules/basedata.js @@ -13,6 +13,7 @@ const basedataRouter = { index: 0, type: 'crm', icon: '基础数据', + roles: ['SettleAccount.CentralizedControls', 'SettleAccount.CodeSettings', 'SettleAccount.PriceLists', 'SettleAccount.Materials'], keepAlive: false, }, children: [ @@ -59,26 +60,26 @@ const basedataRouter = { icon: '结算' } }, - // { - // path: 'wms-kanban', - // component: () => import('@/views/ux/vw/dataInput/wmsKanban'), - // name: 'WMSVWKanBan', - // meta: { - // title: '大众看板发货明细', - // roles: ['SettleAccount.Reports'], - // icon: '供货' - // } - // }, - // { - // path: 'wms-sparepart', - // component: () => import('@/views/ux/vw/dataInput/wmsSparePart'), - // name: 'WMSSparePart',//命名路由 - // meta: { - // title: '大众备件发货明细', - // roles: ['SettleAccount.Reports'], - // icon: '客户零件' - // } - // } + // { + // path: 'wms-kanban', + // component: () => import('@/views/ux/vw/dataInput/wmsKanban'), + // name: 'WMSVWKanBan', + // meta: { + // title: '大众看板发货明细', + // roles: ['SettleAccount.Reports'], + // icon: '供货' + // } + // }, + // { + // path: 'wms-sparepart', + // component: () => import('@/views/ux/vw/dataInput/wmsSparePart'), + // name: 'WMSSparePart',//命名路由 + // meta: { + // title: '大众备件发货明细', + // roles: ['SettleAccount.Reports'], + // icon: '客户零件' + // } + // } ] } diff --git a/vue/src/router/modules/wms_out_order.js b/vue/src/router/modules/wms_out_order.js index 39f20df2..f0dea4ce 100644 --- a/vue/src/router/modules/wms_out_order.js +++ b/vue/src/router/modules/wms_out_order.js @@ -53,7 +53,7 @@ const vwsOutOrderDataRouter = { component: () => import('@/views/ux/billManage/WMSOutputDetailDiffReport'), name: 'WMSOutputDetailDiffReport',//命名路由 meta: { - title: '结算单出库接口', + title: '出库差异清单', roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) icon: '零件' } diff --git a/vue/src/views/ux/basedata/codeSetting/index.vue b/vue/src/views/ux/basedata/codeSetting/index.vue index 01479723..d765b263 100644 --- a/vue/src/views/ux/basedata/codeSetting/index.vue +++ b/vue/src/views/ux/basedata/codeSetting/index.vue @@ -7,6 +7,7 @@ size="mini" type="primary" icon="el-icon-plus" + v-permission="['SettleAccount.CodeSettings.Create']" @click="handleCreate" >新增 @@ -23,6 +24,7 @@ type="danger" icon="el-icon-delete" size="mini" + v-permission="['SettleAccount.CodeSettings.Delete']" @click="handleDelete()" >批量删除 @@ -31,6 +33,7 @@ size="mini" type="warning" icon="el-icon-upload2" + v-permission="['SettleAccount.CodeSettings.Create']" @click="handleImportExcel()" >导入 @@ -236,7 +239,7 @@ export default { components: { Pagination, importExcel, CRMTableHead }, directives: { permission }, data() { - const validVersion = (rule, value, callback) => { + const validVersion = (rule, value, callback) => { let numberReg = /^\d{6}$/; if (!numberReg.test(value)) { callback(new Error("只能为6位数字!")); @@ -270,7 +273,7 @@ export default { }, }, listQuery: { - Filters: [ + Filters: [ { logic: 0, column: "enabled", diff --git a/vue/src/views/ux/billManage/FisUpdateExport/index.vue b/vue/src/views/ux/billManage/FisUpdateExport/index.vue index 47523f02..23ea2467 100644 --- a/vue/src/views/ux/billManage/FisUpdateExport/index.vue +++ b/vue/src/views/ux/billManage/FisUpdateExport/index.vue @@ -396,11 +396,11 @@ export default { /* 主表头 */ getDefaultField() { var tempsTabs = []; - tempsTabs.push({ - label: "版本号", - prop: "type", - width: 85, - }); + // tempsTabs.push({ + // label: "版本号", + // prop: "type", + // width: 85, + // }); tempsTabs.push({ label: "单据流水号", prop: "taskId", @@ -855,7 +855,8 @@ export default { this.listLoading = true; //导入界面中超链接过来的参数 this.listQuery.name = "Fis发货数据更新状态"; - this.listQuery.type = this.JobversionValue; + //this.listQuery.type = this.JobversionValue; + console.log("FIS更新传入条件:"+this.listQuery) this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) .then((response) => { diff --git a/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue b/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue index 54a8e86c..bc77097a 100644 --- a/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue +++ b/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue @@ -231,17 +231,67 @@ - + + + + + + + + + + + + + + + + + + + +