From 3ff6086baa1e934380381e73f6dc335f57f81c84 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 6 Jun 2025 14:36:44 +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 --- .../material/back/component/addReturn.vue | 11 +-- src/views/material/back/component/home.vue | 4 +- .../lease/apply/component/addToolsApply.vue | 31 ++++++++- .../lease/apply/component/homeApply.vue | 2 + .../material/lease/apply/leaseRecord.vue | 4 +- .../outBound/component/addToolsApply.vue | 67 +++++++++++++++---- .../lease/outBound/component/homeApply.vue | 14 ++-- 7 files changed, 104 insertions(+), 29 deletions(-) diff --git a/src/views/material/back/component/addReturn.vue b/src/views/material/back/component/addReturn.vue index 3b5f20dd..e84693ea 100644 --- a/src/views/material/back/component/addReturn.vue +++ b/src/views/material/back/component/addReturn.vue @@ -141,9 +141,11 @@ > --> - 保存 + 退 料 + + + 暂 存 - { + console.log('🚀 ~ getAgreementId ~ res:', res) + this.agreementId = res.data.agreementId + this.equipmentType() + }) + }, /** 转换菜单数据结构 */ normalizer(node) { if (node.children && !node.children.length) { @@ -474,7 +497,8 @@ export default { unitName: node.unitName, unitValue: node.unitValue, maxSortPriority: node.maxSortPriority, - manageType: node.manageType + manageType: node.manageType, + useNum: node.useNum }) } @@ -555,6 +579,7 @@ export default { this.isFileFbs = true } // this.loading = false; + this.getAgreementId() }) }, //单位,工程树结构数据获取父 @@ -642,7 +667,7 @@ export default { .then(function () {}) .then(() => { if (this.isEdit) { - // this.maForm.teamId = this.maForm.teamId + this.maForm.isOut = 0 this.maForm.leaseProjectId = this.maForm.projectId console.log('编辑') this.loading = true diff --git a/src/views/material/lease/apply/component/homeApply.vue b/src/views/material/lease/apply/component/homeApply.vue index b4c0b0b2..1df91fed 100644 --- a/src/views/material/lease/apply/component/homeApply.vue +++ b/src/views/material/lease/apply/component/homeApply.vue @@ -444,6 +444,8 @@ export default { this.typeList = response.data.rows this.total = response.data.total this.loading = false + }).catch(() => { + this.loading = false }) }, /** 搜索按钮操作 */ diff --git a/src/views/material/lease/apply/leaseRecord.vue b/src/views/material/lease/apply/leaseRecord.vue index cc2ff9af..c78ef4c1 100644 --- a/src/views/material/lease/apply/leaseRecord.vue +++ b/src/views/material/lease/apply/leaseRecord.vue @@ -43,7 +43,7 @@ - + - + diff --git a/src/views/material/lease/outBound/component/addToolsApply.vue b/src/views/material/lease/outBound/component/addToolsApply.vue index f0510602..84294bb6 100644 --- a/src/views/material/lease/outBound/component/addToolsApply.vue +++ b/src/views/material/lease/outBound/component/addToolsApply.vue @@ -141,7 +141,10 @@ - 保存 + 出 库 + + + 暂 存 +