wangyi
2025-12-08 433cb65a0d6be94af5e0659e1efba0317b783c17
src/views/basic/gyWarehouse/gyWarehouseEdit.vue
@@ -95,7 +95,7 @@
                    v-for="(item, index) in organizationList"
                    :key="index"
                    :label="item.Name"
                    :value="item.ID"
                    :value="item.ID.toString()"
                  >
                  </el-option>
                </el-select>
@@ -252,7 +252,7 @@
      CheckBillDisabled: true,
      // OperationType: this.$route.query.OperationType,//保存类型(新增1修改3)
      HInterID: null,
      baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/",
      baseURL: process.env.VUE_APP_BASE_API,
      user: "admin",
      currentRow: [],
      lastSelectedRowIndex: null, // 用于记录上次点击的行索引
@@ -293,14 +293,8 @@
  methods: {
    fetchData() {
      //登录用户信息
      axios
        .get(
          "http://47.96.97.237/API/Web/GetUser?UserName=001&PassWord=123456&HOrgName=100038"
        )
        .then((response) => {
          let data = response.data.data[0];
          this.zuzhiId = data.HUSEORGID; //根据登录用户获取默认的组织ID
          this.user = data.Czymc;
          this.zuzhiId = sessionStorage["OrganizationID"]; //根据登录用户获取默认的组织ID
          this.user = sessionStorage["HUserName"];
          axios
            .get(this.baseURL + "/Web/GetOrganizations", {})
            .then((response) => {
@@ -312,10 +306,6 @@
            .catch((error) => {
              this.$modal.msgError("接口请求失败!");
            });
        })
        .catch((error) => {
          this.$modal.msgError("接口请求失败!");
        });
    },
    getdata() {
      this.reset();