From bdec0bfeb7a5da7987b966fa369d8eec0266900f Mon Sep 17 00:00:00 2001 From: Aoi_Tori <2547614904@qq.com> Date: Tue, 3 Jun 2025 09:08:35 +0800 Subject: [PATCH] 2025/6/3 --- src/views/modules/oss/ossComponents.vue | 11 +++++++++++ .../modules/part/partCatalogInformation.vue | 19 +++++++++++++++++++ src/views/modules/part/partInformation.vue | 13 ++++++------- src/views/modules/part/routingManagement.vue | 7 ++++++- .../modules/quotation/requestForQuote.vue | 8 ++++++-- .../com_bm_demoSlot.vue | 2 +- .../com_tsd_basicInformation.vue | 6 +++++- 7 files changed, 54 insertions(+), 12 deletions(-) diff --git a/src/views/modules/oss/ossComponents.vue b/src/views/modules/oss/ossComponents.vue index fc8c974..235be11 100644 --- a/src/views/modules/oss/ossComponents.vue +++ b/src/views/modules/oss/ossComponents.vue @@ -109,6 +109,8 @@ export default { this.fileList = fileList }, handleUploadFiles(){ + console.log('单号为:') + console.log(this.ossForm.orderRef2) if (this.fileList.length === 0){ this.$message.error('请选择文件'); return; @@ -255,7 +257,16 @@ export default { this.dataList = []; this.handleQuery(); } + }, + orderRef2(newVal) { + this.ossForm.orderRef2 = newVal; + }, + 'ossForm.orderRef2'(newVal) { + this.$emit('update:orderRef2', newVal); } + }, + mounted() { + this.ossForm.orderRef2 = this.orderRef2; } } diff --git a/src/views/modules/part/partCatalogInformation.vue b/src/views/modules/part/partCatalogInformation.vue index 654160b..62e259b 100644 --- a/src/views/modules/part/partCatalogInformation.vue +++ b/src/views/modules/part/partCatalogInformation.vue @@ -435,6 +435,13 @@ Chooselist }, watch: { + '$route'(to) { + const newPartNo = to.params.ifsPartNo + if (newPartNo && newPartNo !== this.searchData.partNo) { + this.searchData.partNo = newPartNo + this.getDataList() + } + }, searchData: { deep: true, handler: function (newV, oldV) { @@ -1124,6 +1131,18 @@ }, created () { + this.searchData = { + site: this.$store.state.user.site, + partNo: '', + partDesc: '', + page: 1, + limit: 10 + } + const {ifsPartNo} = this.$route.params; + if (ifsPartNo) { + this.searchData.partNo = ifsPartNo; + console.log('赋值成功') + } this.getDataList() }, diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue index 48a0f96..b546427 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -112,7 +112,7 @@ fixed="right" header-align="center" align="center" - width="120" + width="100" label="操作">