From f4c92ea07e2c59b017a1e18300e0e98f0d9590ad 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 | 146 ++++++++++++------ 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, 145 insertions(+), 54 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..b45a903 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -104,8 +104,18 @@ :min-width="item.columnWidth" :label="item.columnLabel"> 更多 - + BOM Routing - 转正式物料 + 转正式物料 + @@ -135,20 +147,22 @@ + @size-change="sizeChangeHandle" + @current-change="currentChangeHandle" + :current-page="pageIndex" + :page-sizes="[20, 50, 100, 200, 500]" + :page-size="pageSize" + :total="totalPage" + layout="total, sizes, prev, pager, next, jumper"> - + - + @@ -156,7 +170,8 @@ Copy - + @@ -165,7 +180,8 @@ Next Part No - + @@ -177,40 +193,49 @@ - 安全代码 / Safety Code + 安全代码 / Safety Code - 计划人 / Planner - + 计划人 / Planner + 会计组 / Accounting Group - + - 计量单位 / Inventory UoM + 计量单位 / Inventory UoM 计量单位 / Inventory UoM - + - 产品代码 / Product Code + 产品代码 / Product Code - 商品组1 / Comm Group 1 - + 商品组1 / Comm Group 1 + @@ -221,8 +246,10 @@ - 商品组2 / Comm Group 2 - + 商品组2 / Comm Group 2 + @@ -231,7 +258,8 @@ - 资产等级 / Asset Class + 资产等级 / Asset Class @@ -241,12 +269,14 @@ - 零件状态 / Part Status + 零件状态 / Part Status - + @@ -257,13 +287,16 @@ - ABC类 / ABC Class + ABC类 / ABC Class ABC类 / ABC Class - + - + @@ -277,44 +310,56 @@ - + - + 来源国家 / Country of Origin - + - + - + - 区域代码 / Region Code - + 区域代码 / Region Code + - + 海关统计序号 / Customs Stat No - + - + @@ -327,7 +372,8 @@ - + @@ -366,7 +413,8 @@ 零件成本组 / Part Cost Group - + @@ -565,7 +613,7 @@ - 新增 + 新增 -