From cdf4d3f700b17f4535397ebbf5377ff6f0e2166a Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 26 Jul 2022 14:57:53 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=9F=A5=E8=AF=A2=E6=A1=86=E5=9C=A8=E9=9D=9E=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=83=85=E5=86=B5=E4=B8=8B=E6=9F=A5=E8=AF=A2=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E9=97=AE=E9=A2=98=202.=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth/login.js | 1 - src/api/auth/platform.js | 1 - src/components/Tinymce/index.vue | 1 - src/role.js | 3 +- src/store/modules/admin.js | 12 --- src/views/basic/BussinessType.vue | 6 +- src/views/basic/BussinessTypeLoclModify.vue | 1 - src/views/basic/BussinessTypeModify.vue | 1 - src/views/basic/CorpExportSmp.vue | 3 - src/views/basic/CorpImport.vue | 3 - src/views/basic/CorpImportDetail.vue | 1 - src/views/basic/CorpMaintain.vue | 2 - src/views/basic/CorpRelevance.vue | 4 - src/views/basic/CorpSelect.vue | 2 - src/views/basic/CorpSingleRelevance.vue | 3 - src/views/basic/UdIInfoSelect.vue | 3 - src/views/basic/UdiInfoDonwloadSmp.vue | 3 - src/views/basic/UdiInfoImport.vue | 3 - src/views/basic/UdiInfoImportDetail.vue | 1 - src/views/basic/UdiInfoManage.vue | 7 +- src/views/basic/UdiInfoRelevance.vue | 6 -- src/views/basic/UdiInfoSelectUdi.vue | 1 - src/views/basic/UdiInfoselectErpUdi.vue | 3 - src/views/basic/UdiinfoExportSmp.vue | 3 - src/views/basic/basicCompany.vue | 11 --- src/views/basic/basicCompanyProduct.vue | 6 -- .../basic/basicCompanyProductsImport.vue | 4 - src/views/basic/basicUnitMaintain.vue | 3 - src/views/basic/basicUnitRelevance.vue | 5 -- src/views/basic/invWarehouse.vue | 3 - src/views/components/Tags.vue | 16 ---- src/views/components/upload-demo.vue | 1 - src/views/product/UnitManage.vue | 14 ++- src/views/product/selectErpUdi.vue | 4 - src/views/product/selectLocalUdi.vue | 3 - src/views/product/udiRelevance.vue | 2 - src/views/sys/bindPlatform.vue | 7 +- src/views/userManage/admin/authRole.vue | 1 - src/views/userManage/customerManage.vue | 4 - src/views/userManage/customerUser.vue | 7 -- src/views/userManage/forgetPasswd.vue | 2 - .../userManage/param/systemPDFModule.vue | 1 + .../userManage/param/systemPDFTemplate.vue | 20 ----- src/views/userManage/phoneRegisterManage.vue | 1 - src/views/userManage/register.vue | 8 -- src/views/userManage/registerApp.vue | 2 - src/views/userManage/registerManage.vue | 2 - .../suppliersEnterpriseBasicAdd.vue | 7 -- .../suppliersEnterpriseBasicAddCert.vue | 3 - .../userManage/suppliersRegistrationBasic.vue | 7 -- src/views/userManage/userAccountManage.vue | 5 +- src/views/warehouse/AdditionalOrder.vue | 1 + src/views/warehouse/DialogSelectErpOrder.vue | 1 - .../warehouse/DialogSelectInvStorage.vue | 1 - src/views/warehouse/DialogSelectRl.vue | 7 -- src/views/warehouse/DialogSelectUnit.vue | 2 - src/views/warehouse/IOSearchOrder.vue | 5 -- src/views/warehouse/InvProducts.vue | 1 + src/views/warehouse/UdiCodeTrace.vue | 1 - src/views/warehouse/UdiInfoSelectLocalUdi.vue | 3 - src/views/warehouse/addOrder.vue | 4 - src/views/warehouse/company.vue | 8 -- src/views/warehouse/companyAddCert.vue | 3 - src/views/warehouse/companyApplyUpdate.vue | 1 - src/views/warehouse/errorCode.vue | 4 - src/views/warehouse/ioErrorOrder.vue | 5 +- src/views/warehouse/ioFinishOrder.vue | 5 -- src/views/warehouse/ioNewOrder.vue | 2 +- src/views/warehouse/ioUdiTrace.vue | 7 +- src/views/warehouse/selectProduct.vue | 5 -- src/views/warehouse/stockHospOrderNew.vue | 36 -------- src/views/warehouse/stockOrderDelSearch.vue | 1 - src/views/warehouse/stockOrderDelete.vue | 1 + .../warehouse/stockOrderDistribution.vue | 1 - src/views/warehouse/stockOrderEdit.vue | 3 - .../warehouse/stockOrderEditDistribution.vue | 89 ------------------- .../warehouse/stockOrderErrorDistribution.vue | 1 - .../warehouse/stockOrderNewDistribution.vue | 23 ----- .../warehouse/stockOrderNewSelectProduct.vue | 33 ------- .../warehouse/stockOrderQRCodeDetail.vue | 2 - src/views/warehouse/stockOrderSearch.vue | 1 + src/views/warehouse/stockQRCodeExport.vue | 6 -- src/views/warehouse/successOrderExportPDF.vue | 11 --- 83 files changed, 34 insertions(+), 463 deletions(-) diff --git a/src/api/auth/login.js b/src/api/auth/login.js index 1dfb659..7ce6076 100644 --- a/src/api/auth/login.js +++ b/src/api/auth/login.js @@ -12,7 +12,6 @@ export function userInfo(id, token) { } export function loginName(username, password) { - console.log(username + " " + password); return axios({ url: "/login", method: "post", diff --git a/src/api/auth/platform.js b/src/api/auth/platform.js index 66b3d66..665caf3 100644 --- a/src/api/auth/platform.js +++ b/src/api/auth/platform.js @@ -17,7 +17,6 @@ export function getUnbindPlatform(query) { } export function updatePlatform(data) { - console.log(JSON.stringify(data)); return axios({ url: "/udims/platform/update", method: "post", diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index ba1e360..2f5992b 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -156,7 +156,6 @@ export default { }) .catch(err => { failure("出现未知问题,刷新页面"); - console.log(err); }); } }); diff --git a/src/role.js b/src/role.js index 9f3bfc9..0e24820 100644 --- a/src/role.js +++ b/src/role.js @@ -64,7 +64,6 @@ router.beforeEach((to, from, next) => { return; } let adminId = getAdminId(); - console.log("-----------------"+adminId+"啥情况"); if (adminId !== "undefined" && adminId !== "" && adminId) { // 判断是否有token if (to.path === "/login") { @@ -102,7 +101,7 @@ router.beforeEach((to, from, next) => { // accessedRouters[1].children.splice(5,1); //删除admin里面不显示的客户用户管理 // accessedRouters[3].children.splice(8,1);//删除admin里面不显示的用户信息管理 // } - + // 生成可访问的路由表 router.addRoutes(accessedRouters); // 动态添加可访问路由表 next({ ...to }); // hack方法 确保addRoutes已完成 diff --git a/src/store/modules/admin.js b/src/store/modules/admin.js index a6197d0..dbb442f 100644 --- a/src/store/modules/admin.js +++ b/src/store/modules/admin.js @@ -47,13 +47,11 @@ const getters = { const actions = { // 用户名登录 loginName({ commit }, userInfo) { - console.log(userInfo.userName+"=----"+userInfo.pwd); const userName = userInfo.userName ? userInfo.userName.trim() : ""; const pwd = userInfo.pwd ? userInfo.pwd : ""; return new Promise((resolve, reject) => { loginName(userName, pwd) .then(response => { - console.log(response); if (response.code!=20000) { Message({ message: response.message, @@ -79,20 +77,10 @@ const actions = { return new Promise((resolve, reject) => { userInfo() .then(response => { - console.log("````````1````````"); - console.log("````````2````````"); - console.log("````````3````````"); - console.log(response); - console.log("````````3````````"); - console.log("````````2````````"); - console.log("````````1````````"); - console.log(response.code+"---"+response.data); - console.log(response.data); if (response.code !== 20000) { reject("登录失效"); } const data = response.data || {}; - console.log(data.userName+"--"+ data.authRules); commit(types.RECEIVE_ADMIN_NAME, data.userName); commit(types.RECEIVE_ADMIN_EMPLOYEE_NAME, data.employeeName); commit(types.RECEIVE_ADMIN_AVATAR, data.avatar); diff --git a/src/views/basic/BussinessType.vue b/src/views/basic/BussinessType.vue index 28f3361..12914ec 100644 --- a/src/views/basic/BussinessType.vue +++ b/src/views/basic/BussinessType.vue @@ -25,7 +25,7 @@ - 查询 + 查询 新增 { // 将链接地址字符内容转变成blob地址 a.href = URL.createObjectURL(blob); - console.log(a.href); // a.download = ""; // 下载文件的名字 a.download = row.filePath.split("\\")[ @@ -231,11 +230,9 @@ export default { }); }, 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("文件上传成功,请稍后刷新查看!"); } }, diff --git a/src/views/basic/CorpImport.vue b/src/views/basic/CorpImport.vue index 73e9bb2..4de0971 100644 --- a/src/views/basic/CorpImport.vue +++ b/src/views/basic/CorpImport.vue @@ -188,7 +188,6 @@ export default { handleDetailClick(row) { this.currentRow = row; - console.log(this.currentRow.genKey) this.corpImportDetailVisible = true; }, @@ -254,12 +253,10 @@ export default { window.open(this.templateDlUrl, '_blank'); }, handleChange(response, files, fileList) { - console.log(response); if (response.code != 20000) { this.$message.error(response.message); this.getList(); } else { - // console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); this.$message.success("文件上传成功,请稍后刷新查看!"); this.getList(); } diff --git a/src/views/basic/CorpImportDetail.vue b/src/views/basic/CorpImportDetail.vue index ac8c40d..3d27274 100644 --- a/src/views/basic/CorpImportDetail.vue +++ b/src/views/basic/CorpImportDetail.vue @@ -133,7 +133,6 @@ export default { }, getList() { this.loading = true; - console.log(" this.genKeyFk = " + this.currentRow.genKey) this.filterQuery.genKey = this.currentRow.genKey; filterDetail(this.filterQuery) .then((response) => { diff --git a/src/views/basic/CorpMaintain.vue b/src/views/basic/CorpMaintain.vue index 766c875..e0f4e57 100644 --- a/src/views/basic/CorpMaintain.vue +++ b/src/views/basic/CorpMaintain.vue @@ -367,7 +367,6 @@ export default { this.thirdIdColumn = false; getBasicUnitMaintains(this.query) .then((response) => { - console.log(response) this.loading = false; this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false; this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false; @@ -452,7 +451,6 @@ export default { this.editQuery.thirdName4 = null; let data = Object.assign({}, this.editQuery); - console.log('------2------'); basicUnitMaintainSave(data, this.formName) .then(response => { this.formLoading = false; diff --git a/src/views/basic/CorpRelevance.vue b/src/views/basic/CorpRelevance.vue index 3b9a627..4ce7909 100644 --- a/src/views/basic/CorpRelevance.vue +++ b/src/views/basic/CorpRelevance.vue @@ -178,7 +178,6 @@ export default { this.unitQuery.thirdSys = this.thirdSysFk; ucloudUnit(this.unitQuery) .then((response) => { - console.log(response); this.loading = false; if (response.code == 20000) { @@ -228,7 +227,6 @@ export default { } this.combineQuery.thirdSys = this.thirdSysFk; this.combineQuery.custmandocResponses = ids; - console.log(ids); combine(this.combineQuery) .then((response) => { if (response.code == 20000) { @@ -268,13 +266,11 @@ export default { }, handleCurrentChange(val) { - console.log(val); this.currentRow = val; this.unitQuery.key = this.currentRow.name; }, handleSelectionUdiChange(val) { - console.log("----" + val[0].id); this.multipleUdiSelection = val; }, }, diff --git a/src/views/basic/CorpSelect.vue b/src/views/basic/CorpSelect.vue index f61d0aa..094632d 100644 --- a/src/views/basic/CorpSelect.vue +++ b/src/views/basic/CorpSelect.vue @@ -317,7 +317,6 @@ export default { this.thirdIdColumn = false; getBasicUnitMaintains(this.query) .then((response) => { - console.log(response) this.loading = false; this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false; this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false; @@ -378,7 +377,6 @@ export default { // data.spell = pyStr.toUpperCase(); // } - console.log('------2------'); basicUnitMaintainSave(data, this.formName) .then(response => { this.formLoading = false; diff --git a/src/views/basic/CorpSingleRelevance.vue b/src/views/basic/CorpSingleRelevance.vue index bdf4415..55d486b 100644 --- a/src/views/basic/CorpSingleRelevance.vue +++ b/src/views/basic/CorpSingleRelevance.vue @@ -177,7 +177,6 @@ export default { this.unitQuery.thirdSys = this.thirdSysFk; ucloudUnit(this.unitQuery) .then((response) => { - console.log(response); this.loading = false; if (response.code == 20000) { @@ -219,7 +218,6 @@ export default { }, handleCurrentChange(val) { - console.log(val); this.combineQuery.thirdSys = this.thirdSysFk; this.combineQuery.key = this.corpData.id; this.combineQuery.erpUnitsResponse = val; @@ -256,7 +254,6 @@ export default { return ""; }, handleSelectionUdiChange(val) { - console.log("----" + val[0].id); this.multipleUdiSelection = val; }, diff --git a/src/views/basic/UdIInfoSelect.vue b/src/views/basic/UdIInfoSelect.vue index 5feffd5..0e0569e 100644 --- a/src/views/basic/UdIInfoSelect.vue +++ b/src/views/basic/UdIInfoSelect.vue @@ -647,7 +647,6 @@ export default { handleDetail(row) { this.editQuery = row; - console.log(row); }, selectExport() { var selectData = this.multipleSelection; @@ -727,7 +726,6 @@ export default { }); }, handleSelectionChange(val) { - console.log("----" + val); this.multipleSelection = val; }, @@ -750,7 +748,6 @@ export default { page: 1, limit: 10, }; - console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy); this.getDetailList(ttquery); this.getThirdSysDetail(); diff --git a/src/views/basic/UdiInfoDonwloadSmp.vue b/src/views/basic/UdiInfoDonwloadSmp.vue index 104c0c3..5a3032c 100644 --- a/src/views/basic/UdiInfoDonwloadSmp.vue +++ b/src/views/basic/UdiInfoDonwloadSmp.vue @@ -188,7 +188,6 @@ export default { }, handleDetailClick(row) { this.currentRow = row; - console.log(this.currentRow.genKey) this.udiImportDetailVisible = true; }, @@ -253,11 +252,9 @@ export default { window.open(this.templateDlUrl, '_blank'); }, 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.getList(); this.$message.success("文件上传成功,请稍后刷新查看!"); } diff --git a/src/views/basic/UdiInfoImport.vue b/src/views/basic/UdiInfoImport.vue index b53e209..643c538 100644 --- a/src/views/basic/UdiInfoImport.vue +++ b/src/views/basic/UdiInfoImport.vue @@ -203,7 +203,6 @@ export default { }, handleDetailClick(row) { this.currentRow = row; - console.log(this.currentRow.genKey) this.udiImportDetailVisible = true; }, @@ -268,11 +267,9 @@ export default { window.open(this.templateDlUrl, '_blank'); }, 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.getList(); this.$message.success("文件上传成功,请稍后刷新查看!"); } diff --git a/src/views/basic/UdiInfoImportDetail.vue b/src/views/basic/UdiInfoImportDetail.vue index 12fc6a1..2ebcdf4 100644 --- a/src/views/basic/UdiInfoImportDetail.vue +++ b/src/views/basic/UdiInfoImportDetail.vue @@ -155,7 +155,6 @@ export default { }, getList() { this.loading = true; - console.log(" this.genKey = " + this.currentRow.genKey) this.filterQuery.genKey = this.currentRow.genKey; filterDetail(this.filterQuery) .then((response) => { diff --git a/src/views/basic/UdiInfoManage.vue b/src/views/basic/UdiInfoManage.vue index d3587cf..8dd1260 100644 --- a/src/views/basic/UdiInfoManage.vue +++ b/src/views/basic/UdiInfoManage.vue @@ -70,7 +70,7 @@ icon="el-icon-refresh" @click="onReset" > - 查询 @@ -726,6 +726,10 @@ export default { }; this.getList(); }, + search() { + this.filterQuery.page = 1; + this.getList(); + }, getList() { this.loading = true; getProductInfos(this.filterQuery) @@ -835,7 +839,6 @@ export default { relId: this.editQuery.id, isDisable: this.editQuery.disable } - console.log(this.editQuery) disableUdi(query) .then((response) => { if (response.code != 20000) { diff --git a/src/views/basic/UdiInfoRelevance.vue b/src/views/basic/UdiInfoRelevance.vue index 2184057..267e59a 100644 --- a/src/views/basic/UdiInfoRelevance.vue +++ b/src/views/basic/UdiInfoRelevance.vue @@ -327,11 +327,7 @@ export default { return ""; }, handleErpChange(val) { - console.log(val); this.currentRow = val; - // this.unionQuery.cpmctymc = this.currentRow.name; - // this.unionQuery.zczbhhzbapzbh = this.currentRow.registerNo; - // this.unionQuery.ggxh = this.currentRow.spec; }, searchErpList() { @@ -412,7 +408,6 @@ export default { this.$message.warning("未选择医疗器械产品信息"); return; } - console.log("this.currentRow.checked =" + this.currentRow.checked); if (this.currentRow != null && this.currentRow.checked) { this.$confirm("产品编码:" + this.currentRow.code + "已被添加,是否继续添加", "提示", { @@ -463,7 +458,6 @@ export default { }); }, findMethod(query) { - console.log(query); let cQuery = { ylqxzcrbarmc: query, page: 1, diff --git a/src/views/basic/UdiInfoSelectUdi.vue b/src/views/basic/UdiInfoSelectUdi.vue index f8d01f2..09509b3 100644 --- a/src/views/basic/UdiInfoSelectUdi.vue +++ b/src/views/basic/UdiInfoSelectUdi.vue @@ -209,7 +209,6 @@ export default { return ""; }, handleErpChange(val) { - console.log(val); if (val.checked) { this.$message.warning("该产品已被选入"); return; diff --git a/src/views/basic/UdiInfoselectErpUdi.vue b/src/views/basic/UdiInfoselectErpUdi.vue index 113f99e..3dc004b 100644 --- a/src/views/basic/UdiInfoselectErpUdi.vue +++ b/src/views/basic/UdiInfoselectErpUdi.vue @@ -398,7 +398,6 @@ export default { this.getList(); }, handleErpChange(val) { - console.log(val); this.currentRow = val; }, handleErpPageChange(val) { @@ -601,7 +600,6 @@ export default { }, handleSelectionChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, getBasicThirdSys() { @@ -628,7 +626,6 @@ export default { }, }, created() { - console.log("-------------" + this.uuid); this.getBasicThirdSys(); }, }; diff --git a/src/views/basic/UdiinfoExportSmp.vue b/src/views/basic/UdiinfoExportSmp.vue index a3d0d56..1de2b81 100644 --- a/src/views/basic/UdiinfoExportSmp.vue +++ b/src/views/basic/UdiinfoExportSmp.vue @@ -181,7 +181,6 @@ export default { .then((blob) => { // 将链接地址字符内容转变成blob地址 a.href = URL.createObjectURL(blob); - console.log(a.href); // a.download = ""; // 下载文件的名字 a.download = row.filePath.split("\\")[ @@ -236,11 +235,9 @@ export default { }); }, 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("文件上传成功,请稍后刷新查看!"); } }, diff --git a/src/views/basic/basicCompany.vue b/src/views/basic/basicCompany.vue index ccfcafd..7b9c7dc 100644 --- a/src/views/basic/basicCompany.vue +++ b/src/views/basic/basicCompany.vue @@ -1051,7 +1051,6 @@ export default { }).catch(() => { }); } else { - console.log("error submit!!"); return false; } }); @@ -1079,7 +1078,6 @@ export default { }).catch(() => { }); } else { - console.log("error submit!!"); return false; } }); @@ -1115,7 +1113,6 @@ export default { }).catch(() => { }); } else { - console.log("error submit!!"); return false; } }); @@ -1126,7 +1123,6 @@ export default { customerId: store.getters.customerId, }; getCompany(tquery).then((response) => { - console.log(response) this.loading = false; this.inputQuery = response.data; this.inputQuery.bussinessStatus = this.inputQuery.bussinessStatus + ""; @@ -1381,11 +1377,8 @@ export default { this.inputQuery.areaCode = value.toString(); }, 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} 个文件`); @@ -1417,7 +1410,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.uploadFilePath('', response.data.name); @@ -1439,7 +1431,6 @@ export default { } }, uploadHandleSuccess2(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.uploadFilePath('2', response.data.name); @@ -1460,7 +1451,6 @@ export default { } }, uploadHandleSuccess3(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.uploadFilePath('3', response.data.name); @@ -1479,7 +1469,6 @@ export default { } }, uploadHandleSuccess4(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.uploadFilePath('4', response.data.name); diff --git a/src/views/basic/basicCompanyProduct.vue b/src/views/basic/basicCompanyProduct.vue index b86e45b..3499113 100644 --- a/src/views/basic/basicCompanyProduct.vue +++ b/src/views/basic/basicCompanyProduct.vue @@ -280,7 +280,6 @@ export default { this.$message.success("修改成功"); }); } else { - console.log("error submit!!"); return false; } }); @@ -291,7 +290,6 @@ export default { customerId: store.getters.customerId, }; getCompany(tquery).then((response) => { - console.log(response) this.loading = false; this.inputQuery = response.data; this.inputQuery.bussinessStatus = this.inputQuery.bussinessStatus + ""; @@ -416,11 +414,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} 个文件`); @@ -452,7 +447,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.inputQuery.newFilePath = response.data.name; this.onModifySubmit('inputQuery'); diff --git a/src/views/basic/basicCompanyProductsImport.vue b/src/views/basic/basicCompanyProductsImport.vue index 8a65235..ce516bf 100644 --- a/src/views/basic/basicCompanyProductsImport.vue +++ b/src/views/basic/basicCompanyProductsImport.vue @@ -741,7 +741,6 @@ export default { handleDetail(row) { this.editQuery = row; - console.log(row); }, combine() { @@ -773,7 +772,6 @@ export default { this.loading = false; if (response.code == 20000) { this.$message.success(response.data); - console.log("关闭弹窗"); this.$emit("closeSelDialog", true); this.closeSelDialog(); } else { @@ -827,7 +825,6 @@ export default { }); }, handleSelectionChange(val) { - console.log("----" + val); this.multipleSelection = val; }, @@ -850,7 +847,6 @@ export default { page: 1, limit: 10, }; - console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy); this.getDetailList(ttquery); this.getThirdSysDetail(); diff --git a/src/views/basic/basicUnitMaintain.vue b/src/views/basic/basicUnitMaintain.vue index 5f4c4af..21f2c3f 100644 --- a/src/views/basic/basicUnitMaintain.vue +++ b/src/views/basic/basicUnitMaintain.vue @@ -249,7 +249,6 @@ export default { this.thirdIdColumn = false; getBasicUnitMaintains(this.query) .then((response) => { - console.log(response) this.loading = false; this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false; this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false; @@ -308,7 +307,6 @@ export default { data.spell = pyStr.toUpperCase(); } - console.log('------2------'); basicUnitMaintainSave(data, this.formName) .then(response => { this.formLoading = false; @@ -397,7 +395,6 @@ export default { }, handleSelectionChange(val) { - console.log("----" + val); this.multipleSelection = val; }, diff --git a/src/views/basic/basicUnitRelevance.vue b/src/views/basic/basicUnitRelevance.vue index 0af5c69..f52bebe 100644 --- a/src/views/basic/basicUnitRelevance.vue +++ b/src/views/basic/basicUnitRelevance.vue @@ -172,7 +172,6 @@ export default { this.loading = true; ucloudUnit(this.unitQuery) .then((response) => { - console.log(response) this.loading = false; this.unitlList = response.data.list || []; this.total = response.data.total || 0; @@ -207,13 +206,11 @@ export default { selectData.forEach((obj, index) => { ids.push(obj); }); - console.log(" ids = " + ids.length); if (ids.length == 0) { this.$message.warning("请选择往来单位!") return; } this.combineQuery.custmandocResponses = ids; - console.log(ids) combine(this.combineQuery) .then((response) => { if (response.code == 20000) { @@ -228,13 +225,11 @@ export default { }, handleCurrentChange(val) { - console.log(val); this.currentRow = val; this.unitQuery.key = this.currentRow.customname; }, handleSelectionUdiChange(val) { - console.log("----" + val[0].id); this.multipleUdiSelection = val; }, }, diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 2fd42eb..9d71a27 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -786,7 +786,6 @@ export default { if (response.code != 20000) { this.$message.error(response.message); } else { - // console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); this.$message.success(response.data); this.getList(); } @@ -897,10 +896,8 @@ export default { warehouseUserList(loadParam).then((res) => { this.userData = res.data; }).catch((error) => { - console.log(error); }); }).catch((error) => { - console.log(error); this.$message.error("添加失败"); }); }, diff --git a/src/views/components/Tags.vue b/src/views/components/Tags.vue index 0012afc..9c88777 100644 --- a/src/views/components/Tags.vue +++ b/src/views/components/Tags.vue @@ -75,14 +75,6 @@ export default { if (this.tagsList.length >= 8) { this.tagsList.shift(); } - console.log( - "路由---" + - route.name + - "----" + - route.fullPath + - "---" + - route.matched[1].components.default.name - ); this.tagsList.push({ title: route.name, path: route.fullPath, @@ -102,14 +94,6 @@ export default { }, watch: { $route(newValue, oldValue) { - console.log( - "路由---" + - newValue.meta.title + - "----" + - newValue.fullPath + - "---" + - newValue.matched[1].components.default.name - ); this.setTags(newValue); }, }, diff --git a/src/views/components/upload-demo.vue b/src/views/components/upload-demo.vue index 3ea754a..82ef0eb 100644 --- a/src/views/components/upload-demo.vue +++ b/src/views/components/upload-demo.vue @@ -67,7 +67,6 @@ export default { this.filePathUrl1 = filePathUrl; }, onSelect2(filePath, filePathUrl) { - console.log(filePathUrl); this.filePath2 = filePath; this.filePathUrl2 = filePathUrl; }, diff --git a/src/views/product/UnitManage.vue b/src/views/product/UnitManage.vue index c08f90c..285dc91 100644 --- a/src/views/product/UnitManage.vue +++ b/src/views/product/UnitManage.vue @@ -20,7 +20,7 @@ icon="el-icon-refresh" @click="onReset" > - 查询 @@ -414,6 +414,10 @@ export default { }; this.getList(); }, + search() { + this.query.page = 1; + this.getList(); + }, getList() { this.loading = true; getUnitMaintain(this.query) @@ -598,7 +602,6 @@ export default { }, handleSelectionChange(val) { - console.log("----" + val); this.multipleSelection = val; }, @@ -612,13 +615,6 @@ export default { created() { this.getList(); this.getPlatformList(); - var pinyin = require("pinyin"); - console.log( - pinyin("中心", { - style: pinyin.STYLE_FIRST_LETTER, // 设置拼音风格 - heteronym: true - }) - ); } }; diff --git a/src/views/product/selectErpUdi.vue b/src/views/product/selectErpUdi.vue index e34fedb..0f96a86 100644 --- a/src/views/product/selectErpUdi.vue +++ b/src/views/product/selectErpUdi.vue @@ -337,7 +337,6 @@ export default { this.getList(); }, handleErpChange(val) { - console.log(val); this.currentRow = val; }, handleErpPageChange(val) { @@ -406,7 +405,6 @@ export default { }, handleSelectionUdiChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, getBasicThirdSys() { @@ -421,7 +419,6 @@ export default { .then((response) => { this.thirdSys = response.data.list || []; this.thirdSys.forEach((item, i) => { - console.log(item.thirdId + this.data.thirdSysFk); if (item.thirdId == this.data.thirdSysFk) { this.thirdSys.splice(i, 1); } @@ -436,7 +433,6 @@ export default { }, }, created() { - console.log("-------------" + this.uuid); this.getBasicThirdSys(); }, }; diff --git a/src/views/product/selectLocalUdi.vue b/src/views/product/selectLocalUdi.vue index 08d09a4..c9f5c8a 100644 --- a/src/views/product/selectLocalUdi.vue +++ b/src/views/product/selectLocalUdi.vue @@ -375,7 +375,6 @@ export default { }, keyup_submit(event) { - console.log("全选----"); this.getList(); event.target.select(); }, @@ -392,7 +391,6 @@ export default { return ""; }, handleErpChange(val) { - console.log(val); this.currentRow = val; }, intentBack() { @@ -416,7 +414,6 @@ export default { }, handleSelectionUdiChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, }, diff --git a/src/views/product/udiRelevance.vue b/src/views/product/udiRelevance.vue index 20baf5d..291bfa5 100644 --- a/src/views/product/udiRelevance.vue +++ b/src/views/product/udiRelevance.vue @@ -345,7 +345,6 @@ export default { event.target.select(); }, findMethod(query) { - console.log(query); let cQuery = { ylqxzcrbarmc: query, page: 1, @@ -362,7 +361,6 @@ export default { }); }, diDetail(row) { - console.log(row); this.diDetails = row; this.selectDialog = true; } diff --git a/src/views/sys/bindPlatform.vue b/src/views/sys/bindPlatform.vue index 6943741..b4159e4 100644 --- a/src/views/sys/bindPlatform.vue +++ b/src/views/sys/bindPlatform.vue @@ -12,7 +12,7 @@ icon="el-icon-refresh" @click="onReset" > - 查询 @@ -355,6 +355,10 @@ export default { }; this.getList(); }, + search() { + this.query.page = 1; + this.getList(); + }, getList() { this.loading = true; getLinkPlatformList(this.query).then((res) => { @@ -550,7 +554,6 @@ export default { type: "warning" }).then(() => { this.loading = true; - console.log(row) let query = { corpId: row.id }; diff --git a/src/views/userManage/admin/authRole.vue b/src/views/userManage/admin/authRole.vue index 1647bde..712812a 100644 --- a/src/views/userManage/admin/authRole.vue +++ b/src/views/userManage/admin/authRole.vue @@ -358,7 +358,6 @@ export default { } this.authFormVisible = true; this.authList = response.data.list || []; - console.log("this.authList=" + this.authList); const checkedKeys = response.data.checkedKeys || []; let tempCheckedKeys = []; let id = null; diff --git a/src/views/userManage/customerManage.vue b/src/views/userManage/customerManage.vue index 54d232f..efa636d 100644 --- a/src/views/userManage/customerManage.vue +++ b/src/views/userManage/customerManage.vue @@ -375,7 +375,6 @@ export default { this.getList(); }, formSubmit() { - console.log(this.check) this.formData.roleId = this.check; updateCustomers(this.formData) .then((response) => { @@ -440,8 +439,6 @@ export default { this.getList(); }, handleCheckedChange(val) { - console.log(val); - console.log(this.check); }, checkRegister(tquery) { this.loading = true; @@ -516,7 +513,6 @@ export default { authCustomerRoles() .then((response) => { this.roles = response.data.list || []; - console.log(this.roles); }) .catch(() => { }); diff --git a/src/views/userManage/customerUser.vue b/src/views/userManage/customerUser.vue index 844c463..73f5145 100644 --- a/src/views/userManage/customerUser.vue +++ b/src/views/userManage/customerUser.vue @@ -358,13 +358,6 @@ export default { } }, formSubmit() { - console.log( - this.formData.userName + - "-----" + - this.formData.employeeName + - this.formData.userFlag + - this.formData.id - ); this.$refs["dataForm"].validate((valid) => { if (valid) { this.formLoading = true; diff --git a/src/views/userManage/forgetPasswd.vue b/src/views/userManage/forgetPasswd.vue index 5e92ee3..956d0df 100644 --- a/src/views/userManage/forgetPasswd.vue +++ b/src/views/userManage/forgetPasswd.vue @@ -215,7 +215,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -265,7 +264,6 @@ export default { 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/param/systemPDFModule.vue b/src/views/userManage/param/systemPDFModule.vue index 6f079f8..052e51e 100644 --- a/src/views/userManage/param/systemPDFModule.vue +++ b/src/views/userManage/param/systemPDFModule.vue @@ -504,6 +504,7 @@ export default { this.getModuleList(); }, onSubmit() { + this.query.page = 1; this.getModuleList(); }, handleCurrentChange(val) { diff --git a/src/views/userManage/param/systemPDFTemplate.vue b/src/views/userManage/param/systemPDFTemplate.vue index 265abd4..62af878 100644 --- a/src/views/userManage/param/systemPDFTemplate.vue +++ b/src/views/userManage/param/systemPDFTemplate.vue @@ -459,9 +459,6 @@ export default { this.getList(); }, jumpDl(row) { - console.log(BASE_URL); - console.log(row.templateDlUrl + "----"); - this.handleDownload(BASE_URL + "/udiwms/donwload/file?fileName=" + row.jrxmlPath, row.name + ".jrxml"); }, @@ -562,7 +559,6 @@ export default { this.selectTemplateGetList(); }, selectTemplateGetList() { - console.log(this.selectTemplateQuery) this.selectTemplateLoading = true; systemPDFTemplateList(this.selectTemplateQuery) .then(response => { @@ -577,7 +573,6 @@ export default { }); }, previewTemplate(row) { - console.log(row) }, showFieldExpain(row) { @@ -627,7 +622,6 @@ export default { if (this.$refs.uploadJrxml.uploadFiles.length < 1 && !this.uploadDisabled) { this.$message.warning(`请选择jasper文件`); } - console.log(this.formName) this.$refs["dataForm"].validate(valid => { if (valid) { @@ -672,10 +666,8 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.formData.path = response.data.path; - // this.submitTemplate(); } else { this.$message.error("上传失败:" + response.message); } @@ -711,10 +703,8 @@ export default { return isLt; }, uploadJrxmlHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.formData.jrxmlPath = response.data.path; - // this.submitTemplate(); } else { this.$message.error("上传失败:" + response.message); } @@ -722,7 +712,6 @@ export default { submitTemplate() { - console.log(this.formData) this.$refs["dataForm"].validate(valid => { if (valid) { this.formLoading = true; @@ -752,7 +741,6 @@ export default { }).then(() => { systemPDFTemplateDeleteById({id: row.id, path: row.path}) .then(response => { - console.log(response) if (response.code === 20000) { this.$message.success(response.data); // 刷新表单 @@ -774,8 +762,6 @@ export default { }, moduleSelectHandleCurrentChange(val) { this.moduleFormData.templateId = val.id; - console.log(val) - console.log(this.moduleFormData) }, moduleSubmitSelectTemplate() { @@ -810,12 +796,6 @@ export default { getSystemPDFModules() .then((response) => { this.moduleNameList = response.data.list; - // this.moduleNameMap = {}; - // this.moduleNameList.forEach((obj, index) => { - // console.log(obj) - // this.moduleNameMap[obj.id] = obj.name; - // }); - console.log(this.moduleNameMap) }) .catch(() => { }); diff --git a/src/views/userManage/phoneRegisterManage.vue b/src/views/userManage/phoneRegisterManage.vue index 47e2aae..e0311f7 100644 --- a/src/views/userManage/phoneRegisterManage.vue +++ b/src/views/userManage/phoneRegisterManage.vue @@ -250,7 +250,6 @@ export default { }, handleCheckedChange(val) { - console.log(val); }, handleSizeChange(val) { diff --git a/src/views/userManage/register.vue b/src/views/userManage/register.vue index 3c074ca..b8e5423 100644 --- a/src/views/userManage/register.vue +++ b/src/views/userManage/register.vue @@ -557,7 +557,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -572,7 +571,6 @@ export default { this.loading = false; this.inputQuery = response.data; this.inputQuery.bussinessStatus = "2"; - console.log(this.inputQuery); this.selectedOptions = this.inputQuery.areaCode.split(","); }); }, @@ -637,13 +635,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(); }); @@ -691,11 +687,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} 个文件`); @@ -727,7 +720,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response); if (response.code === 20000) { this.inputQuery.licenseUrl = response.data.name; } else { diff --git a/src/views/userManage/registerApp.vue b/src/views/userManage/registerApp.vue index 80f86b0..958798f 100644 --- a/src/views/userManage/registerApp.vue +++ b/src/views/userManage/registerApp.vue @@ -343,7 +343,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -403,7 +402,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(); }, }, diff --git a/src/views/userManage/registerManage.vue b/src/views/userManage/registerManage.vue index 32b73ee..d2ea742 100644 --- a/src/views/userManage/registerManage.vue +++ b/src/views/userManage/registerManage.vue @@ -395,7 +395,6 @@ export default { }; getBasicUnitMaintains2(tQuery) .then((response) => { - console.log(response) this.sLoading = false; this.sOptions = response.data.list; }) @@ -426,7 +425,6 @@ export default { this.getList(); }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, diff --git a/src/views/userManage/suppliersEnterpriseBasicAdd.vue b/src/views/userManage/suppliersEnterpriseBasicAdd.vue index f487a34..fdee4c1 100644 --- a/src/views/userManage/suppliersEnterpriseBasicAdd.vue +++ b/src/views/userManage/suppliersEnterpriseBasicAdd.vue @@ -484,7 +484,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -495,7 +494,6 @@ export default { id: this.enterpriseId, }; getCompanyInfo(tQuery).then((response) => { - console.log(response) this.loading = false; this.inputQuery = response.data; this.selectedOptions = this.inputQuery.placeAreaCode.split(","); @@ -570,7 +568,6 @@ export default { handleChange(value) { this.inputQuery.placeArea = CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]]; - console.log(this.inputQuery.placeArea) this.inputQuery.placeAreaCode = value.toString(); }, handleChange2(value) { @@ -579,11 +576,8 @@ export default { this.inputQuery.productionAreaCode = value.toString(); }, 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} 个文件`); @@ -615,7 +609,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { this.inputQuery.newFilePath = response.data.name; this.onModifySubmit('inputQuery'); diff --git a/src/views/userManage/suppliersEnterpriseBasicAddCert.vue b/src/views/userManage/suppliersEnterpriseBasicAddCert.vue index 56a2c74..be65ac4 100644 --- a/src/views/userManage/suppliersEnterpriseBasicAddCert.vue +++ b/src/views/userManage/suppliersEnterpriseBasicAddCert.vue @@ -149,11 +149,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} 个文件`); diff --git a/src/views/userManage/suppliersRegistrationBasic.vue b/src/views/userManage/suppliersRegistrationBasic.vue index 20d3b44..8243cdf 100644 --- a/src/views/userManage/suppliersRegistrationBasic.vue +++ b/src/views/userManage/suppliersRegistrationBasic.vue @@ -544,7 +544,6 @@ export default { } }); } else { - console.log("error submit!!"); return false; } }); @@ -565,7 +564,6 @@ export default { id: this.registrationId, }; getRegistrationInfo(tQuery).then((response) => { - console.log(response) this.loading = false; this.inputQuery = response.data; this.selectedOptions = this.inputQuery.recordPeopleAreaCode.split(","); @@ -589,11 +587,8 @@ export default { this.inputQuery.agentAreaCode = value.toString(); }, 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} 个文件`); @@ -625,7 +620,6 @@ export default { return isLt; }, uploadHandleSuccess(response, file, fileList) { - console.log(response) if (response.code === 20000) { if (this.$isBlank(this.inputQuery.instructions)) { this.inputQuery.filePath = response.data.name; @@ -642,7 +636,6 @@ export default { } }, uploadHandleSuccess2(response, file, fileList) { - console.log(response) if (response.code === 20000) { if (this.$isBlank(this.inputQuery.instructions)) { this.inputQuery.instructions = response.data.name; diff --git a/src/views/userManage/userAccountManage.vue b/src/views/userManage/userAccountManage.vue index 13e8d93..fc3248f 100644 --- a/src/views/userManage/userAccountManage.vue +++ b/src/views/userManage/userAccountManage.vue @@ -269,10 +269,7 @@ export default { this.getList(); }, onSubmit() { - /*this.$router.push({ - path: "", - query: this.query, - });*/ + this.query.page = 1; this.getList(); }, handleCurrentChange(val) { diff --git a/src/views/warehouse/AdditionalOrder.vue b/src/views/warehouse/AdditionalOrder.vue index 94e5d2c..698aa0d 100644 --- a/src/views/warehouse/AdditionalOrder.vue +++ b/src/views/warehouse/AdditionalOrder.vue @@ -350,6 +350,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { diff --git a/src/views/warehouse/DialogSelectErpOrder.vue b/src/views/warehouse/DialogSelectErpOrder.vue index 66df656..0f8d99a 100644 --- a/src/views/warehouse/DialogSelectErpOrder.vue +++ b/src/views/warehouse/DialogSelectErpOrder.vue @@ -344,7 +344,6 @@ export default { this.getList(); }, handleSelectionChange(val) { - console.log(val); this.multipleSelection = val; }, getBusType() { diff --git a/src/views/warehouse/DialogSelectInvStorage.vue b/src/views/warehouse/DialogSelectInvStorage.vue index 3e5b175..d54db1b 100644 --- a/src/views/warehouse/DialogSelectInvStorage.vue +++ b/src/views/warehouse/DialogSelectInvStorage.vue @@ -81,7 +81,6 @@ export default { }); }, selectStorage(row) { - console.log(row.id); this.$emit("selectStorage", row); }, }, diff --git a/src/views/warehouse/DialogSelectRl.vue b/src/views/warehouse/DialogSelectRl.vue index 3afa060..3d607d7 100644 --- a/src/views/warehouse/DialogSelectRl.vue +++ b/src/views/warehouse/DialogSelectRl.vue @@ -636,7 +636,6 @@ export default { handleDetail(row) { this.editQuery = row; - console.log(row); }, deleteOrders(data) { this.loading = true; @@ -725,16 +724,12 @@ export default { mySupId: this.curRow.unitFk, }; updateBind(query).then((response) => { - - console.log(response.code + response.message) - if (response.code == 20000) { this.$message.success("绑定成功"); this.closeBindDialog(this.curRow.id); } else { this.$message.error("-----503码??" + response.message); if (response.code == 503) { - this.closeBindDialog(503); } this.this.$message.error(response.message); @@ -748,7 +743,6 @@ export default { }, handleSelectionChange(val) { - console.log("----" + val); }, cancelDialog() { @@ -779,7 +773,6 @@ export default { page: 1, limit: 10, }; - console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy); this.getDetailList(ttquery); this.getThirdSysDetail(); diff --git a/src/views/warehouse/DialogSelectUnit.vue b/src/views/warehouse/DialogSelectUnit.vue index 62d1bfd..57a0024 100644 --- a/src/views/warehouse/DialogSelectUnit.vue +++ b/src/views/warehouse/DialogSelectUnit.vue @@ -104,7 +104,6 @@ export default { methods: { getUnitList() { this.loading = true; - console.log(this.unitquery); getUnitMaintain(this.unitquery).then((response) => { this.loading = false; this.unitlist = response.data.page.list || []; @@ -143,7 +142,6 @@ export default { }, mounted() { - console.log("this.codeId = " + this.codeId); if (this.codeId != null) { this.getUnitListByCode(this.codeId); } diff --git a/src/views/warehouse/IOSearchOrder.vue b/src/views/warehouse/IOSearchOrder.vue index 01a203f..5697523 100644 --- a/src/views/warehouse/IOSearchOrder.vue +++ b/src/views/warehouse/IOSearchOrder.vue @@ -602,7 +602,6 @@ export default { this.getList(); }, handleSelectionChange(val) { - console.log(val); this.multipleSelection = val; }, getStorage() { @@ -719,7 +718,6 @@ export default { this.filterQuery.customerId = store.getters.customerId; filterOrder(this.filterQuery) .then((response) => { - console.log(response) this.loading = false; this.list = response.data.list || []; this.detailList = []; @@ -767,7 +765,6 @@ export default { refresgOrderDetail() { orderDetail(this.detailQuery) .then((response) => { - console.log(response) this.loading = false; this.detailList = response.data || []; }) @@ -809,7 +806,6 @@ export default { this.successOrderExportPDFSettingVisible = true; }, successOrderExportPDF(row) { - console.log(row) let tQuery = { orderId: row.id, customerId: store.getters.customerId @@ -844,7 +840,6 @@ export default { }, selectUnit(row) { - console.log(row.id); this.unitUpdateQuery.id = this.curIndex; this.unitUpdateQuery.fromCorp = row.name; this.unitUpdateQuery.fromCorpId = row.unitid; diff --git a/src/views/warehouse/InvProducts.vue b/src/views/warehouse/InvProducts.vue index d8636f4..e6e8862 100644 --- a/src/views/warehouse/InvProducts.vue +++ b/src/views/warehouse/InvProducts.vue @@ -151,6 +151,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { diff --git a/src/views/warehouse/UdiCodeTrace.vue b/src/views/warehouse/UdiCodeTrace.vue index 75044bc..dc57d1d 100644 --- a/src/views/warehouse/UdiCodeTrace.vue +++ b/src/views/warehouse/UdiCodeTrace.vue @@ -177,7 +177,6 @@ export default { }, keyup_submit(event) { - console.log("全选----"); this.getList(); event.target.select(); }, diff --git a/src/views/warehouse/UdiInfoSelectLocalUdi.vue b/src/views/warehouse/UdiInfoSelectLocalUdi.vue index 787acb1..58ce762 100644 --- a/src/views/warehouse/UdiInfoSelectLocalUdi.vue +++ b/src/views/warehouse/UdiInfoSelectLocalUdi.vue @@ -521,7 +521,6 @@ export default { return ""; }, handleErpChange(val) { - console.log(val); this.currentRow = val; }, intentBack() { @@ -624,11 +623,9 @@ export default { }, handleSelectionUdiChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, findMethod(query) { - console.log(query); let cQuery = { ylqxzcrbarmc: query, page: 1, diff --git a/src/views/warehouse/addOrder.vue b/src/views/warehouse/addOrder.vue index 6915f42..68aa4e9 100644 --- a/src/views/warehouse/addOrder.vue +++ b/src/views/warehouse/addOrder.vue @@ -335,7 +335,6 @@ export default { submitOrderWeb(tQuery) .then((response) => { - console.log(response) if (response.code === 20000) { this.$message.success("提交成功"); this.closeDialog(); @@ -515,7 +514,6 @@ export default { deleteCode(index, row) { - console.log(row.id) this.$confirm("是否确定移除一个条码?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", @@ -618,7 +616,6 @@ export default { }, //绑定数据 bindRl(val) { - console.log("curRow.erpId = " + val.id); this.curRow = val; this.selectRlVisible = true; }, @@ -650,7 +647,6 @@ export default { }); }, closeBindDialog(val) { - console.log("closeBindDialog" + val); this.selectRlVisible = false; this.dialogTableVisible = false; }, diff --git a/src/views/warehouse/company.vue b/src/views/warehouse/company.vue index 9a97633..9b51a58 100644 --- a/src/views/warehouse/company.vue +++ b/src/views/warehouse/company.vue @@ -277,14 +277,6 @@ export default { }, methods: { onModifySubmit(formName) { - // this.$refs[formName].validate((valid) => { - // if (valid) { - - // } else { - // console.log("error submit!!"); - // return false; - // } - // }); this.loading = true; modifyCompany(this.inputQuery).then((response) => { if (response.code == 20000) { diff --git a/src/views/warehouse/companyAddCert.vue b/src/views/warehouse/companyAddCert.vue index 11e742a..3a9e710 100644 --- a/src/views/warehouse/companyAddCert.vue +++ b/src/views/warehouse/companyAddCert.vue @@ -148,11 +148,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} 个文件`); diff --git a/src/views/warehouse/companyApplyUpdate.vue b/src/views/warehouse/companyApplyUpdate.vue index 209d4f1..f7537b0 100644 --- a/src/views/warehouse/companyApplyUpdate.vue +++ b/src/views/warehouse/companyApplyUpdate.vue @@ -95,7 +95,6 @@ export default { }).catch(() => { }); } else { - console.log("error submit!!"); return false; } }); diff --git a/src/views/warehouse/errorCode.vue b/src/views/warehouse/errorCode.vue index e033201..b2c140a 100644 --- a/src/views/warehouse/errorCode.vue +++ b/src/views/warehouse/errorCode.vue @@ -148,7 +148,6 @@ export default { }, methods: { handleSelectionChange(val) { - console.log(val); this.multipleSelection = val; }, @@ -214,7 +213,6 @@ export default { this.loading = false; }) }).catch((error) => { - console.log(error) }); }, onDelete() { @@ -289,7 +287,6 @@ export default { id: this.curRow.id, relId: row.id, }; - console.log("row.relId = " + row.id); updateCodeBindSup(query).then((response) => { if (response.code == 20000) { this.$message.success("绑定成功"); @@ -304,7 +301,6 @@ export default { }, closeBindDialog(val) { - console.log("closeBindDialog" + val); this.selectRlVisible = false; this.dialogTableVisible = false; }, diff --git a/src/views/warehouse/ioErrorOrder.vue b/src/views/warehouse/ioErrorOrder.vue index 26c88f3..a5fec63 100644 --- a/src/views/warehouse/ioErrorOrder.vue +++ b/src/views/warehouse/ioErrorOrder.vue @@ -293,6 +293,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -331,7 +332,6 @@ export default { }, selectUnit(row) { - console.log(row.id); this.unitUpdateQuery.id = this.curIndex; this.unitUpdateQuery.fromCorp = row.name; this.unitUpdateQuery.fromCorpId = row.unitId; @@ -410,10 +410,7 @@ export default { handleErrorDetail(poistion) { var mOrder = this.list[poistion]; - var corpOrderId = mOrder.remark; - this.errorDetail = mOrder.remark; - console.log(corpOrderId + " " + mOrder + " " + mOrder.remark); this.dialogVisible = true; }, diff --git a/src/views/warehouse/ioFinishOrder.vue b/src/views/warehouse/ioFinishOrder.vue index 724cf63..70b55f2 100644 --- a/src/views/warehouse/ioFinishOrder.vue +++ b/src/views/warehouse/ioFinishOrder.vue @@ -497,7 +497,6 @@ export default { this.getList(); }, handleSelectionChange(val) { - console.log(val); this.multipleSelection = val; }, geActionName(action) { @@ -580,7 +579,6 @@ export default { this.list = response.data.list || []; this.detailList = []; this.total = response.data.total || 0; - console.log(this.total + "0000000000000000000"); }) .catch(() => { this.loading = false; @@ -634,7 +632,6 @@ export default { }); }, keyup_submit(event) { - console.log("全选----"); filterCode(this.codeQuery).then((response) => { this.loading = false; this.list = response.data.list || []; @@ -674,7 +671,6 @@ export default { }, selectUnit(row) { - console.log(row.id); this.unitUpdateQuery.id = this.curIndex; this.unitUpdateQuery.fromCorp = row.name; this.unitUpdateQuery.fromCorpId = row.unitId; @@ -847,7 +843,6 @@ export default { }, uploadOrderDialog(value) { - console.log(value.id + "---" + value.orderid); this.uploadQuery = { orderId: value.id, }; diff --git a/src/views/warehouse/ioNewOrder.vue b/src/views/warehouse/ioNewOrder.vue index 7b6c112..0b52d4e 100644 --- a/src/views/warehouse/ioNewOrder.vue +++ b/src/views/warehouse/ioNewOrder.vue @@ -287,6 +287,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -318,7 +319,6 @@ export default { }, selectUnit(row) { - console.log(row.id); this.unitUpdateQuery.id = this.curIndex; this.unitUpdateQuery.fromCorp = row.name; this.unitUpdateQuery.fromCorpId = row.unitId; diff --git a/src/views/warehouse/ioUdiTrace.vue b/src/views/warehouse/ioUdiTrace.vue index a0355ef..d20509c 100644 --- a/src/views/warehouse/ioUdiTrace.vue +++ b/src/views/warehouse/ioUdiTrace.vue @@ -28,7 +28,7 @@ icon="el-icon-refresh" @click="onReset" > - 查询 + 查询 @@ -403,6 +403,10 @@ export default { .catch(() => { }); }, + search() { + this.filterQuery.page = 1; + this.getList(); + }, //获取订单列表 getList() { this.loading = true; @@ -673,7 +677,6 @@ export default { }, uploadOrderDialog(value) { - console.log(value.id + "---" + value.orderid); this.uploadQuery = { orderId: value.id }; diff --git a/src/views/warehouse/selectProduct.vue b/src/views/warehouse/selectProduct.vue index a30bd28..9d8f63f 100644 --- a/src/views/warehouse/selectProduct.vue +++ b/src/views/warehouse/selectProduct.vue @@ -382,11 +382,9 @@ export default { this.loading = true; getBasicInstrumentMaintainsFilterProduct(this.unionQuery) .then((response) => { - console.log(response) this.loading = false; this.udidlList = response.data.list || []; this.total = response.data.total || 0; - console.log(this.total) }) .catch(() => { this.loading = false; @@ -398,7 +396,6 @@ export default { this.data = row; }, keyup_submit(event) { - console.log("全选----"); this.getList(); event.target.select(); }, @@ -415,7 +412,6 @@ export default { return ""; }, handleErpChange(val) { - console.log(val); this.currentRow = val; }, intentBack() { @@ -451,7 +447,6 @@ export default { }, handleSelectionUdiChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, }, diff --git a/src/views/warehouse/stockHospOrderNew.vue b/src/views/warehouse/stockHospOrderNew.vue index 81e7642..09b46a8 100644 --- a/src/views/warehouse/stockHospOrderNew.vue +++ b/src/views/warehouse/stockHospOrderNew.vue @@ -703,7 +703,6 @@ export default { }); }, storageChange(row) { - console.log(row); this.formData.corpId = row.code; this.formData.corpName = row.name; }, @@ -725,7 +724,6 @@ export default { } }, findStorageMethod(query) { - console.log(query); if (this.formData.locStorageCode == null) return; this.fromStorageOptions = []; @@ -755,12 +753,10 @@ export default { if (status == '3') { tQuery.subErpOrders.forEach((obj) => { obj.reCount = obj.count; - console.log(obj.reCount); }); } - console.log(tQuery); insertStockOrderWeb(tQuery) .then(response => { this.loading = false; @@ -840,7 +836,6 @@ export default { this.invQueryData = { locStorageCode: this.formData.corpId, }; - console.log("his.invQueryData " + this.invQueryData.locStorageCode); this.selectInvProductVisible = true; } else { this.selectProductVisible = true; @@ -868,7 +863,6 @@ export default { stockOrderDetailQueryProduct(tQuery).then((response) => { this.loading = false; - console.log(response) if (response.code === 20000) { if (response.data.getType === "1") { this.loading = true; @@ -922,7 +916,6 @@ export default { rData.forEach((obj, index) => { this.codeArray.unshift(obj); }); - console.log(this.codeArray); this.$refs.multipleTable.setCurrentRow(this.codeArray[0]); this.currentRow = this.codeArray[0]; this.selectedIndex = 0; @@ -936,34 +929,17 @@ export default { this.iCount = val.count; this.focusNext('iCount'); - - // let sc = this.selectedIndex + 'reCount'; - // const _this = this; - // this.$nextTick(() => { - // setTimeout(function() { - // console.log(sc); - // console.log(_this.$refs[sc]); - // console.log(_this.$refs[sc].focus()); - // _this.$refs[sc].focus(); - // }, 1) - // // this.$refs['inputBatchNoRef'][0].focus() - // }) }, iCountChange() { - // console.log(this.iCount) - // this.currentRow.count = this.iCount; - // this.currentRow.reCount = this.iCount; }, iCountEnterFunction() { if (this.$isNotBlank(this.currentRow)) { this.currentRow.count = this.iCount; - // this.currentRow.reCount = this.iCount; } this.focusNext('inputRef'); }, tableCountChange(row) { if (this.$isNotBlank(row)) { - // row.count = row.reCount; } }, tableRowClassName({row, rowIndex}) { @@ -1182,7 +1158,6 @@ export default { this.loading = true; stockOrderDetail(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -1230,11 +1205,8 @@ export default { this.formData.corpName = event.name; this.formData.corpId = event.erpId; this.formData.unitIdFk = event.erpId; - // console.log("this.inputQuery.companyId" + item); - console.log("this.inputQuery.companyId" + event.erpId); }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, @@ -1277,19 +1249,11 @@ export default { } }, actionChange(item) { - // console.log("item = " + item); - // if (item == '') { - // this.formData.locStorageCode == null; - // } else { this.curAction = this.getActionItem(item); this.formData.locStorageCode = this.curAction.storageCode; - console.log(this.curAction.corpType + "---" + this.formData.locStorageCode + "-----" + this.curAction.action); this.findMethod(); - // } - }, locInChange(item) { - console.log(item); this.formData.locStorageCode = item; this.$forceUpdate(); this.getBusType(item); diff --git a/src/views/warehouse/stockOrderDelSearch.vue b/src/views/warehouse/stockOrderDelSearch.vue index e54a578..6662186 100644 --- a/src/views/warehouse/stockOrderDelSearch.vue +++ b/src/views/warehouse/stockOrderDelSearch.vue @@ -770,7 +770,6 @@ export default { getBusTypeByUser(query).then((res) => { this.busTypes = res.data.list || []; this.filterQuery.billAction = this.busTypes[0].action; - console.log(this.busTypes) }).catch((error) => { }); }, diff --git a/src/views/warehouse/stockOrderDelete.vue b/src/views/warehouse/stockOrderDelete.vue index 165cceb..c931425 100644 --- a/src/views/warehouse/stockOrderDelete.vue +++ b/src/views/warehouse/stockOrderDelete.vue @@ -326,6 +326,7 @@ this.actDateRange = []; }, onSubmit() { + this.query.page = 1; this.getList(); }, handleCurrentChange(val) { diff --git a/src/views/warehouse/stockOrderDistribution.vue b/src/views/warehouse/stockOrderDistribution.vue index 3cda5dd..c3d1520 100644 --- a/src/views/warehouse/stockOrderDistribution.vue +++ b/src/views/warehouse/stockOrderDistribution.vue @@ -335,7 +335,6 @@ export default { this.loading = true; stockOrderDetail(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; diff --git a/src/views/warehouse/stockOrderEdit.vue b/src/views/warehouse/stockOrderEdit.vue index 76e1a7d..9882d60 100644 --- a/src/views/warehouse/stockOrderEdit.vue +++ b/src/views/warehouse/stockOrderEdit.vue @@ -162,7 +162,6 @@ export default { methods: { handleEdit(index, row) { this.currentCheckIndex = index; - console.log(this.currentCheckIndex) }, handleSave(index, row) { this.currentCheckIndex = -1; @@ -178,7 +177,6 @@ export default { row.forEach((item) => { _this.multipId.push(item.id); }) - console.log(this.multipId); }, batchSetParams(flag, type) { if (flag == '1' && type == 'salesListNo') { @@ -251,7 +249,6 @@ export default { this.detailLoading = true; stockOrderDetail(this.detailQuery) .then((response) => { - console.log(response) this.detailLoading = false; this.detailList = response.data.list || []; }) diff --git a/src/views/warehouse/stockOrderEditDistribution.vue b/src/views/warehouse/stockOrderEditDistribution.vue index fba9f21..8b7b8c8 100644 --- a/src/views/warehouse/stockOrderEditDistribution.vue +++ b/src/views/warehouse/stockOrderEditDistribution.vue @@ -611,10 +611,7 @@ export default { this.loading = true; let tQuery = this.formData; tQuery.status = status; - // if (!this.orderEditor) { tQuery.subErpOrders = this.codeArray; - // } - console.log(tQuery); insertStockOrderWeb(tQuery) .then(response => { this.loading = false; @@ -680,14 +677,12 @@ export default { this.thisData.formData = this.formData; this.selectProductVisible = true; let item = this.getActionItem(this.formData.billType); - console.log(item.mainAction + "----" + this.formData.noInvOut); if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true)//内部单 { this.selectInvProductVisible = true; } else { this.selectProductVisible = true; } - return; } this.code = this.code.trim(); @@ -709,7 +704,6 @@ export default { stockOrderDetailQueryProduct(tQuery).then((response) => { this.loading = false; - console.log(response) if (response.code === 20000) { if (response.data.getType === "1") { this.loading = true; @@ -729,35 +723,6 @@ export default { }).catch(() => { this.loading = false; }); - - // let tQuery2 = { - // id: response.data.getId - // }; - // if (this.orderEditor) { - // tQuery2.orderId = this.formData.id; - // console.log(tQuery2) - // addStockOrderDetailFromCodeById(tQuery2).then((response) => { - // this.loading = false; - // if (response.code === 20000) { - // this.closeDialogC2(response); - // } else { - // this.$message.error(response.message); - // } - // }).catch(() => { - // this.loading = false; - // }); - // } else { - // getStockOrderDetailInstrumentById(tQuery2).then((response) => { - // this.loading = false; - // if (response.code === 20000) { - // this.closeDialogC2(response.data); - // } else { - // this.$message.error(response.message); - // } - // }).catch(() => { - // this.loading = false; - // }); - // } } else { this.thisData = response.data; this.thisData.code = this.code; @@ -770,7 +735,6 @@ export default { } } else { this.$message.warning(response.message); - // this.focusNext('inputRef'); if (this.$isNotBlank(event)) { event.target.select(); } @@ -786,7 +750,6 @@ export default { this.thisData = {}; if (this.$isNotBlank(rData)) { - console.log(rData); this.codeArray = []; rData.forEach((obj, index) => { if (this.codeArray.length === 0) { @@ -799,40 +762,7 @@ export default { this.currentRow = this.codeArray[0]; this.selectedIndex = 0; this.focusNext('iCount'); - - // this.closeConfirmFunction(true); } - // if (this.orderEditor) { - // this.getStockOrderDetailList(); - // if (this.$isNotBlank(rData)) { - // this.$refs.multipleTable.setCurrentRow(this.codeArray[0]); - // this.currentRow = this.codeArray[0]; - // this.selectedIndex = 0; - // this.focusNext('iCount'); - // } - // } else { - // if (this.$isNotBlank(rData)) { - // // for (let i = 0; i < this.codeArray.length; i++) { - // // if (this.codeArray[i].productId === rData.productId) { - // // this.$alert("已添加", '提示', { - // // confirmButtonText: '确定', - // // type: 'warning', - // // closeOnClickModal: true, - // // callback: action => { - // // this.$refs.inputRef.focus(); - // // } - // // }); - // // break; - // // } - // // if (i + 1 === this.codeArray.length) { - // // this.codeArray.push(rData); - // // this.$refs.multipleTable.setCurrentRow(this.codeArray[0]); - // // this.currentRow = this.codeArray[0]; - // // this.selectedIndex = 0; - // // } - // // } - // } - // } }, rowChange(val) { this.currentRow = val; @@ -840,23 +770,8 @@ export default { this.iCount = val.reCount; this.focusNext('iCount'); - - // let sc = this.selectedIndex + 'reCount'; - // const _this = this; - // this.$nextTick(() => { - // setTimeout(function() { - // console.log(sc); - // console.log(_this.$refs[sc]); - // console.log(_this.$refs[sc].focus()); - // _this.$refs[sc].focus(); - // }, 1) - // // this.$refs['inputBatchNoRef'][0].focus() - // }) }, iCountChange() { - // console.log(this.iCount) - // this.currentRow.count = this.iCount; - // this.currentRow.reCount = this.iCount; }, iCountEnterFunction() { if (this.$isNotBlank(this.currentRow)) { @@ -867,7 +782,6 @@ export default { }, tableCountChange(row) { if (this.$isNotBlank(row)) { - // row.count = row.reCount; } }, tableRowClassName({row, rowIndex}) { @@ -889,7 +803,6 @@ export default { }; getBasicUnitMaintains2(tQuery) .then((response) => { - console.log(response) this.sLoading = false; this.sOptions = response.data.list; }) @@ -1110,7 +1023,6 @@ export default { this.loading = true; stockOrderDetail(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -1176,7 +1088,6 @@ export default { } }, findStorageMethod(query) { - console.log(query); this.fromStorageOptions = []; let cQuery = { key: query, diff --git a/src/views/warehouse/stockOrderErrorDistribution.vue b/src/views/warehouse/stockOrderErrorDistribution.vue index 0afab36..844a9e3 100644 --- a/src/views/warehouse/stockOrderErrorDistribution.vue +++ b/src/views/warehouse/stockOrderErrorDistribution.vue @@ -338,7 +338,6 @@ export default { this.loading = true; stockOrderDetailTemp(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; diff --git a/src/views/warehouse/stockOrderNewDistribution.vue b/src/views/warehouse/stockOrderNewDistribution.vue index 331e779..3f0a984 100644 --- a/src/views/warehouse/stockOrderNewDistribution.vue +++ b/src/views/warehouse/stockOrderNewDistribution.vue @@ -626,12 +626,9 @@ export default { if (status == '3') { tQuery.subErpOrders.forEach((obj) => { obj.reCount = obj.count; - console.log(obj.reCount); }); } - - console.log(tQuery); insertStockOrderWeb(tQuery) .then(response => { this.loading = false; @@ -713,7 +710,6 @@ export default { stockOrderDetailQueryProduct(tQuery).then((response) => { this.loading = false; - console.log(response) if (response.code === 20000) { if (response.data.getType === "1") { this.loading = true; @@ -782,33 +778,17 @@ export default { this.focusNext('iCount'); - // let sc = this.selectedIndex + 'reCount'; - // const _this = this; - // this.$nextTick(() => { - // setTimeout(function() { - // console.log(sc); - // console.log(_this.$refs[sc]); - // console.log(_this.$refs[sc].focus()); - // _this.$refs[sc].focus(); - // }, 1) - // // this.$refs['inputBatchNoRef'][0].focus() - // }) }, iCountChange() { - // console.log(this.iCount) - // this.currentRow.count = this.iCount; - // this.currentRow.reCount = this.iCount; }, iCountEnterFunction() { if (this.$isNotBlank(this.currentRow)) { this.currentRow.count = this.iCount; - // this.currentRow.reCount = this.iCount; } this.focusNext('inputRef'); }, tableCountChange(row) { if (this.$isNotBlank(row)) { - // row.count = row.reCount; } }, tableRowClassName({row, rowIndex}) { @@ -830,7 +810,6 @@ export default { }; getBasicUnitMaintains2(tQuery) .then((response) => { - console.log(response) this.sLoading = false; this.sOptions = response.data.list; }) @@ -1050,7 +1029,6 @@ export default { this.loading = true; stockOrderDetail(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -1095,7 +1073,6 @@ export default { }); }, getStorage(event) { - console.log("-----" + event); let query = { advanceType: this.getActionName(event), isDefault: true, diff --git a/src/views/warehouse/stockOrderNewSelectProduct.vue b/src/views/warehouse/stockOrderNewSelectProduct.vue index 1076f76..647c338 100644 --- a/src/views/warehouse/stockOrderNewSelectProduct.vue +++ b/src/views/warehouse/stockOrderNewSelectProduct.vue @@ -216,7 +216,6 @@ export default { this.getList(); }, handleChange(val) { - console.log(val); this.currentRow = val; }, handleErpPageChange(val) { @@ -233,7 +232,6 @@ export default { this.listQuery.customerId = store.getters.customerId; stockOrderDetailFilterProduct(this.listQuery) .then((response) => { - console.log(response) this.loading = false; if (response.code === 20000) { this.dataList = response.data.list || []; @@ -265,7 +263,6 @@ export default { let ids = []; selection.forEach((obj, index) => { - console.log("obj:===" + obj + "==" + obj.relIdFk) let data = { relId: obj.rlId, } @@ -287,43 +284,13 @@ export default { this.loading = false; }); - // let tQuery = { - // id: this.currentRow.id - // }; - // if (this.orderEditor) { - // tQuery.orderId = this.orderId; - // console.log(tQuery) - // addStockOrderDetailFromCodeById(tQuery).then((response) => { - // this.loading = false; - // if (response.code === 20000) { - // this.closeDialog(response); - // } else { - // this.$message.error(response.message); - // } - // }).catch(() => { - // this.loading = false; - // }); - // } else { - // getStockOrderDetailInstrumentById(tQuery).then((response) => { - // this.loading = false; - // if (response.code === 20000) { - // this.closeDialog(response.data); - // } else { - // this.$message.error(response.message); - // } - // }).catch(() => { - // this.loading = false; - // }); - // } }, handleSelectionUdiChange(val) { - console.log("----" + val); this.multipleUdiSelection = val; }, }, created() { if (this.$isNotBlank(this.data)) { - console.log(this.data.stockOrderLists); this.listQuery.nameCode = this.data.udi; this.listQuery.billType = this.data.formData.billType; this.listQuery.corpId = this.data.formData.corpId; diff --git a/src/views/warehouse/stockOrderQRCodeDetail.vue b/src/views/warehouse/stockOrderQRCodeDetail.vue index a504858..3a2b675 100644 --- a/src/views/warehouse/stockOrderQRCodeDetail.vue +++ b/src/views/warehouse/stockOrderQRCodeDetail.vue @@ -260,7 +260,6 @@ export default { this.loading = true; filterPrint(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -275,7 +274,6 @@ export default { this.loading = true; filterPrint(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; diff --git a/src/views/warehouse/stockOrderSearch.vue b/src/views/warehouse/stockOrderSearch.vue index 9396e89..1512241 100644 --- a/src/views/warehouse/stockOrderSearch.vue +++ b/src/views/warehouse/stockOrderSearch.vue @@ -579,6 +579,7 @@ export default { this.query.startTime = null; this.query.endTime = null; } + this.query.page = 1; this.getList(); if (this.query.status === "202" || this.query.status === "502") { this.haveDistributionVisible = true; diff --git a/src/views/warehouse/stockQRCodeExport.vue b/src/views/warehouse/stockQRCodeExport.vue index 4ebaec1..78fa708 100644 --- a/src/views/warehouse/stockQRCodeExport.vue +++ b/src/views/warehouse/stockQRCodeExport.vue @@ -349,7 +349,6 @@ export default { this.loading = true; filterPrint(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -375,7 +374,6 @@ export default { this.loading = true; filterPrint(this.query) //查找该单号下的所有条码 .then((response) => { - console.log(response) this.codeArray = response.data.list || []; this.total = response.data.total || 0; this.loading = false; @@ -423,11 +421,8 @@ export default { } let count = 0; for (let i = 0; i < tQuery.countList.length; i++) { - count = count + tQuery.countList[i].rowCount; - console.log(count); } - console.log(count); if (count > 100) { stockQRCodeTextPDFFromTemplateFileMax(tQuery).then((response) => { if (response.code == 20000) { @@ -496,7 +491,6 @@ export default { // this.getStockOrderDetailList(); this.query.orderId = this.idQuery.id; this.query.sOrderId = this.idQuery.id; - console.log(this.query.sOrderId); this.getStockQRCodeTextList(); } }, diff --git a/src/views/warehouse/successOrderExportPDF.vue b/src/views/warehouse/successOrderExportPDF.vue index 12f063d..d3c7dda 100644 --- a/src/views/warehouse/successOrderExportPDF.vue +++ b/src/views/warehouse/successOrderExportPDF.vue @@ -364,7 +364,6 @@ export default { orderId: this.idQuery.id, settingData: this.formData } - console.log(tQuery) this.loading = true; downloadInoutOrderSuccessPDF(tQuery).then((response) => { //将pdf文件转换为url。 @@ -478,23 +477,16 @@ export default { return; } - console.log("更新后的值:" + event) - console.log("传递的参数:" + param) let number = event - this.cellOldWidth[param]; this.cellOldWidth[param] = event; this.sliderChangeAlgorithm(number, param); }, //表格单元格宽度滑动条关联改变 sliderChangeAlgorithm(number, param) { - console.log("----------------------------") - console.log("更新后的值:" + number) - console.log("传递的参数:" + param) this.nowWidth = 0; this.nowNumber = number; for (; this.nowNumber !== 0;) { - console.log("num ber:" + this.nowNumber) if (this.nowNumber < 0) { - console.log("this.nowWidth:" + this.nowWidth) if (this.nowNumber === 0) break; this.sliderChangeAdd('numberEnable', 'numberWidth', param); if (this.nowNumber === 0) break; @@ -527,11 +519,9 @@ export default { } else { break; } - console.log("number:" + number) } }, sliderChangeAdd(paramEnable, paramWidth, nowParamWidth) { - console.log("++++++++++++++ 更新后的值: " + this.nowNumber) if (this.formData[paramEnable] && paramWidth !== nowParamWidth && this.formData[paramWidth] < this.tableCellMaxWidth) { if (this.nowNumber === 0) return; @@ -548,7 +538,6 @@ export default { } }, sliderChangeDelete(paramEnable, paramWidth, nowParamWidth) { - console.log("-------------- 更新后的值: " + this.nowNumber) if (this.formData[paramEnable] && paramWidth !== nowParamWidth && this.formData[paramWidth] > this.tableCellMinWidth) { if (this.nowNumber === 0) return;