|
|
|
|
@ -840,6 +840,38 @@ export default {
|
|
|
|
|
td { border: 1px solid #000; padding: 8px; min-width: 100px; word-break: break-all; vertical-align: middle; }
|
|
|
|
|
th { vertical-align: middle; }
|
|
|
|
|
|
|
|
|
|
/* 资金划拨单最后一列宽度调整 */
|
|
|
|
|
${this.getForms && this.getForms.includes('资金划拨审批单') ? `
|
|
|
|
|
/* 改变表格布局方式 */
|
|
|
|
|
table {
|
|
|
|
|
table-layout: auto !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 设置各列宽度比例 */
|
|
|
|
|
table td:nth-child(1) { width: 20% !important; }
|
|
|
|
|
table td:nth-child(2) { width: 20% !important; }
|
|
|
|
|
table td:nth-child(3) { width: 20% !important; }
|
|
|
|
|
table td:nth-child(4) {
|
|
|
|
|
width: 40% !important;
|
|
|
|
|
min-width: 500px !important;
|
|
|
|
|
max-width: none !important;
|
|
|
|
|
word-break: break-all !important;
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
overflow-wrap: break-word !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 处理跨列情况 */
|
|
|
|
|
table td[colspan] { width: auto !important; min-width: auto !important; }
|
|
|
|
|
|
|
|
|
|
/* 确保所有文本内容正常换行 */
|
|
|
|
|
table td * {
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
word-break: break-all !important;
|
|
|
|
|
overflow-wrap: break-word !important;
|
|
|
|
|
}
|
|
|
|
|
` : ''}
|
|
|
|
|
|
|
|
|
|
/* 水电费结算单特殊行高控制 */
|
|
|
|
|
${hasUtilityBill ? `
|
|
|
|
|
table td { height: 80px !important; min-height: 60px !important; line-height: 1.8 !important; }
|
|
|
|
|
|