| | |
| | | this.pageSize = 50 |
| | | } |
| | | // 分页查询 |
| | | axios.get(this.baseURL + '/Sc_MouldProdOutBillController/page', { |
| | | axios.get(this.$baseUrl + '/Sc_MouldProdOutBillController/page', { |
| | | params: { |
| | | "sWhere": this.sWhere, |
| | | "user": sessionStorage["HUserName"], |
| | |
| | | }, |
| | | 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, |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | this.$modal.confirm('确认要删除吗,删除后不能恢复').then(() => { |
| | | axios.get(this.baseURL + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Delete_Json", { |
| | | axios.get(this.$baseUrl + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_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 + "/Sc_MouldProdOutBill/AuditMouldProdOutBill", { |
| | | axios.get(this.$baseUrl + "/Sc_MouldProdOutBill/AuditMouldProdOutBill", { |
| | | params: { "HInterID": InterID, "flag": num, "user": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |
| | |
| | | }).then(({ value }) => { |
| | | const newPallet = parseInt(value) |
| | | |
| | | return axios.post(this.baseURL + '/Sc_MouldProdOutBill/UpdatePallet', { |
| | | return axios.post(this.$baseUrl + '/Sc_MouldProdOutBill/UpdatePallet', { |
| | | hmainid: rowData.hmainid, |
| | | newPallet: newPallet, |
| | | operator: sessionStorage["HUserName"] |
| | |
| | | } 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 == "水务") { |