快乐的昕的电脑
2025-11-13 c375c59525213e82b1656cedbc17cf2725506668
components/mold.vue
@@ -9,8 +9,8 @@
                    <input class="input small-font" v-model="selectedToolNo" placeholder="请通过刀具目录选择" disabled />
                </view>
                <view class="form-cell">
                    <label class="form-label">设置使用上限:</label>
                    <input class="input small-font input-use-limit" type="number" v-model="useLimitInput" placeholder="每次换刀后手填" :disabled="!selectedToolNo || loadingForm" />
                    <label class="form-label">使用上限:</label>
                    <input class="input small-font input-use-limit" type="number" v-model="useLimitInput" placeholder="每次换刀后手填上限" :disabled="!selectedToolNo || loadingForm" />
                </view>
                <view class="form-cell">
                    <label class="form-label">寿命比预警值:</label>
@@ -26,13 +26,15 @@
            <!-- 第二行:在最后添加刀具目录按钮 -->
            <view class="form-row">
                <!-- 刀具名称 -->
                <view class="form-cell">
                    <label class="form-label">刀具名称:</label>
                    <input class="input small-font" v-model="toolName" placeholder="刀具带出" disabled />
                    <input class="input small-font input-tool-name" v-model="toolName" placeholder="刀具带出" disabled />
                </view>
                <!-- 规格型号 -->
                <view class="form-cell">
                    <label class="form-label">规格型号:</label>
                    <input class="input small-font" v-model="toolModel" placeholder="刀具带出" disabled />
                    <input class="input small-font input-tool-model" v-model="toolModel" placeholder="刀具带出" disabled />
                </view>
                <!-- 新增的刀具目录按钮 -->
                <view class="form-cell">
@@ -1058,4 +1060,28 @@
        margin-right: 4px;
    }
    .input-use-limit {
        width: 60px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
    .input-tool-model {
        width: 60px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
    .input-tool-name {
        width: 80px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
    .input-tool-model {
        width: 80px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
</style>