快乐的昕的电脑
2025-11-13 d7f1e8a0ce4b213cb6a95b35f6b3cf92b36e1d64
components/mold.vue
@@ -25,20 +25,21 @@
            </view>
            <!-- 第二行:在最后添加刀具目录按钮 -->
            <view class="form-row">
                <view class="form-cell">
                    <label class="form-label">刀具名称:</label>
                    <input class="input small-font" v-model="toolName" placeholder="刀具带出" disabled />
                </view>
                <view class="form-cell">
                    <label class="form-label">规格型号:</label>
                    <input class="input small-font input-tool-model" v-model="toolModel" placeholder="刀具带出" disabled />
                </view>
                <!-- 新增的刀具目录按钮 -->
                <view class="form-cell">
                    <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">刀具目录</button>
                </view>
            <!-- 刀具名称 -->
            <view class="form-cell">
                <label class="form-label">刀具名称:</label>
                <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 input-tool-model" v-model="toolModel" placeholder="刀具带出" disabled />
            </view>
            <!-- 新增的刀具目录按钮 -->
            <view class="form-cell">
                <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">刀具目录</button>
            </view>
        </view>
        </view>  <!-- 这里闭合 top-section-grid -->
        <!-- 操作按钮 - 移出 top-section-grid -->
        <view class="button-row">
@@ -1070,4 +1071,16 @@
        margin-right: 10px;
    }
    .input-tool-name {
        width: 120px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
    .input-tool-model {
        width: 120px !important;
        min-width: 0 !important;
        margin-right: 10px;
    }
</style>