| | |
| | | // 仓库同步 |
| | | 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", |
| | |
| | | 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) { |
| | |
| | | this.queryParams.HOrgID = data.HUSEORGID; |
| | | this.user = data.Czymc; |
| | | axios |
| | | .get(this.baseURL + "/Web/GetOrganizations", {}) |
| | | .get(this.$baseUrl + "/Web/GetOrganizations", {}) |
| | | .then((response) => { |
| | | if (response.data.count == 1) { |
| | | this.organizationList = response.data.data; //组织列表 |
| | |
| | | this.sWhere += ""; |
| | | //生产资料列表 |
| | | axios |
| | | .get(this.baseURL + "/Gy_WareHouse/listpage", { |
| | | .get(this.$baseUrl + "/Gy_WareHouse/listpage", { |
| | | params: { |
| | | sWhere: `${this.sWhere}`, |
| | | user: this.user, |
| | |
| | | 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, |
| | |
| | | getOrgIDByUser() { |
| | | var res = ""; |
| | | axios |
| | | .get(this.baseURL + "/Xt_User/getOrgIDListByUser", { |
| | | .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", { |
| | | params: { |
| | | HModName: this.HModName, |
| | | user: this.user, |
| | |
| | | .then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | axios |
| | | .get(this.baseURL + "/DeltetGy_Warehouse", { |
| | | .get(this.$baseUrl + "/DeltetGy_Warehouse", { |
| | | params: { HItemID: this.rowForm.HItemID.toString(), user: this.user }, |
| | | }) |
| | | .then((response) => { |
| | |
| | | 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, CurUserName: this.user }, |
| | | }) |
| | | .then((response) => { |
| | |
| | | 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, CurUserName: this.user }, |
| | | }) |
| | | .then((response) => { |
| | |
| | | var sMainSub = sSubStr + "&和" + this.user; |
| | | axios({ |
| | | method: "post", |
| | | url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel", |
| | | url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel", |
| | | data: { |
| | | sMainSub: sMainSub, |
| | | }, |