| | |
| | | |
| | | //#region 加载组织下拉列表数据 |
| | | fetchData() { |
| | | axios.get(this.baseURL + "/Web/GetOrganizations", { |
| | | axios.get(this.$baseUrl + "/Web/GetOrganizations", { |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | | this.organizationList = response.data.data;//组织列表 |
| | |
| | | this.loading = true |
| | | |
| | | // 列表查询 |
| | | axios.get(this.baseURL + '/Kf_ProductInBillController/GetKf_ProductInBillList_Json', { |
| | | axios.get(this.$baseUrl + '/Kf_ProductInBillController/GetKf_ProductInBillList_Json', { |
| | | params: { |
| | | "sWhere": this.sWhere, |
| | | "HMaker": sessionStorage["HUserName"], |
| | |
| | | handleDelete() { |
| | | this.$modal.confirm('确认要删除吗,删除后不能恢复').then(() => { |
| | | if (this.rowForm.状态 == "创建") { |
| | | axios.get(this.baseURL + "Kf_ProductInBillController/GetKf_ProductInBill_Delete_Json", { |
| | | axios.get(this.$baseUrl + "Kf_ProductInBillController/GetKf_ProductInBill_Delete_Json", { |
| | | params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | |
| | | set_CheckBill(num, form) { |
| | | var InterID = form.hmainid || form.HInterID |
| | | //逻辑审核方法 |
| | | axios.get(this.baseURL + "/Kf_ProductInBillController/GetKf_ProductInBill_Check_Json", { |
| | | axios.get(this.$baseUrl + "/Kf_ProductInBillController/GetKf_ProductInBill_Check_Json", { |
| | | params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |
| | |
| | | }, |
| | | DisPlay_HideColumn(HModName, user, option, dataOption) { |
| | | this.totalNameList = [] |
| | | axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', { |
| | | axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', { |
| | | params: { |
| | | "HModName": HModName, |
| | | "user": user, |
| | |
| | | } else if (this.rowForm.状态 != "已审核" && !this.defaintOperationByCompanyName()) { |
| | | this.$modal.msgError("打印失败!原因:单据状态不为'已审核'状态!!"); |
| | | } else { |
| | | axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", { |
| | | axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", { |
| | | params: { "HInterID": this.rowForm.hmainid } |
| | | }).then(response => { |
| | | var result = response.data |
| | |
| | | //#region 获取公司名,根据公司进行定制化开发 |
| | | defaintOperationByCompanyName() { |
| | | var result = false; |
| | | axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => { |
| | | axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => { |
| | | var data1 = response.data |
| | | if (data1.count == 1) { |
| | | if (data1.data == "水务") { |