diff --git a/vue/src/router/modules/basedata.js b/vue/src/router/modules/basedata.js index ac1945e3..b9e3606a 100644 --- a/vue/src/router/modules/basedata.js +++ b/vue/src/router/modules/basedata.js @@ -60,6 +60,16 @@ const basedataRouter = { icon: '结算' } }, + { + path: '/bom-diffPrice', + component: () => import('@/views/ux/billManage/BomDiffPrice'), + name: 'BomDiffPrice',//命名路由 + meta: { + title: 'Bom定价明细', + roles: ['SettleAccount.PriceLists'],//控制页面角色(可以设置多个角色) + icon: '看板' + } + } // { // path: 'wms-kanban', // component: () => import('@/views/ux/vw/dataInput/wmsKanban'), diff --git a/vue/src/router/modules/hq_menu.js b/vue/src/router/modules/hq_menu.js index 46159749..ac389b55 100644 --- a/vue/src/router/modules/hq_menu.js +++ b/vue/src/router/modules/hq_menu.js @@ -9,7 +9,7 @@ const hqMenudataRouter = { meta: { title: '红旗工厂', icon: '红旗', - roles: ['SettleAccount.WMSHQ','SettleAccount.HQ_HPlatform', 'SettleAccount.HQ_MPlatform','SettleAccount.HQ_FPlatform','SettleAccount.BT_Carlatform','SettleAccount.Reports'], + roles: ['SettleAccount.WMSHQ','SettleAccount.HQ_HPlatform', 'SettleAccount.HQ_MPlatform','SettleAccount.BT_Carlatform','SettleAccount.Reports'], keepAlive: false, }, children: [ diff --git a/vue/src/router/modules/jobtimedata.js b/vue/src/router/modules/jobtimedata.js index 1cbcd5f1..a1061d9d 100644 --- a/vue/src/router/modules/jobtimedata.js +++ b/vue/src/router/modules/jobtimedata.js @@ -23,7 +23,7 @@ const JobTimeDataRouter = { meta: { title: '后台作业监控', - roles: ['SettleAccount.Reports'], + roles: ['SettleAccount.HQ_FPlatform'], icon: '结算对比' } } diff --git a/vue/src/router/modules/vw_menu.js b/vue/src/router/modules/vw_menu.js index a586da5e..6a14b0c1 100644 --- a/vue/src/router/modules/vw_menu.js +++ b/vue/src/router/modules/vw_menu.js @@ -226,17 +226,17 @@ const vwMenudataRouter = { roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) icon: '工厂' } - }, - { - path: '/bom-diffPrice', - component: () => import('@/views/ux/billManage/BomDiffPrice'), - name: 'BomDiffPrice',//命名路由 - meta: { - title: 'Bom定价明细', - roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) - icon: '看板' - } } + // { + // path: '/bom-diffPrice', + // component: () => import('@/views/ux/billManage/BomDiffPrice'), + // name: 'BomDiffPrice',//命名路由 + // meta: { + // title: 'Bom定价明细', + // roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + // icon: '看板' + // } + // } ] } diff --git a/vue/src/views/ux/billManage/BomDiffPrice/index.vue b/vue/src/views/ux/billManage/BomDiffPrice/index.vue index 3f360c97..c1411f70 100644 --- a/vue/src/views/ux/billManage/BomDiffPrice/index.vue +++ b/vue/src/views/ux/billManage/BomDiffPrice/index.vue @@ -377,7 +377,7 @@ export default { created() { this.getAllVersionList(); this.getList(); - this.getJobVersionInfo(); + //this.getJobVersionInfo(); }, beforeDestroy() { clearInterval(this.timer); @@ -546,32 +546,32 @@ export default { this.JobversionValue = params.value; this.getList(); }, - getJobVersionInfo() { - //取版本列表信息 - //this.listLoading = true; - this.listQuery.SkipCount = (this.page - 1) * 1000; - this.$axios - .posts("/api/settleaccount/Job/versionlist", this.listQuery) - .then((response) => { - let res = response.reverse(); //降序排列 - this.JobVersionList = []; - res.forEach((element, index) => { - let options = {}; - options.value = element; - options.label = element; - this.JobVersionList.push(options); - }); - if (JSON.stringify(this.JobVersionList) != "[]") { - //因版本下拉有默认值,所以详表要自动绑定子表数据 - this.JobversionValue = this.JobVersionList[0].value; - this.JobversionValueVerson = this.JobVersionList[0].label; - this.getList(); - } - }) - .catch(() => { - //this.listLoading = false; - }); - }, + // getJobVersionInfo() { + // //取版本列表信息 + // //this.listLoading = true; + // this.listQuery.SkipCount = (this.page - 1) * 1000; + // this.$axios + // .posts("/api/settleaccount/Job/versionlist", this.listQuery) + // .then((response) => { + // let res = response.reverse(); //降序排列 + // this.JobVersionList = []; + // res.forEach((element, index) => { + // let options = {}; + // options.value = element; + // options.label = element; + // this.JobVersionList.push(options); + // }); + // if (JSON.stringify(this.JobVersionList) != "[]") { + // //因版本下拉有默认值,所以详表要自动绑定子表数据 + // this.JobversionValue = this.JobVersionList[0].value; + // this.JobversionValueVerson = this.JobVersionList[0].label; + // this.getList(); + // } + // }) + // .catch(() => { + // //this.listLoading = false; + // }); + // }, handleCheckedCitiesChange(value) { alert(value); @@ -606,7 +606,7 @@ export default { this.formLoading = true; this.$axios .gets( - "/api/settleaccount/ReportMakeService/BomDiffPrice-Make", + "/api/settleaccount/PriceList/BomDiffPrice-Make", this.listExportQuery ) .then((res) => { @@ -634,7 +634,7 @@ export default { this.formLoading = true; this.$axios .gets( - "/api/settleaccount/ReportMakeService/BomDiffPrice-Make", + "/api/settleaccount/PriceList/BomDiffPrice-Make", this.listExportQuery ) .then((res) => { @@ -787,7 +787,7 @@ export default { this.listQuery.name = "Bom定价差异明细"; //this.listQuery.type = this.JobversionValue; this.$axios - .posts("/api/settleaccount/Job/list", this.listQuery) + .posts("/api/settleaccount/PriceList/job/list", this.listQuery) .then((response) => { this.list = response; //动态加一个是否编辑的标识 diff --git a/vue/src/views/ux/billManage/UnSettledSum/index.vue b/vue/src/views/ux/billManage/UnSettledSum/index.vue index 10f1d90c..5499db57 100644 --- a/vue/src/views/ux/billManage/UnSettledSum/index.vue +++ b/vue/src/views/ux/billManage/UnSettledSum/index.vue @@ -623,7 +623,7 @@ export default { this.listExportQuery.version = this.formCount.versionValue; //版本 console.log( - "结算未结寄售核对表-导出条件:" + JSON.stringify(this.listExportQuery) + "结算未结寄售核对表-条件:" + JSON.stringify(this.listExportQuery) ); this.$axios .posts( @@ -711,6 +711,7 @@ export default { downloadErrData(param) { this.listLoading = true; let fileNameOfProject = param; + console.log("下载文件名:"+JSON.stringify(fileNameOfProject)) this.$axios .BolbGets( "/api/settleaccount/getblobfile/download/" + fileNameOfProject @@ -769,6 +770,7 @@ export default { }, handleDownload(row) { if (row.stateName == "Succeeded") { + console.log("文件名:"+JSON.stringify(row.downFileName)) this.downloadErrData(row.downFileName); } else if (row.stateName == "Failed") { this.downloadErrData(row.error); diff --git a/vue/src/views/ux/billManage/kanbanOutOrder/index.vue b/vue/src/views/ux/billManage/kanbanOutOrder/index.vue index 82f20508..f7f15999 100644 --- a/vue/src/views/ux/billManage/kanbanOutOrder/index.vue +++ b/vue/src/views/ux/billManage/kanbanOutOrder/index.vue @@ -11,6 +11,15 @@ class="search-container" @keyup.enter.native="handleFilter" /> + 搜索 + 重置 { this.list = response.items; //alert(JSON.stringify(response.Items)) this.totalCount = response.totalCount; - //动态加一个是否编辑的标识 + //动态加一个是否编辑的标识 this.list.forEach((element) => { element["isEditCell"] = false; }); @@ -382,10 +398,28 @@ export default { }); }, /** 筛选操作 */ + // handleFilter() { + // this.page = 1; + // this.getList(); + // this.listQuery.Filters = []; + // if (this.searchContent != "") { + // var column = "billNum"; + // let filter = { + // logic: 0, + // column: column, + // action: 6, + // value: this.searchContent, + // }; + // this.listQuery.Filters.push(filter); + // } + // this.getList(); + // }, + //resetQuery() {}, + /** 筛选操作 */ handleFilter() { this.page = 1; this.getList(); - this.listQuery.Filters = []; + let Filter = []; if (this.searchContent != "") { var column = "billNum"; let filter = { @@ -394,11 +428,30 @@ export default { action: 6, value: this.searchContent, }; - this.listQuery.Filters.push(filter); + Filter.push(filter); } + if (this.searchVersion != "") { + var column = "version"; + let filter = { + logic: 0, + column: column, + action: 6, + value: this.searchVersion, + }; + Filter.push(filter); + } + console.log("筛选条件" + JSON.stringify(Filter)); + this.listQuery.Filters = Filter; + + this.getList(); + }, + resetQuery() { + this.searchContent = ""; + this.searchVersion = ""; + this.listQuery.Filters = []; + this.listQuery.SkipCount = 1; this.getList(); }, - resetQuery() {}, sortChange(data) { const { prop, order } = data; if (!prop || !order) { diff --git a/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue b/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue index a540fd58..be060bbc 100644 --- a/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue +++ b/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue @@ -11,6 +11,15 @@ class="search-container" @keyup.enter.native="handleFilter" /> + 搜索 + 重置 搜索 + 重置 + + 搜索 + 重置 +