| | |
| | | v-for="(item, index) in organizationList" |
| | | :key="index" |
| | | :label="item.Name" |
| | | :value="item.ID" |
| | | :value="item.ID.toString()" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | 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, // 用于记录上次点击的行索引 |
| | |
| | | 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) => { |
| | |
| | | .catch((error) => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }) |
| | | .catch((error) => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | |
| | | }, |
| | | getdata() { |
| | | this.reset(); |
| | |
| | | HHelpCode: data.助记码, |
| | | HRemark: data.备注, |
| | | HSPGroupID: data.HSPGroupID, |
| | | HSPGroupName: data.所属仓位, |
| | | HSPGroupName: data.所属仓库, |
| | | HStopflag: data.禁用标记 == "Y" ? true : false, |
| | | HStandard: data.默认仓位 == "Y" ? true : false, |
| | | }, |