wangyi
2026-01-19 7fb0a8f0ab16c149484bf043754cd10cfa94de2f
src/views/basic/gyWarehouse/gyWarehouse.vue
@@ -360,9 +360,10 @@
                <span v-if="column.property.includes('日期')">{{
                  parseTime(row[column.property], "{y}-{m}-{d}")
                }}</span>
                <el-button
                  type="text"
                  @click="handleEdit(row, (OperationType = 3))"
                  @click.stop="handleEdit(row, (OperationType = 3))"
                  v-else-if="column.property == '仓库代码'"
                  >{{ row.仓库代码 }}</el-button
                >
@@ -640,7 +641,7 @@
    // 仓库同步
    async handleSync() {
      try {
        let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
        let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
          params: {
            Number: this.queryParams.HSyncNumber,
            Type: "CK",
@@ -690,7 +691,7 @@
    defaintOperationByCompanyName() {
      var result = false;
      axios
        .get(this.baseURL + "/Xt_getInfo/getCompanyName")
        .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
        .then((response) => {
          var data1 = response.data;
          if (data1.count == 1) {
@@ -779,7 +780,7 @@
      this.sWhere += "";
      //生产资料列表
      axios
        .get(this.baseURL + "/Gy_WareHouse/listpage", {
        .get(this.$baseUrl + "/Gy_WareHouse/listpage", {
          params: {
            sWhere: `${this.sWhere}`,
            user: sessionStorage["HUserName"],
@@ -887,7 +888,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,
@@ -1033,7 +1034,7 @@
    handleRowClick(row, column, event) {
      this.lastSelectedRow = this.selectedRow; // 记录上一次选中的行
      this.selectedRow = row; // 记录当前选中的行
      if (this.checkIsIframe) {
      if (this.checkIsIframe()) {
        // 将当前选中的数据暴露到window中
        window.selectedRow = row;
      }
@@ -1057,7 +1058,7 @@
    },
    //双击行
    handleDblclick(row, column, cell, event) {
      if (this.checkIsIframe) {
      if (this.checkIsIframe()) {
        // IFrame 双击 返回当前双击的数据
        window.parent.iframeWareHouseCallBack(row);
        return;
@@ -1066,7 +1067,7 @@
      if (this.openPage) {
        this.$emit("deptEmitDb", row, 2);
      } else {
        this.handleEdit();
        this.handleEdit(row);
      }
    },
    // 多选框选中数据
@@ -1198,7 +1199,7 @@
    getOrgIDByUser() {
      var res = "";
      axios
        .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
        .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
          params: {
            HModName: this.HModName,
            user: sessionStorage["HUserName"],
@@ -1263,7 +1264,9 @@
      });
    },
    //打开修改组件弹窗
    handleEdit() {
    handleEdit(row) {
      this.rowForm = row
      this.$nextTick(() => {
        this.openEdit = true;
        this.editShow = true;
@@ -1282,7 +1285,7 @@
        .then(() => {
          if (!this.rowForm.审核人) {
            axios
              .get(this.baseURL + "/DeltetGy_Warehouse", {
              .get(this.$baseUrl + "/DeltetGy_Warehouse", {
                params: {
                  HItemID: this.rowForm.HItemID.toString(),
                  user: sessionStorage["HUserName"],
@@ -1310,7 +1313,7 @@
      var InterID = form.HItemID || form.HInterID;
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
        .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
          params: {
            HInterID: InterID,
            IsAudit: num,
@@ -1335,7 +1338,7 @@
      var InterID = form.HItemID || form.HInterID;
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
        .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
          params: {
            HInterID: InterID,
            IsStop: num,
@@ -1409,7 +1412,7 @@
      var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"];
      axios({
        method: "post",
        url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
        url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
        data: {
          sMainSub: sMainSub,
        },