| | |
| | | }, |
| | | methods: { |
| | | getHSourceBillType() { |
| | | axios.get(this.baseURL + "/Web/GetHSourceBillType", { |
| | | axios.get(this.$baseUrl + "/Web/GetHSourceBillType", { |
| | | params: { |
| | | "HName": '采购退料单', "Num": 2 |
| | | } |
| | |
| | | //根据主内码与子内码获取源单退料通知单数据 |
| | | getPushSource_POInStockBackInit(HSourceInterID, HSourceEntryID) { |
| | | var res = "none"; |
| | | axios.get(this.baseURL + '/Cg_POInStockBackBill/loadCg_POInStockBackBill_Push', { |
| | | axios.get(this.$baseUrl + '/Cg_POInStockBackBill/loadCg_POInStockBackBill_Push', { |
| | | params: { |
| | | "HInterID": HSourceInterID |
| | | , "HSubID": HSourceEntryID |
| | |
| | | // 根据主内码与子内码获取源单采购入库单数据 |
| | | getPushSource_POStockInBillInit(HSourceInterID, HSourceEntryID) { |
| | | var res = "none"; |
| | | axios.get(this.baseURL + '/Kf_POStockInBill/loadKf_POStockInBillEdit_Push', { |
| | | axios.get(this.$baseUrl + '/Kf_POStockInBill/loadKf_POStockInBillEdit_Push', { |
| | | params: { |
| | | "HInterID": HSourceInterID |
| | | , "HSubID": HSourceEntryID |
| | |
| | | }, |
| | | //根据用户获取对应职员、部门、销售主管 |
| | | getCzyglByUser() { |
| | | axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', { |
| | | axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', { |
| | | params: { "CurUserName": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let dataForm = response.data.data[0] |
| | |
| | | }) |
| | | }, |
| | | getHBillNo() { |
| | | axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", { |
| | | axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", { |
| | | params: { |
| | | HBillType: '1239' |
| | | } |
| | |
| | | handleUpdate() { |
| | | this.reset() |
| | | let rowHmainid = this.linterid |
| | | axios.get(this.baseURL + "/Kf_POStockInBackBill/cx", { |
| | | axios.get(this.$baseUrl + "/Kf_POStockInBackBill/cx", { |
| | | params: { 'HInterID': rowHmainid } |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + this.OperationType + ";" + sessionStorage["HUserName"] + ';' + sAllStr; |
| | | axios({ |
| | | method: 'post', |
| | | url: this.baseURL + "/Kf_POStockInBackBill/POStockInBackBillEdit", |
| | | url: this.$baseUrl + "/Kf_POStockInBackBill/POStockInBackBillEdit", |
| | | data: { |
| | | 'sMainSub': sMainSub |
| | | }, |
| | |
| | | // 反审核/审核数据 |
| | | set_CheckBill(num) { |
| | | //逻辑审核方法 |
| | | axios.get(this.baseURL + "/Kf_POStockInBackBill/AuditProcessReportList", { |
| | | axios.get(this.$baseUrl + "/Kf_POStockInBackBill/AuditProcessReportList", { |
| | | params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |