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 @@ - 保存 + 出 库 + + + 暂 存 +