1
dytyqx
昨天 a30b3f8e6d0735fdd240de585ae596abefe62317
src/views/basic/gyCurrency/gyCurrencyEdit.vue
@@ -134,6 +134,18 @@
  },
  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中
@@ -147,6 +159,8 @@
      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;