快乐的昕的电脑
2025-10-31 277266c734c720123958a3d63b295e068eef565e
调小字体
已修改2个文件
19 ■■■■ 文件已修改
components/WorkOrderPrint.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/mold.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/WorkOrderPrint.vue
@@ -88,10 +88,6 @@
                    <text>已生产数:</text>
                    <input v-model="calculatedTotalProduction" class="highlight" disabled />
                </view>-->
                <!--<view class="btn-group">
                    <button class="refresh-btn-inline" @click="refresh">刷新</button>
                    <button v-if="isGeneratingBarcode" class="reset-btn-inline" @click="resetGenerateState">重置</button>
            </view>-->
            </view>
            <view class="flex-row gap-lg">
components/mold.vue
@@ -4,26 +4,26 @@
        <view class="top-section-grid">
            <view class="form-cell">
                <label class="form-label">刀具编号:</label>
                <input class="input" v-model="selectedToolNo" placeholder="请通过刀具目录选择" disabled />
                <input class="input small-font" v-model="selectedToolNo" placeholder="请通过刀具目录选择" disabled />
                <button class="btn-blue" @click="openToolDialog" :disabled="loadingTools">刀具目录</button>
            </view>
            <view class="form-cell">
                <label class="form-label">设置使用上限:</label>
                <input class="input" type="number" v-model="useLimitInput" placeholder="每次换刀后手填" :disabled="!selectedToolNo || loadingForm" />
                <input class="input small-font" type="number" v-model="useLimitInput" placeholder="每次换刀后手填" :disabled="!selectedToolNo || loadingForm" />
            </view>
            <!-- 新增:寿命比预警值输入框 -->
            <view class="form-cell">
                <label class="form-label">寿命比预警值:</label>
                <input class="input"
                <input class="input small-font"
                       v-model="lifeWarnInput"
                       placeholder="如0.9或90或90%"
                       :disabled="!selectedToolNo || loadingForm" />
            </view>
            <view class="form-cell">
                <label class="form-label">刀具名称:</label>
                <input class="input" v-model="toolName" placeholder="刀具带出" disabled />
                <input class="input small-font" v-model="toolName" placeholder="刀具带出" disabled />
                <label class="form-label" style="margin-left: 16px;">规格型号:</label>
                <input class="input" v-model="toolModel" placeholder="刀具带出" disabled />
                <input class="input small-font" v-model="toolModel" placeholder="刀具带出" disabled />
            </view>
        </view>
@@ -664,6 +664,11 @@
        background: #f8f8f8;
    }
        /* 新增:小字体样式 */
        .input.small-font {
            font-size: 0.9vw; /* 调小字体 */
        }
    .form-select {
        width: 12vw;
        padding: 1vh;