| | |
| | | loadMaterialData(id) { |
| | | this.$modal.loading("加载中..."); |
| | | axios |
| | | .get(this.baseURL + "/Gy_Material/GetGy_MaterialDetail", { |
| | | .get(this.$baseUrl + "/Gy_Material/GetGy_MaterialDetail", { |
| | | params: { HID: id } |
| | | }) |
| | | .then(response => { |
| | |
| | | // 获取最大编号(流水号新增) |
| | | getMaxNumber(typeID) { |
| | | axios |
| | | .get(this.baseURL + "/Gy_Material/getMaxNum", { |
| | | .get(this.$baseUrl + "/Gy_Material/getMaxNum", { |
| | | params: { |
| | | HMaterTypeID: typeID, |
| | | user: this.user, |
| | |
| | | |
| | | // 发送请求 |
| | | axios |
| | | .post(this.baseURL + "Gy_Material/SaveGy_MaterialList", { |
| | | .post(this.$baseUrl + "Gy_Material/SaveGy_MaterialList", { |
| | | msg: JSON.stringify(formData) + ';' + this.user + ';' + "default" |
| | | }) |
| | | .then(response => { |
| | |
| | | if (!this.formData.HNumber) return; |
| | | |
| | | axios |
| | | .get(this.baseURL + "/Gy_Mater/Filelist", { |
| | | .get(this.$baseUrl + "/Gy_Mater/Filelist", { |
| | | params: { HNumber: this.formData.HNumber } |
| | | }) |
| | | .then(response => { |