| | |
| | | printClick() { |
| | | const routeUrl = this.$router.resolve({ path: '/hBarPlanPrint',query:{linterid:this.linterid.toString(),Type:this.Type.toString(),OpenTmp: encodeURIComponent(this.rowForm.模板名称)} }); |
| | | window.open(routeUrl.href, '_blank'); |
| | | // window.open("/hBarPlanPrint", '_blank'); |
| | | |
| | | }, |
| | | getDisplay() { |
| | | // var vars = [], hash; |
| | | // var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | | // for (var i = 0; i < hashes.length; i++) { |
| | | // hash = hashes[i].split('='); |
| | | // vars.push(hash[0]); |
| | | // vars[hash[0]] = hash[1]; |
| | | // } |
| | | // var params = vars; |
| | | // console.log(params) |
| | | // var linterid = params[params[0]]; |
| | | // var MyMsg = params[params[1]]; |
| | | // var Type = params[params[2]]; |
| | | // console.log(Type) |
| | | // return vars; |
| | | |
| | | this.loading = true |
| | | // this.HModName = "Kf_SellOutBillList" |
| | | axios.get(this.baseURL + '/Open_PrintTem/GetOpenTmpList_Json', { |
| | | params: { "HNumber": this.Type }, |
| | | }).then(response => { |