From 69ed1555e7be98d643e5cf9c55b591c44d52d1b9 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 01 十一月 2024 11:24:24 +0800 Subject: [PATCH] 修改标签打印格式 --- src/components/view/b1-inspection-order.vue | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue index f3b34a3..c97ecc1 100644 --- a/src/components/view/b1-inspection-order.vue +++ b/src/components/view/b1-inspection-order.vue @@ -402,18 +402,19 @@ <div> <div style="width: 100%;line-height: 30px;"> <el-row style="font-size: 16px;"> - <el-col :span="16"><span> 鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> - <el-col :span="8"><span> 瑙勬牸鍨嬪彿: </span>{{ item.model }}</el-col> + <el-col :span="16" style="text-align: left;"><span> 鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> + <el-col :span="8" style="text-align: left;"><span> 瑙勬牸鍨嬪彿: </span>{{ item.model }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;"> - <el-col :span="16"><span> 濮旀墭鍗曞彿: </span>{{ item.code }}</el-col> - <el-col :span="8"><span> 鐢垫満缂栧彿: </span>{{ item.motorNumber }}</el-col> + <el-col :span="16" style="text-align: left;"><span> 濮旀墭鍗曞彿: </span>{{ item.code }}</el-col> + <el-col :span="8" style="text-align: left;"><span> 鐢垫満缂栧彿: </span>{{ item.motorNumber }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;"> - <el-col><span> 鏍锋満瀹屾垚鏃堕棿: </span>{{ item.issueTime }}</el-col> + <el-col :span="16" style="text-align: left;"><span> 鏍锋満瀹屾垚鏃堕棿: </span>{{ item.issueTime }}</el-col> + <el-col :span="8" style="text-align: left;"><span> 鏍锋満鍛�: </span>{{ item.issueName }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;" class="ellipsis-multiline"> - <el-col><span> 妫�娴嬮」鐩�: </span>{{ item.item }}</el-col> + <el-col style="text-align: left;"><span> 妫�娴嬮」鐩�: </span>{{ item.item }}</el-col> </el-row> </div> </div> @@ -438,18 +439,19 @@ <div> <div style="width: 100%;line-height: 30px;"> <el-row style="font-size: 16px;"> - <el-col :span="16"><span>鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> - <el-col :span="7"><span>瑙勬牸鍨嬪彿: </span>{{ item.model }}</el-col> + <el-col :span="16" style="text-align: left;"><span>鏍峰搧缂栧彿: </span>{{ item.sampleCode }}</el-col> + <el-col :span="7" style="text-align: left;"><span>瑙勬牸鍨嬪彿: </span>{{ item.model }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;"> - <el-col :span="16"><span>濮旀墭鍗曞彿: </span>{{ item.code }}</el-col> - <el-col :span="7"><span>鐢垫満缂栧彿: </span>{{ item.motorNumber }}</el-col> + <el-col :span="16" style="text-align: left;"><span>濮旀墭鍗曞彿: </span>{{ item.code }}</el-col> + <el-col :span="7" style="text-align: left;"><span>鐢垫満缂栧彿: </span>{{ item.motorNumber }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;"> - <el-col><span>鏍锋満瀹屾垚鏃堕棿: </span>{{ item.issueTime }}</el-col> + <el-col :span="16" style="text-align: left;"><span>鏍锋満瀹屾垚鏃堕棿: </span>{{ item.issueTime }}</el-col> + <el-col :span="7" style="text-align: left;"><span>鏍锋満鍛�: </span>{{ item.issueName }}</el-col> </el-row> <el-row style="margin-top: 1px;font-size: 16px;" class="ellipsis-multiline"> - <el-col><span>妫�娴嬮」鐩�: </span>{{ item.item }}</el-col> + <el-col style="text-align: left;"><span>妫�娴嬮」鐩�: </span>{{ item.item }}</el-col> </el-row> </div> </div> @@ -998,7 +1000,10 @@ this.$refs['ValueTable'].selectList(e) }, refresh() { + let state = this.componentData.entity.state this.componentData.entity = this.HaveJson(this.entityCopy) + this.componentData.entity.state = state + this.refreshTable() this.upIndex++ }, // 鏉冮檺鍒嗛厤 -- Gitblit v1.9.3