diff --git a/vue/src/views/ux/vw/dataInput/hq_h_report/index.vue b/vue/src/views/ux/vw/dataInput/hq_h_report/index.vue index 19fdfc5f..ad9e1053 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_report/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_report/index.vue @@ -1038,8 +1038,9 @@ export default { this.$axios .posts("/api/settleaccount/Job/versionlist", this.listQuery) .then((response) => { + let res = response.reverse(); //降序排列 this.JobVersionList = []; - response.forEach((element) => { + res.forEach((element, index) => { let options = {}; options.value = element; options.label = element; @@ -1056,6 +1057,31 @@ export default { //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) => { + // this.JobVersionList = []; + // response.forEach((element) => { + // 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; + // }); + // }, submiteBillNo() { var getkeenCodeNo = this.pasterValue.substring( 0, @@ -1377,7 +1403,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "H平台核对明细"; + this.listQuery.name = "红旗工厂核对明细"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery)