diff --git a/src/views/inventory/InvStatistics.vue b/src/views/inventory/InvStatistics.vue index 6d0d84a..8b1ad0d 100644 --- a/src/views/inventory/InvStatistics.vue +++ b/src/views/inventory/InvStatistics.vue @@ -235,7 +235,6 @@ export default { this.filterQuery.customerId = store.getters.customerId; stockStatistics(this.filterQuery) .then((response) => { - console.log(response) this.showSup = response.data.showSup; this.loading = false; this.list = response.data.list || []; diff --git a/src/views/thrsys/ThrProductsCheck.vue b/src/views/thrsys/ThrProductsCheck.vue index b3ec7c0..87076f0 100644 --- a/src/views/thrsys/ThrProductsCheck.vue +++ b/src/views/thrsys/ThrProductsCheck.vue @@ -42,11 +42,11 @@ > - {{ item.companyName }} + {{ item.name }} @@ -156,7 +156,7 @@ import {getBasicThirdSys, filterDetailByKey} from "../../api/basic/basicThirdSys import {selectIp} from "../../api/param/systemParamConfig"; import thrProductsDetail from "./ThrProductsDetail"; import ThrProductsAdd from "@/views/thrsys/ThrProductsAdd"; -import {filterCustomers} from "@/api/auth/customer"; +import {getBasicUnitMaintains2} from "@/api/basic/basicUnitMaintain"; export default { data() { @@ -311,11 +311,9 @@ export default { this.getList(); }, handleChange(response, files, fileList) { - console.log(response); if (response.code != 20000) { this.$message.error(response.message); } else { - console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); this.$message.success("文件上传成功,请稍后刷新查看!"); } }, @@ -347,6 +345,7 @@ export default { if (res.code == 20000) { this.getList(); this.checkVisible = false; + this.$message.success("操作成功"); } else { this.$message.error(error.message); } @@ -355,20 +354,16 @@ export default { }) }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, customerName: query, - }; - filterCustomers(cQuery) - .then((response) => { - this.fromOptions = response.data.list || []; - }) - .catch(() => { - this.fromOptions = []; - }); + getBasicUnitMaintains2(cQuery).then((res) => { + this.fromOptions = res.data.list || []; + }).catch(() => { + this.fromOptions = []; + }) }, }, components: { diff --git a/src/views/userManage/forgetPasswd.vue b/src/views/userManage/forgetPasswd.vue index 251507c..6549a74 100644 --- a/src/views/userManage/forgetPasswd.vue +++ b/src/views/userManage/forgetPasswd.vue @@ -215,7 +215,6 @@ } }); } else { - console.log("error submit!!"); return false; } }); @@ -265,7 +264,6 @@ handleChange(value) { this.inputQuery.area = CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]]; - console.log(value + "\n" + this.inputQuery.area); }, }, }; diff --git a/src/views/userManage/register.vue b/src/views/userManage/register.vue index 9e5ab8c..347de78 100644 --- a/src/views/userManage/register.vue +++ b/src/views/userManage/register.vue @@ -665,7 +665,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -680,7 +679,6 @@ export default { this.loading = false; this.inputQuery = response.data; this.inputQuery.bussinessStatus = "2"; - console.log(this.inputQuery) this.selectedOptions = this.inputQuery.areaCode.split(","); }); }, @@ -738,7 +736,6 @@ export default { handleChange(value) { this.inputQuery.area = CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]]; - console.log(value + "\n" + this.inputQuery.area); this.inputQuery.areaCode = value.toString(); }, copy() { @@ -747,13 +744,11 @@ export default { let clipboard = new Clipboard('.tag-read'); clipboard.on('success', e => { - console.log('复制成功') // 释放内存 clipboard.destroy(); }); clipboard.on('error', e => { // 不支持复制 - console.log('该浏览器不支持复制') // 释放内存 clipboard.destroy() }); @@ -779,7 +774,6 @@ export default { }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, @@ -796,7 +790,6 @@ export default { }, findUdplatMethod(query) { - console.log(query); this.fromUdplatOptions = []; let cQuery = { name: query, @@ -812,11 +805,8 @@ export default { }); }, uploadHandleRemove(file, fileList) { - console.log(file, fileList); }, uploadHandlePreview(file) { - console.log(file); - console.log(this.fileList); }, uploadHandleExceed(files, fileList) { this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`); @@ -848,7 +838,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.inputQuery.licenseUrl = response.data.name; } else {