From 62c0885f2777abb700b66bb26ed9f66786c79f7b Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 01 八月 2024 18:57:53 +0800 Subject: [PATCH] 修改工时管理 --- src/components/view/b1-inspection-order.vue | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue index cf1c56b..51a1186 100644 --- a/src/components/view/b1-inspection-order.vue +++ b/src/components/view/b1-inspection-order.vue @@ -135,8 +135,8 @@ border: none !important; } .scor{ - width: 3px; - height: 3px; + width: 0.01cm; + height: 0.01cm; border-radius: 1px; border: 1px solid #000; display: inline-block; @@ -231,7 +231,9 @@ <ul class="tab"> <li v-for="(m,i) in tabList" :key="i" :class="{active:i==tabIndex}" @click="handleTab(m,i)">{{m.label}}</li> </ul> - <ValueTable :style="getStyle()" ref="ValueTable" :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData" + <ValueTable :style="getStyle()" ref="ValueTable" + :isColumnWidth="true" + :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData" :key="'b'+upIndex" /> </div> <!-- 瀹℃牳 --> @@ -381,32 +383,32 @@ </el-row> </span> </el-dialog> - <div class="el-dialog__body" style="display:none;overflow-y: auto;margin-top: 0;position: fixed;top: 999px;z-index: 99999;"> + <div class="el-dialog__body" style="overflow-y: auto;margin-top: 0;position: fixed;top: 999px;z-index: 99999;display: none;"> <div id="printMOrder"> - <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i" style="font-size: 8px !important;page-break-after: always;color: #000;box-shadow: none;" > + <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i" style="font-size: 0.21cm !important;page-break-after: always;color: #000;box-shadow: none;" > <div style="display: flex;"> <div> <el-col :span="10" :offset="2"> <vueQr :text="JSON.stringify(item.sampleCode)" :size="78" :margin="2"></vueQr> </el-col> </div> - <div style="margin-left: 12px;line-height: 9px;"> + <div style="margin-left: 0.32cm;line-height: 0.25cm;"> <el-row> - <el-col style="font-size: 8px;"><span>鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> + <el-col style="font-size: 0.21cm;"><span>鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> </el-row> - <el-row style="font-size: 8px;"> + <el-row style="font-size: 0.21cm;"> <el-col><span>濮旀墭鍗曞彿: </span>{{ item.code }}</el-col> </el-row> - <el-row style="font-size: 8px;"> + <el-row style="font-size: 0.21cm;"> <el-col><span>瑙勬牸鍨嬪彿: </span>{{ item.model }}</el-col> </el-row> - <el-row style="font-size: 8px;"> + <el-row style="font-size: 0.21cm;"> <el-col ><span>鏍峰搧鍚嶇О: </span>{{ item.sampleName }}</el-col> </el-row> - <el-row style="font-size: 8px;width: 140px;"> + <el-row style="font-size: 0.21cm;width: 4.77cm;"> <el-col class="ellipsis-multiline"><span>妫�娴嬮」鐩�: </span>{{ item.item }}</el-col> </el-row> - <el-row style="margin-top: 3px;font-size: 8px;"> + <el-row style="margin-top: 0.01cm;font-size: 0.21cm;"> <el-col style="display: flex;align-items: center;"><span>鏍峰搧鐘舵��: </span> <span style="white-space: nowrap;"><span v-if="item.insState==0">鈭�</span><span class="scor" v-if="item.insState!=0"></span>寰呮 @@ -761,7 +763,7 @@ }`, onPrintDialogClose: this.erexcel=false, targetStyles: ["*"], // 浣跨敤dom鐨勬墍鏈夋牱寮忥紝寰堥噸瑕� - font_size: '', + font_size: '0.21cm', }); }, print(){ -- Gitblit v1.9.3