From 1b3fab221ae772be9f4831e9535e0e6a9e470fff Mon Sep 17 00:00:00 2001 From: bb_pan Date: Thu, 23 Oct 2025 17:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/lease/outBound/index.vue | 24 ++- .../material/purchase/goodsAccept/detail.vue | 6 +- .../purchase/goodsAccept/editTools.vue | 5 +- .../material/purchase/goodsAccept/index.vue | 11 +- .../material/purchase/goodsArrived/index.vue | 35 +++-- .../material/purchase/goodsEntry/index.vue | 21 ++- .../repair/repairManage/component/home.vue | 147 +++++++++++++++++- 7 files changed, 214 insertions(+), 35 deletions(-) diff --git a/src/views/material/lease/outBound/index.vue b/src/views/material/lease/outBound/index.vue index 72d22d0c..858ee7c3 100644 --- a/src/views/material/lease/outBound/index.vue +++ b/src/views/material/lease/outBound/index.vue @@ -347,8 +347,8 @@
- -
+ +
施工机具设备出库检验记录表
@@ -429,14 +429,14 @@
检验单位:
-
+
- + + + +
@@ -62,6 +66,9 @@ export default { /* 新增成功 */ addToolsSuccess() { this.isShowComponent = 'Home' + this.$nextTick(() => { + this.$refs.componentRef.resetQuery() + }) }, /* 编辑工机具 */ editTools(taskId,id) { diff --git a/src/views/material/purchase/goodsEntry/index.vue b/src/views/material/purchase/goodsEntry/index.vue index d36c78d0..2a69ef46 100644 --- a/src/views/material/purchase/goodsEntry/index.vue +++ b/src/views/material/purchase/goodsEntry/index.vue @@ -289,6 +289,11 @@ export default { printTableData: [] } }, + activated() { + if (this.$route.params.isReset) { + this.resetQuery() + } + }, created() { if (this.$route.query.code) { this.queryParams.keyWord = this.$route.query.code @@ -337,8 +342,12 @@ export default { }, handleUpdate(row) { console.log(row) - let query = { Id: row.id, taskId: row.taskId, isView: 'false' } - this.$tab.closeOpenPage({ + let query = { Id: row.id, taskId: row.taskId, isView: 'false', path: 'goodsEntry' } + // this.$tab.closeOpenPage({ + // path: '/purchase/goodsEntryDetail', + // query + // }) + this.$router.push({ path: '/purchase/goodsEntryDetail', query }) @@ -346,8 +355,12 @@ export default { //查看 handleView(row) { console.log(row) - let query = { Id: row.id, taskId: row.taskId, isView: 'true' } - this.$tab.closeOpenPage({ + let query = { Id: row.id, taskId: row.taskId, isView: 'true', path: 'goodsEntry' } + // this.$tab.closeOpenPage({ + // path: '/purchase/goodsEntryDetail', + // query + // }) + this.$router.push({ path: '/purchase/goodsEntryDetail', query }) diff --git a/src/views/material/repair/repairManage/component/home.vue b/src/views/material/repair/repairManage/component/home.vue index 1317d18a..9f45f466 100644 --- a/src/views/material/repair/repairManage/component/home.vue +++ b/src/views/material/repair/repairManage/component/home.vue @@ -96,7 +96,8 @@
承修单位: - {{ repairTicketlLevelOne.backUnit }} + + 机具(物流)分公司
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称型号编号单位报修数量修复数量报废数量维修费小计报废图片
{{ row.typeName }}{{ row.type }} +
计数
+
+ 详见附件 +
+
{{ row.unitName }}{{ row.typeRepairNum }}{{ row.typeRepairedNum }}{{ row.typeScrapNum }} + ¥ {{ Number(row.typeCost) }} + +
+
+ {{ row.fileList.length }} +
+
总计{{ repairNum1 }}{{ repairNum2 }}{{ repairNum3 }}¥ {{ repairNum4 }}
+
维修内容
- + + + + + + + + + + + + + + + + + + + + + + + + + +
修理项目 + 配件名称 * 数量 / 单价 + 总价 +
+ {{ row.maTypeName }} - {{ row.typeName }} + +
+ {{ row.partName }} + × + {{ row.partNum }} + / + ¥ {{ row.partPrice }} + + ¥ {{ row.partCost }} +
+
+ 合计 + + ¥ {{ acountAll }} +
+