chenhaozhe
2025-12-17 5f292066465e6f20d4ac7b3d151bcfad281c16b8
src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue
@@ -564,7 +564,7 @@
      deptform: {}, //弹窗选中数据
      openData: false, //数据弹窗
      dialogTitle: "",
      organizationList: [], //组织列表
      organizationList: JSON.parse(sessionStorage.getItem('organizationList')), //组织列表
      subDisabled: false, //编辑页面保存按钮是否禁用(true禁用,false可用)
      // OperationType: this.$route.query.OperationType,//保存类型(新增1修改2)
      HInterID: 0,
@@ -628,27 +628,9 @@
    };
  },
  created() {
    this.fetchData();
    this.getdata();
    this.getdata()
  },
  methods: {
    StockInOrgChangeHandler() {
        this.editData.forEach(element => {
          element.HSTOCKORGINID = this.form.HSTOCKINORGID
        });
    },
    fetchData() {
      axios
        .get(this.baseURL + "/Web/GetOrganizations", {})
        .then((response) => {
          if (response.data.count == 1) {
            this.organizationList = response.data.data; //组织列表
          }
        })
        .catch((error) => {
          this.$modal.msgError("接口请求失败!");
        });
    },
    getdata() {
      this.formShow = false;
      this.formLoading = true;