| | |
| | | } |
| | | this.printListShow = true; |
| | | this.openPrintList = true; |
| | | // axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", { |
| | | // axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", { |
| | | // params: { HInterID: this.rowForm.hmainid }, |
| | | // }) |
| | | // .then((response) => { |
| | |
| | | }, |
| | | ToolBatch() { |
| | | if (this.HMinQty2 == 0 && this.HMaterID) { |
| | | axios.get(this.baseURL + '/Sc_BarCode/Batch', { |
| | | axios.get(this.$baseUrl + '/Sc_BarCode/Batch', { |
| | | params: { |
| | | "HMaterID": this.HMaterID, "HBatchNo": this.HBatchNo |
| | | }, |
| | |
| | | SaveBarCodeCreate(sMainSub, CampanyName) { |
| | | axios({ |
| | | method: 'post', |
| | | url: this.baseURL + "/Sc_BarCode/Sub_SaveBill", |
| | | url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill", |
| | | data: { |
| | | "msg": sMainSub, "CampanyName": CampanyName |
| | | }, |
| | |
| | | }, |
| | | set_HBarCodeType() { |
| | | //获取条码类型代码 |
| | | axios.get(this.baseURL + '/Sc_BarCode/GetHBarCodeTypeBill').then(response => { |
| | | axios.get(this.$baseUrl + '/Sc_BarCode/GetHBarCodeTypeBill').then(response => { |
| | | let result = response.data |
| | | if (result.count == 1) { |
| | | this.HBarCodeTypeList = result.list |
| | |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | axios.get(this.baseURL + '/Sc_BarCode/GetHWorksNumberBill').then(response => { |
| | | axios.get(this.$baseUrl + '/Sc_BarCode/GetHWorksNumberBill').then(response => { |
| | | let result = response.data |
| | | if (result.count == 1) { |
| | | this.HWorksNumberList = result.list |
| | |
| | | //通过选择的源单主子内码查找详细信息 |
| | | axios({ |
| | | method: 'post', |
| | | url: this.baseURL + "/Sc_BarCode/SelectReportFromBillList", |
| | | url: this.$baseUrl + "/Sc_BarCode/SelectReportFromBillList", |
| | | data: { |
| | | "msg": Str |
| | | }, |
| | |
| | | }, |
| | | //根据用户获取对应职员、部门、销售主管 |
| | | 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] |
| | |
| | | handleUpdate() { |
| | | this.reset() |
| | | let rowHmainid = this.linterid |
| | | axios.get(this.baseURL + "/Kf_SellOutBill/cx", { |
| | | axios.get(this.$baseUrl + "/Kf_SellOutBill/cx", { |
| | | params: { 'HInterID': rowHmainid } |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | |
| | | }, |
| | | //根据客户带出联系人、联系电话 |
| | | getCustomerByCusID(HCusID) { |
| | | axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", { |
| | | axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", { |
| | | params: { |
| | | HCusID: HCusID |
| | | } |