From 48fe52f69fb39585e00895f30c4423c6e12333f2 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 1 Jul 2024 18:32:56 +0800 Subject: [PATCH] =?UTF-8?q?7/1=20=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dev/deptDeviceUpkeep.vue | 7 +- src/views/dev/deviceChangeOrder.vue | 4 +- src/views/dev/deviceCheckItemDict.vue | 2 +- src/views/dev/devicePlan.vue | 183 ++++++------- src/views/dev/devicePlanEdit.vue | 24 +- src/views/dev/deviceRepair.vue | 2 +- src/views/dev/deviceRepairApply.vue | 2 +- src/views/dev/deviceRepairApplyHall.vue | 2 +- src/views/dev/deviceRepairApplyMy.vue | 2 +- src/views/dev/deviceUpkeepItemDict.vue | 2 +- src/views/dev/deviceUpkeepPlan.vue | 176 +++++++------ src/views/dev/js/deviceChangeOrder.js | 8 + src/views/dev/js/deviceCheckItemDict.js | 4 + src/views/dev/js/deviceRepair.js | 4 + src/views/dev/js/deviceRepairApply.js | 4 + src/views/dev/js/deviceRepairApplyHall.js | 3 + src/views/dev/js/deviceRepairApplyMy.js | 3 + src/views/dev/js/deviceUpkeepItemDict.js | 247 +++++++++--------- src/views/inventory/InvOrderPlaceModify.vue | 10 +- src/views/inventory/InvPlaceChangeModify.vue | 10 +- src/views/inventory/InvProductPlaceModify.vue | 8 +- .../inventory/InvProductPlaceOutModify.vue | 7 +- src/views/inventory/addInvRemindSetDialog.vue | 3 + .../inventory/count/InvCountOrderModify.vue | 10 + src/views/inventory/stockCompare.js | 7 + src/views/inventory/stockCompare.vue | 4 +- src/views/inventory/supInoutSearchOrder.vue | 25 +- src/views/remind/invRemindMsg.vue | 6 +- src/views/remind/supCertRemindMsg.vue | 5 +- 29 files changed, 450 insertions(+), 324 deletions(-) diff --git a/src/views/dev/deptDeviceUpkeep.vue b/src/views/dev/deptDeviceUpkeep.vue index dc35317c..7d67fe72 100644 --- a/src/views/dev/deptDeviceUpkeep.vue +++ b/src/views/dev/deptDeviceUpkeep.vue @@ -268,7 +268,7 @@
取消 - 提交 + 提交
@@ -546,6 +546,7 @@ export default { maxFiles: 3, fileSizeLimit: 5, uploadedFileNames: '', + commitRepairLoading: false, } }, created() { @@ -598,7 +599,9 @@ watch: { }) pData.applyUserPhone = this.repairRow.repairUserPhone pData.taskId = this.repairRow.taskId + this.commitRepairLoading = true deviceRepairApplyAdd(pData).then(res => { + this.commitRepairLoading = false load.close() if (res.code != 20000) { this.$message.error(res.message) @@ -609,12 +612,12 @@ watch: { this.getList() this.repairRow = null }).catch(() => { + this.commitRepairLoading = false load.close() }) }) }, createRepair(row) { - console.log("hhhhhhhhhh") let data = copyProperties(row, {...repairData}); this.uploadedFileNames = "" this.repairRow = _.extend({}, row, data) diff --git a/src/views/dev/deviceChangeOrder.vue b/src/views/dev/deviceChangeOrder.vue index e4ada109..aa6678f6 100644 --- a/src/views/dev/deviceChangeOrder.vue +++ b/src/views/dev/deviceChangeOrder.vue @@ -191,8 +191,8 @@ - 草稿保存 - 立即提交 + 草稿保存 + 立即提交 diff --git a/src/views/dev/deviceCheckItemDict.vue b/src/views/dev/deviceCheckItemDict.vue index a32ff2f9..2631cdb1 100644 --- a/src/views/dev/deviceCheckItemDict.vue +++ b/src/views/dev/deviceCheckItemDict.vue @@ -78,7 +78,7 @@
取消 - 保存 + 保存
diff --git a/src/views/dev/devicePlan.vue b/src/views/dev/devicePlan.vue index fd79e1f5..ec4253fb 100644 --- a/src/views/dev/devicePlan.vue +++ b/src/views/dev/devicePlan.vue @@ -35,7 +35,8 @@ + highlight-current-row + > @@ -95,7 +96,8 @@ + highlight-current-row + > @@ -135,7 +137,8 @@ > + :createFlag="createFlag" + /> @@ -150,7 +153,8 @@ :planId="detailQuery.planId" :projectItem="projectItem" :pullData="planData" - :closeAddDevice="closeAddDevice"/> + :closeAddDevice="closeAddDevice" + /> @@ -160,50 +164,49 @@