chenhaozhe
2025-11-20 fef9871c3efaa8ba8f1c4ba09cd3cc8f55a6351d
src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
@@ -613,7 +613,7 @@
import dayjs from "dayjs";
export default {
  name: "GySource",
  name: "Cg_POOrderBillList",
  components: { RowSettings, gySource },
  props: {
    openPage: { type: String },
@@ -630,7 +630,7 @@
      openPrintList: false,
      printListShow: false,
      HClassTag: "ForFilteringSchemes", //过滤条件的class类
      HBillType: "1202",
      HBillType: "1102",
      openBtnHide: false,
      btnHideShow: false,
      rowHideShow: false,
@@ -680,7 +680,6 @@
      OperationType: null, //保存类型(新增1修改3)
      HInterID: null,
      baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/",
      user: "admin",
      currentRow: [],
      lastSelectedRowIndex: null, // 用于记录上次点击的行索引
      lastSelectedRow: null, // 上一次选中的行
@@ -781,7 +780,8 @@
  },
  created() {
    this.riqiChange();
    this.getList();
    // this.getList();
    this.handleQuery();
  },
  beforeDestory() {
    delete window.editGyClose;
@@ -926,7 +926,7 @@
        .get(this.baseURL + "/Cg_POOrderBill/page", {
          params: {
            sWhere: this.sWhere,
            user: this.user,
            user: sessionStorage["HUserName"],
            page: this.page,
            size: this.pageSize,
          },
@@ -1015,7 +1015,12 @@
              }
            }
            option.data = result;
            this.DisPlay_HideColumn(this.HModName, this.user, option, this.dataList);
            this.DisPlay_HideColumn(
              this.HModName,
              sessionStorage["HUserName"],
              option,
              this.dataList
            );
          }
        })
        .catch((error) => {
@@ -1317,7 +1322,7 @@
        .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
          params: {
            HModName: this.HModName,
            user: this.user,
            user: sessionStorage["HUserName"],
            HOrgID: this.zuzhiId,
          },
        })
@@ -1400,7 +1405,10 @@
          if (!this.rowForm.审核人) {
            axios
              .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", {
                params: { HInter: this.rowForm.HInterID.toString(), user: this.user },
                params: {
                  HInter: this.rowForm.HInterID.toString(),
                  user: sessionStorage["HUserName"],
                },
              })
              .then((response) => {
                if (response.data.count == 1) {
@@ -1425,7 +1433,11 @@
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Cg_POOrderBill/AuditCg_POOrderBill", {
          params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
          params: {
            HInterID: InterID,
            IsAudit: num,
            CurUserName: sessionStorage["HUserName"],
          },
        })
        .then((response) => {
          let result = response.data;
@@ -1448,7 +1460,7 @@
          params: {
            HInterID: HInterID,
            Type: num,
            user: this.user,
            user: sessionStorage["HUserName"],
          },
        });
@@ -1475,7 +1487,7 @@
              HInterID: HInterID,
              HEntryID: HEntryID,
              ISAudit: num,
              CurUserName: this.user,
              CurUserName: sessionStorage["HUserName"],
            },
          }
        );
@@ -1499,7 +1511,7 @@
          params: {
            HInterID: HInterID,
            Type: num,
            user: this.user,
            user: sessionStorage["HUserName"],
          },
        });
@@ -1520,7 +1532,11 @@
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
          params: { HInterID: InterID, IsStop: num, CurUserName: this.user },
          params: {
            HInterID: InterID,
            IsStop: num,
            CurUserName: sessionStorage["HUserName"],
          },
        })
        .then((response) => {
          let result = response.data;
@@ -1586,7 +1602,7 @@
        }
      }
      var sSubStr = JSON.stringify(num);
      var sMainSub = sSubStr + "&和" + this.user;
      var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"];
      axios({
        method: "post",
        url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",