From c7f3b447415448e6ae570882900ee129590f580b Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 09 四月 2025 17:47:30 +0800 Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable --- src/views/business/inspectionTask/inspection.vue | 29 ++++++++++++----------------- 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue index 37469e3..c2e85d8 100644 --- a/src/views/business/inspectionTask/inspection.vue +++ b/src/views/business/inspectionTask/inspection.vue @@ -147,8 +147,7 @@ </div> <!-- 甯歌妫�楠屽師濮嬭褰� --> <div id="nav" v-loading="tableLoading" class="center-box"> - <template v-if=" - tableLists.find((m) => m.templateId == currentTable)"> + <template v-if="tableLists.find((m) => m.templateId == currentTable)"> <table v-for="(item, index) in tableList" :key="index + currentTable + currentSample.id" border="1" cellpadding="10" class="tables" id="myTable"> <tbody> @@ -167,8 +166,7 @@ };`"> <div :class="`content-h-${n.v.ht} content-v-${n.v.vt}`" :style="`width:${handleWidth(n)}px !important;min-height:${item.style.rowlen[n.r] }px;`" class="content"> - <template v-if=" - n.v.ps != undefined && + <template v-if="n.v.ps != undefined && typeof n.v.ps.value === 'string' && n.v.ps.value.includes('妫�楠屽��') && state == 1 @@ -254,8 +252,7 @@ <span v-else :style="`font-family:${n.v.ff} !important;`">寰呭畾</span> </template> </template> - <template v-else-if=" - n.v.ps != undefined && + <template v-else-if="n.v.ps != undefined && n.v.ps.value === '璁惧缂栫爜' && state == 1 "> @@ -274,8 +271,7 @@ </el-option> </el-select> </template> - <template v-else-if=" - n.v.ps != undefined && + <template v-else-if="n.v.ps != undefined && n.v.ps.value === '瑕佹眰鍊�' && state == 1 "> @@ -289,7 +285,7 @@ state == 1 "><span :style="`font-family:${n.v.ff} !important;`">{{ toFixed(n.v.v, n.v.ct) - }}</span></template> + }}</span></template> <template v-else-if=" n.v.ps != undefined && n.v.ps.value === '鏈�缁堝��' && @@ -299,8 +295,7 @@ toFixed(n.v.v, n.v.ct) }}</span> </template> - <template v-else-if=" - n.v.ps != undefined && n.v.ps.value === '鏍峰搧缂栧彿' + <template v-else-if="n.v.ps != undefined && n.v.ps.value === '鏍峰搧缂栧彿' "> <div :title="currentSample.sampleCode" style=" display: flex; @@ -316,11 +311,9 @@ <i class="el-icon-caret-right table_caret" style="width: 16px" @click="caretSample(1)"></i> </div> </template> - <template v-else-if=" - n.v.ps != undefined && n.v.ps.value === '鏍峰搧鍨嬪彿' + <template v-else-if="n.v.ps != undefined && n.v.ps.value === '鏍峰搧鍨嬪彿' "> - <div v-if=" - currentSample.model !== undefined && + <div v-if="currentSample.model !== undefined && currentSample.model !== null " :style="`font-family:${n.v.ff} !important;`"> {{ currentSample.model }} @@ -509,7 +502,7 @@ <InspectionWord v-if="unPassCheck" :inspectorList="inspectorList" :orderId="orderId" :rawMaterialTag="rawMaterialTag" :sonLaboratory="sonLaboratory" :state="state" :typeSource="typeSource" :unPassCheck="unPassCheck" @closeUnPassCheckDialog="closeUnPassCheckDialog" @refreshView="refreshView" /> - <purchase-verification v-if="purchaseDialog" ref="purchaseDialog" :orderId="orderId" + <purchase-verification v-if="purchaseDialog" ref="purchaseDialog" :orderId="orderId" :workShopId="workShopId" :purchaseDialog="purchaseDialog" @resetPurchaseDialog="resetPurchaseDialog"></purchase-verification> <!--鏌ョ湅宸ユ椂寮规--> <viewManHourDia ref="viewManHourDia" @submit="openAddVerifyDia"></viewManHourDia> @@ -560,6 +553,7 @@ data() { return { sonLaboratory: null, + workShopId: null, orderId: null, state: null, inspectorList: null, @@ -776,8 +770,9 @@ }, }, created() { - let { sonLaboratory, orderId, state, inspectorList, typeSource } = + let { sonLaboratory, orderId, state, inspectorList, typeSource, workShopId } = this.$route.query; + this.workShopId = workShopId this.sonLaboratory = sonLaboratory; this.orderId = orderId; this.id = this.orderId; -- Gitblit v1.9.3