wangyi
2026-01-19 7fb0a8f0ab16c149484bf043754cd10cfa94de2f
src/views/basic/gyCurrency/gyCurrency.vue
@@ -808,7 +808,7 @@
    defaintOperationByCompanyName() {
      var result = false;
      axios
        .get(this.baseURL + "/Xt_getInfo/getCompanyName")
        .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
        .then((res) => {
          var data1 = res.data;
          if (data1.count == 1) {
@@ -905,7 +905,7 @@
      }
    
      try {
        let res = await axios.get(this.baseURL + "/Gy_Currency/list1", {
        let res = await axios.get(this.$baseUrl + "/Gy_Currency/list1", {
          params: {
            sWhere: this.sWhere,
            user: sessionStorage["HUserName"],
@@ -1009,7 +1009,7 @@
    DisPlay_HideColumn(HModName, user, option, dataOption) {
      this.totalNameList = [];
      axios
        .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
        .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
          params: {
            HModName: HModName,
            user: user,
@@ -1164,7 +1164,7 @@
    },
    //选中行高亮样式
    rowStyle({ row, rowIndex }) {
      if (this.ids.includes(row.hmainid)) {
      if (this.ids.includes(row.HItemID)) {
        return { background: "#ecf5ff" };
      }
    },
@@ -1186,11 +1186,22 @@
    // 多选框选中数据
    handleSelectionChange(selection) {
      // this.rowForm = {}
      this.ids = selection.map((item) => item.hmainid);
      this.single = selection.length != 1;
      this.multiple = !selection.length;
      if (!this.single) {
      if (this.openPage) {
        //列表单选
        if (selection.length > 1) {
          const del_row = selection.shift();
          this.$refs.tableData.toggleRowSelection(del_row, false); //设置这一行取消选中
        }
        this.rowForm = {};
        this.ids = selection.map((item) => item.HItemID);
        this.rowForm = selection[0];
      } else {
        this.ids = selection.map((item) => item.HItemID);
        this.single = selection.length != 1;
        this.multiple = !selection.length;
        if (!this.single) {
          this.rowForm = selection[0];
        }
      }
    },
    //打开侧边搜索弹窗
@@ -1303,7 +1314,7 @@
    getOrgIDByUser() {
      var res = "";
      axios
        .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
        .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
          params: {
            HModName: this.HModName,
            user: sessionStorage["HUserName"],
@@ -1388,7 +1399,7 @@
        .then(() => {
          if (!this.rowForm.审核人) {
            axios
              .get(this.baseURL + "DeltetGy_Currency", {
              .get(this.$baseUrl + "DeltetGy_Currency", {
                params: {
                  HInterID: this.rowForm.hmainid.toString(),
                  user: sessionStorage["HUserName"],
@@ -1416,7 +1427,7 @@
      var InterID = form.HItemID || form.HInterID || form.hmainid;
      //逻辑审核方法
      axios
        .get(this.baseURL + "Gy_Currency/AuditGy_Currency", {
        .get(this.$baseUrl + "Gy_Currency/AuditGy_Currency", {
          params: {
            HInterID: InterID,
            IsAudit: num,
@@ -1442,7 +1453,7 @@
      try {
        let res = await axios
        .get(
          this.baseURL + "/Gy_Currency/StopGy_Currency",
          this.$baseUrl + "/Gy_Currency/StopGy_Currency",
          {
            params: {
              HInterID: HInterID,
@@ -1468,7 +1479,7 @@
    //   let HInterID = form.HItemID || form.HInterID || form.hmainid;
    //   try {
    //     let res = await axios.get(
    //       `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`,
    //       `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`,
    //       {
    //         params: {
    //           HInterID: HInterID,
@@ -1495,7 +1506,7 @@
    //   let HEntryID = form.HEntryID || form.hsubid;
    //   try {
    //     let res = await axios.get(
    //       `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
    //       `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
    //       {
    //         params: {
    //           HInterID: HInterID,
@@ -1522,7 +1533,7 @@
    //   let HInterID = form.HItemID || form.HInterID || form.hmainid;
    //   try {
    //     let res = await axios.get(
    //       `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`,
    //       `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`,
    //       {
    //         params: {
    //           HInterID: HInterID,
@@ -1548,7 +1559,7 @@
      var InterID = form.HItemID || form.HInterID;
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
        .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
          params: {
            HInterID: InterID,
            IsStop: num,
@@ -1622,7 +1633,7 @@
      var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"];
      axios({
        method: "post",
        url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
        url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
        data: {
          sMainSub: sMainSub,
        },