| | |
| | | }, |
| | | mounted() { |
| | | this.user = sessionStorage["HUserName"] || "admin"; |
| | | this.fetchData(); |
| | | this.getdata(); |
| | | // 币别 回调 |
| | | window.iframeCurrencyCallBack = (info) => { |
| | | // 回调赋值 |
| | | console.log(info); |
| | | this.form.HCurID = info.HItemID; |
| | | this.form.HCurName = info["货币名称"]; |
| | | this.form.HExRate = info["汇率"]; |
| | | // 关闭弹窗 |
| | | this.deptClose(); |
| | | }; |
| | | }, |
| | | methods: { |
| | | // 检查是否在iframe中 |
| | |
| | | const hID = urlParams.HInterID ? parseInt(urlParams.HInterID) : 0; |
| | | const opType = urlParams.OperationType ? parseInt(urlParams.OperationType) : 1; |
| | | |
| | | |
| | | |
| | | // 如果props没有传递,使用URL参数 |
| | | const operationType = this.OperationType || opType; |
| | | const linterid = this.linterid || hID; |