2024-07-22 17:02:52 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<el-config-provider :locale="zhCn">
|
|
|
|
|
|
<el-container class="content">
|
|
|
|
|
|
<div class="work-area">
|
|
|
|
|
|
<fieldset class="title-area">
|
|
|
|
|
|
<legend>
|
|
|
|
|
|
工作台
|
|
|
|
|
|
</legend>
|
|
|
|
|
|
<div class="title-div">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<span class="title-text">Kitting备料完成</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="station-div">
|
|
|
|
|
|
<span class="station-text">工作站:</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="station-no-div">
|
|
|
|
|
|
<span class="station-no-text">{{ standId }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
<fieldset class="main-area">
|
|
|
|
|
|
<legend>
|
2024-07-25 16:59:14 +08:00
|
|
|
|
备料完成
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</legend>
|
|
|
|
|
|
<el-form ref="workFormRef" :model="workFormEntity" :label-position="labelPosition"
|
2024-07-25 16:59:14 +08:00
|
|
|
|
label-width="150px" style="max-width: 100%;" :rules="rules" status-icon>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
<div style="display: flex;">
|
|
|
|
|
|
<div style="display: block; margin: 5px;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<div
|
2024-08-01 16:39:00 +08:00
|
|
|
|
style="display: inline-flex; justify-content: center; height: 60px; width: 700px; margin: 5px; padding: 5px; background-color: #00AAE8;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 25px;">
|
|
|
|
|
|
{{ workFormEntity.tip }}
|
|
|
|
|
|
</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<div style="display: flex; margin-top: 5px; margin-top: 15px">
|
2024-07-22 17:02:52 +08:00
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 160px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<span
|
|
|
|
|
|
style="align-self: center; font-weight: bold;font-size: 20px;">计划完成:</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
2024-07-25 16:59:14 +08:00
|
|
|
|
style="display: inline-flex; justify-content: center; width: 240px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">
|
|
|
|
|
|
{{ workFormEntity.planRows }}
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 80px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">行</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex; margin-top: 5px; margin-top: 15px">
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 160px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span
|
2024-07-25 16:59:14 +08:00
|
|
|
|
style="align-self: center; font-weight: bold;font-size: 20px;">实际完成:</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 240px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
{{ workFormEntity.actualRows }}
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 80px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">行</span>
|
|
|
|
|
|
</div>
|
2024-07-25 16:59:14 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex; margin-top: 5px; margin-top: 15px">
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 160px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span
|
|
|
|
|
|
style="align-self: center; font-weight: bold;font-size: 20px;">实际备料:</span>
|
|
|
|
|
|
</div>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 240px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
{{ workFormEntity.actualCounts }}
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 80px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 20px;">PC</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex; margin-top: 15px">
|
|
|
|
|
|
<div
|
|
|
|
|
|
style="display: inline-flex; justify-content: center; width: 160px; margin: 5px; padding: 5px; background-color: #CCCCCC;">
|
|
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 25px;">备注</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
2024-08-01 16:39:00 +08:00
|
|
|
|
style="display: inline-flex; justify-content: center; width: 520px; margin: 5px; padding: 5px; background-color: #00AAE8;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<span style="align-self: center; font-weight: bold;font-size: 25px;">
|
|
|
|
|
|
{{ workFormEntity.remark }}
|
|
|
|
|
|
</span>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-08-01 16:39:00 +08:00
|
|
|
|
<div style="margin: 10px;">
|
2024-08-14 22:35:32 +08:00
|
|
|
|
<div class="arrow" @click="requestPrint()" v-print="'#printArea'">
|
2024-08-09 16:53:52 +08:00
|
|
|
|
<Printer style="display: none;" />
|
2024-08-01 16:39:00 +08:00
|
|
|
|
<span
|
|
|
|
|
|
style="margin-left: 25px; align-self: center; font-weight: bold;font-size: 45px; writing-mode: vertical-lr;">打印标签</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
<div style="margin: 10px;">
|
2024-07-25 16:59:14 +08:00
|
|
|
|
<div class="arrow" @click="confirmWork()">
|
2024-07-22 17:02:52 +08:00
|
|
|
|
<span
|
|
|
|
|
|
style="margin-left: 25px; align-self: center; font-weight: bold;font-size: 45px; writing-mode: vertical-lr;">完成确认</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
</fieldset>
|
2024-08-09 16:53:52 +08:00
|
|
|
|
<div style="width: 0;height: 0;overflow: hidden">
|
2024-09-23 19:07:34 +08:00
|
|
|
|
<!-- <div> -->
|
2024-08-09 16:53:52 +08:00
|
|
|
|
<div id="printArea" class="objectDialogFlowPrint">
|
2024-08-14 22:35:32 +08:00
|
|
|
|
<!-- <div class="myPrint"> -->
|
2024-09-20 18:35:31 +08:00
|
|
|
|
<div class="pageWarp" v-for="item in printTabs">
|
|
|
|
|
|
<div class="print-tab-left">
|
|
|
|
|
|
<div class="print-disp">
|
|
|
|
|
|
小盒子号:{{ item.sequenceNo }}</div>
|
|
|
|
|
|
<div class="print-disp"> 小工位:{{ item.smallWorkCenter }}</div>
|
|
|
|
|
|
<div class="print-disp"> 料号数量:{{ item.goodsCount }}</div>
|
|
|
|
|
|
<div class="print-disp"> 配料人员:{{ item.opUser }}</div>
|
2024-08-09 16:53:52 +08:00
|
|
|
|
</div>
|
2024-09-20 18:35:31 +08:00
|
|
|
|
<div class="print-tab-right">
|
|
|
|
|
|
<div class="print-disp"> 机器序列号:{{ item.machineNo }}</div>
|
|
|
|
|
|
<div class="print-disp"> 工单:{{ item.workOrder }}</div>
|
|
|
|
|
|
<div class="print-disp"> 零件数量:{{ item.goodsNumCount }}</div>
|
|
|
|
|
|
<div class="print-disp"> 配料日期:{{ item.opTime }}</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-08-14 22:35:32 +08:00
|
|
|
|
<!-- </div> -->
|
2024-08-09 16:53:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</el-container>
|
|
|
|
|
|
</el-config-provider>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
|
import store from '@/store'
|
2024-08-09 16:53:52 +08:00
|
|
|
|
import { getFinishedWorkInfo, confirmFinishedWork, requestPrintData } from '@/api/task'
|
2024-09-20 18:35:31 +08:00
|
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
|
|
import { errorBox } from '@/utils/myMessageBox.js'
|
2024-07-22 17:02:52 +08:00
|
|
|
|
import { reactive, ref } from 'vue'
|
|
|
|
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
2024-07-25 16:59:14 +08:00
|
|
|
|
name: 'finishKitting',
|
2024-07-22 17:02:52 +08:00
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
standId: store.getters.getStandId,
|
2024-07-25 16:59:14 +08:00
|
|
|
|
// timer: '',
|
2024-07-22 17:02:52 +08:00
|
|
|
|
labelPosition: 'top',
|
|
|
|
|
|
workFormRef: ref(),
|
|
|
|
|
|
workFormEntity: reactive({
|
2024-07-25 16:59:14 +08:00
|
|
|
|
tip: '',
|
2024-07-22 17:02:52 +08:00
|
|
|
|
remark: '',
|
2024-07-25 16:59:14 +08:00
|
|
|
|
planRows: 0,
|
|
|
|
|
|
actualRows: 0,
|
|
|
|
|
|
planCounts: 0,
|
|
|
|
|
|
actualCounts: 0
|
2024-07-22 17:02:52 +08:00
|
|
|
|
}),
|
|
|
|
|
|
rules: reactive({
|
|
|
|
|
|
goodsId: [
|
|
|
|
|
|
{ required: true, message: '请输入料号' }
|
|
|
|
|
|
]
|
|
|
|
|
|
}),
|
2024-08-14 22:35:32 +08:00
|
|
|
|
printTabs: []
|
2024-07-22 17:02:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
mounted() {
|
2024-07-25 16:59:14 +08:00
|
|
|
|
this.getFinishedWorkInfo()
|
2024-07-22 17:02:52 +08:00
|
|
|
|
// this.timer = setInterval(() => {
|
2024-07-25 16:59:14 +08:00
|
|
|
|
// this.getFinishedWorkInfo()
|
2024-07-22 17:02:52 +08:00
|
|
|
|
// }, 2000)
|
|
|
|
|
|
},
|
|
|
|
|
|
beforeUnmount() {
|
2024-07-25 16:59:14 +08:00
|
|
|
|
// clearInterval(this.timer)
|
2024-07-22 17:02:52 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2024-07-25 16:59:14 +08:00
|
|
|
|
getFinishedWorkInfo() {
|
2024-08-01 16:39:00 +08:00
|
|
|
|
const request = {
|
|
|
|
|
|
standId: this.standId,
|
2024-08-09 23:02:20 +08:00
|
|
|
|
userName: store.getters.getUserName
|
2024-07-24 22:13:40 +08:00
|
|
|
|
}
|
2024-08-01 16:39:00 +08:00
|
|
|
|
getFinishedWorkInfo(request).then(res => {
|
|
|
|
|
|
const response = res.data
|
|
|
|
|
|
if (response.code == 0) {
|
|
|
|
|
|
this.workFormEntity.tip = response.returnData.tip
|
|
|
|
|
|
this.workFormEntity.remark = response.returnData.remark
|
|
|
|
|
|
this.workFormEntity.planRows = response.returnData.planRows
|
|
|
|
|
|
this.workFormEntity.actualRows = response.returnData.actualRows
|
|
|
|
|
|
this.workFormEntity.planCounts = response.returnData.planCounts
|
|
|
|
|
|
this.workFormEntity.actualCounts = response.returnData.actualCounts
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.resetForms()
|
|
|
|
|
|
}
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
this.resetForms()
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox('查询工作信息错误')
|
2024-08-01 16:39:00 +08:00
|
|
|
|
})
|
2024-07-24 22:13:40 +08:00
|
|
|
|
},
|
|
|
|
|
|
resetForms() {
|
|
|
|
|
|
this.workFormEntity = reactive({
|
2024-07-25 16:59:14 +08:00
|
|
|
|
tip: '',
|
|
|
|
|
|
remark: '',
|
|
|
|
|
|
planRows: 0,
|
|
|
|
|
|
actualRows: 0,
|
|
|
|
|
|
planCounts: 0,
|
|
|
|
|
|
actualCounts: 0
|
|
|
|
|
|
})
|
2024-07-22 17:02:52 +08:00
|
|
|
|
},
|
2024-07-25 16:59:14 +08:00
|
|
|
|
confirmWork() {
|
2024-08-01 16:39:00 +08:00
|
|
|
|
console.log('完成确认')
|
|
|
|
|
|
if (this.standId == '') {
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox('站台号不可缺少')
|
2024-08-01 16:39:00 +08:00
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
const confirmParams = {
|
|
|
|
|
|
standId: this.standId,
|
2024-08-09 23:02:20 +08:00
|
|
|
|
userName: store.getters.getUserName
|
2024-08-01 16:39:00 +08:00
|
|
|
|
}
|
|
|
|
|
|
confirmFinishedWork(confirmParams).then(res => {
|
|
|
|
|
|
const response = res.data
|
|
|
|
|
|
if (response.code == 0) {
|
2024-09-21 18:25:12 +08:00
|
|
|
|
ElMessage.success(response.message)
|
2024-08-01 16:39:00 +08:00
|
|
|
|
this.resetForms()
|
|
|
|
|
|
} else {
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox(response.message)
|
2024-07-22 17:02:52 +08:00
|
|
|
|
}
|
2024-08-01 16:39:00 +08:00
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
console.log(err)
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox('确认时发生异常')
|
2024-08-01 16:39:00 +08:00
|
|
|
|
})
|
2024-08-09 16:53:52 +08:00
|
|
|
|
},
|
2024-08-14 22:35:32 +08:00
|
|
|
|
requestPrint() {
|
2024-08-09 16:53:52 +08:00
|
|
|
|
// 获取打印标签的数据
|
|
|
|
|
|
const printParams = {
|
|
|
|
|
|
standId: this.standId,
|
|
|
|
|
|
userName: store.getters.getUserName
|
|
|
|
|
|
}
|
|
|
|
|
|
requestPrintData(printParams).then(res => {
|
|
|
|
|
|
if (res.data.code == 0) {
|
|
|
|
|
|
this.printTabs = res.data.returnData
|
|
|
|
|
|
} else {
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox(res.data.message)
|
2024-08-09 16:53:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
console.log(err)
|
2024-09-12 16:56:20 +08:00
|
|
|
|
errorBox('获取标签数据时异常')
|
2024-08-09 16:53:52 +08:00
|
|
|
|
})
|
2024-07-22 17:02:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.content {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.work-area {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
/* padding: 5px; */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.main-area {
|
|
|
|
|
|
margin: auto;
|
2024-07-25 16:59:14 +08:00
|
|
|
|
min-height: fit-content;
|
|
|
|
|
|
max-height: 90%;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
|
border: solid 1px;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
box-shadow: 0px 15px 10px -15px #000;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-area {
|
|
|
|
|
|
display: flex;
|
2024-09-02 13:46:13 +08:00
|
|
|
|
/* min-height: 10%; */
|
2024-07-25 16:59:14 +08:00
|
|
|
|
max-height: max-content;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
|
border: solid 1px;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
box-shadow: 0px 15px 10px -15px #000;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
|
|
background: linear-gradient(-105deg,
|
|
|
|
|
|
transparent 50%,
|
|
|
|
|
|
#309330 50%,
|
|
|
|
|
|
#309330 100%) top right,
|
|
|
|
|
|
linear-gradient(-75deg,
|
|
|
|
|
|
transparent 50%,
|
|
|
|
|
|
#309330 50%,
|
|
|
|
|
|
#309330 100%) bottom right;
|
|
|
|
|
|
background-size: 100% 50%;
|
2024-07-25 16:59:14 +08:00
|
|
|
|
height: 321px;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
width: 250px;
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
display: inline-flex;
|
2024-07-25 16:59:14 +08:00
|
|
|
|
cursor: pointer;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
:deep(.el-input) {
|
|
|
|
|
|
height: 130px;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
:deep(.el-input-number) {
|
|
|
|
|
|
height: 130px;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-div {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
background-color: #CCCCCC;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-text {
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.station-div {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
2024-08-01 16:39:00 +08:00
|
|
|
|
width: 150px;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
background-color: #FFFAAA;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.station-text {
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.station-no-div {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
2024-08-01 16:39:00 +08:00
|
|
|
|
width: 200px;
|
2024-07-22 17:02:52 +08:00
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border: 5px double #000000;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.station-no-text {
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-title-div {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 280px;
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
background-color: #FFFAAA;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-title-text {
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-form-div {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 270px;
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border: 5px double #000000;
|
|
|
|
|
|
margin-top: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-form-div-left {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 170px;
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border: 5px double #000000;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-form-div-right {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
background-color: #CCCCCC;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.display-form-text-right {
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
|
}
|
2024-08-09 16:53:52 +08:00
|
|
|
|
|
|
|
|
|
|
/* @media print {
|
|
|
|
|
|
@page {
|
|
|
|
|
|
size: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body,
|
|
|
|
|
|
html {
|
2024-08-14 22:35:32 +08:00
|
|
|
|
width: 90mm !important;
|
|
|
|
|
|
height: 25mm !important;
|
2024-08-09 16:53:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
} */
|
2024-08-14 22:35:32 +08:00
|
|
|
|
|
|
|
|
|
|
.objectDialogFlowPrint {
|
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-08-09 16:53:52 +08:00
|
|
|
|
.objectDialogFlowPrint .pageWarp {
|
|
|
|
|
|
/*这句话很重要,控制时候强制分页 https://www.w3school.com.cn/cssref/pr_page-break-after.asp*/
|
|
|
|
|
|
page-break-after: always;
|
|
|
|
|
|
width: 98%;
|
2024-08-14 22:35:32 +08:00
|
|
|
|
height: 98%;
|
|
|
|
|
|
/* margin: 5px; */
|
2024-08-09 16:53:52 +08:00
|
|
|
|
text-align: center;
|
2024-08-14 22:35:32 +08:00
|
|
|
|
padding: 0;
|
|
|
|
|
|
/* border: #000 solid 1px; */
|
2024-08-09 16:53:52 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
print-color-adjust: exact;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.print-tab-left {
|
|
|
|
|
|
margin: 5px;
|
2024-08-14 22:35:32 +08:00
|
|
|
|
width: 50%;
|
2024-08-09 16:53:52 +08:00
|
|
|
|
border-right: #156082 dashed 1px;
|
2024-09-23 19:07:34 +08:00
|
|
|
|
align-content: center;
|
2024-08-09 16:53:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.print-tab-right {
|
|
|
|
|
|
margin: 5px;
|
2024-08-14 22:35:32 +08:00
|
|
|
|
width: 50%;
|
2024-09-23 19:07:34 +08:00
|
|
|
|
align-content: center;
|
2024-08-09 16:53:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.print-disp {
|
2024-08-14 22:35:32 +08:00
|
|
|
|
margin: 2px;
|
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: bold;
|
2024-08-09 16:53:52 +08:00
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
2024-07-22 17:02:52 +08:00
|
|
|
|
</style>
|