| | |
| | | }, |
| | | |
| | | loadOrganizations() { |
| | | axios.get(`${this.baseURL}/Web/GetOrganizations`) |
| | | axios.get(`${this.$baseUrl}/Web/GetOrganizations`) |
| | | .then(response => { |
| | | if (response.data.count === 1) { |
| | | this.organizationList = response.data.data |
| | |
| | | |
| | | |
| | | getMaxBillID() { |
| | | axios.get(`${this.baseURL}/Gy_Customer/GetMAXBillID`) |
| | | axios.get(`${this.$baseUrl}/Gy_Customer/GetMAXBillID`) |
| | | .then(response => { |
| | | console.log('Max Bill ID:', response.data) |
| | | }) |
| | |
| | | |
| | | // 设置流水号 |
| | | setHNumber(typeID) { |
| | | axios.get(`${this.baseURL}/Gy_Customer/getMaxNum`, { |
| | | axios.get(`${this.$baseUrl}/Gy_Customer/getMaxNum`, { |
| | | params: { |
| | | HCusTypeID: typeID, |
| | | user: this.user, |
| | |
| | | }, |
| | | |
| | | loadEditData(interId) { |
| | | axios.get(`${this.baseURL}/Gy_Customer/xg_extendCheckEmp`, { |
| | | axios.get(`${this.$baseUrl}/Gy_Customer/xg_extendCheckEmp`, { |
| | | params: { HInterID: interId } |
| | | }) |
| | | .then(response => { |
| | |
| | | const formData = { ...this.formData } |
| | | formData.HStopflag = formData.HStopflag ? 'true' : 'false' |
| | | |
| | | let url = `${this.baseURL}/Gy_Customer/AddBill` |
| | | let url = `${this.$baseUrl}/Gy_Customer/AddBill` |
| | | let params = { oMain: JSON.stringify(formData) + ';' + this.user } |
| | | |
| | | if (this.operationType === 3) { |
| | | // 编辑保存 |
| | | url = `${this.baseURL}/Gy_Customer/AddBill1` |
| | | url = `${this.$baseUrl}/Gy_Customer/AddBill1` |
| | | params = { |
| | | oMain: JSON.stringify(formData) + ';' + this.linterid + ';' + this.user + ';Gy_Customer_Edit' |
| | | } |
| | |
| | | |
| | | // 审核 |
| | | handleAudit() { |
| | | axios.get(`${this.baseURL}/Gy_Customer/AuditGy_Customer`, { |
| | | axios.get(`${this.$baseUrl}/Gy_Customer/AuditGy_Customer`, { |
| | | params: { |
| | | HInterID: this.linterid, |
| | | IsAudit: 0, |