From 02609fcedd8fb55383da0a1f823a8cba913510e7 Mon Sep 17 00:00:00 2001 From: guoyujie <guoyujie@ng.com> Date: 星期一, 26 五月 2025 09:03:10 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- north-glass-erp/northglass-erp/src/components/pp/PrintReworkProcess.vue | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintReworkProcess.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintReworkProcess.vue index d7bb128..c4a636b 100644 --- a/north-glass-erp/northglass-erp/src/components/pp/PrintReworkProcess.vue +++ b/north-glass-erp/northglass-erp/src/components/pp/PrintReworkProcess.vue @@ -70,33 +70,33 @@ produceList.value[j].detail[0].weight = sumWeight } //澶勭悊鍚堝苟鎵撳嵃 - if (printMerge !== null && printMerge !== undefined && printMerge !== "") { - - produceList.value.forEach(item => { - item.detail[0].technologyNumber = printMerge; - }); - - //鍚堝苟鎵撳嵃宸ヨ壓娴佺▼澶勭悊 - if (like == null) { - let process = produceList.value[0].detail[0].process - let indexOfJiaJiao = process.indexOf('澶硅兌'); - if (indexOfJiaJiao !== -1) { - // 浣跨敤 substring 鎴彇 "澶硅兌" 鍚庨潰鐨勯儴鍒嗭紝鍖呮嫭 "澶硅兌" 鏈韩 - let afterJiaJiao = process.substring(indexOfJiaJiao).trim(); - produceList.value.forEach(item => { - item.detail[0].process = afterJiaJiao - }) - } - - let indexOfProceList = produceList.value[0].processList - let getProceList = indexOfProceList.findIndex(item => item.process === '澶硅兌'); - - if (getProceList !== -1) { - // 浣跨敤 filter 鏂规硶杩囨护鍑� "澶硅兌" 鍙婂叾涔嬪悗鐨勫璞� - produceList.value[0].processList = indexOfProceList.filter((item, index) => index >= getProceList); - } - } - } + // if (printMerge !== null && printMerge !== undefined && printMerge !== "") { + // + // produceList.value.forEach(item => { + // item.detail[0].technologyNumber = printMerge; + // }); + // + // //鍚堝苟鎵撳嵃宸ヨ壓娴佺▼澶勭悊 + // if (like == null) { + // let process = produceList.value[0].detail[0].process + // let indexOfJiaJiao = process.indexOf('澶硅兌'); + // if (indexOfJiaJiao !== -1) { + // // 浣跨敤 substring 鎴彇 "澶硅兌" 鍚庨潰鐨勯儴鍒嗭紝鍖呮嫭 "澶硅兌" 鏈韩 + // let afterJiaJiao = process.substring(indexOfJiaJiao).trim(); + // produceList.value.forEach(item => { + // item.detail[0].process = afterJiaJiao + // }) + // } + // + // let indexOfProceList = produceList.value[0].processList + // let getProceList = indexOfProceList.findIndex(item => item.process === '澶硅兌'); + // + // if (getProceList !== -1) { + // // 浣跨敤 filter 鏂规硶杩囨护鍑� "澶硅兌" 鍙婂叾涔嬪悗鐨勫璞� + // produceList.value[0].processList = indexOfProceList.filter((item, index) => index >= getProceList); + // } + // } + // } produceList.value.forEach(item => { -- Gitblit v1.8.0