| | |
| | | <view class="page"> |
| | | <!-- 刀具选择区 --> |
| | | <view class="top-section-grid"> |
| | | <!-- 第一行 --> |
| | | <!-- 第一行:移除刀具目录按钮 --> |
| | | <view class="form-row"> |
| | | <view class="form-cell"> |
| | | <label class="form-label">刀具编号:</label> |
| | | <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> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 第二行 --> |
| | | <!-- 第二行:在最后添加刀具目录按钮 --> |
| | | <view class="form-row"> |
| | | <view class="form-cell"> |
| | | <label class="form-label">刀具名称:</label> |
| | |
| | | <label class="form-label">规格型号:</label> |
| | | <input class="input small-font" v-model="toolModel" placeholder="刀具带出" disabled /> |
| | | </view> |
| | | <!-- 新增的刀具目录按钮 --> |
| | | <view class="form-cell"> |
| | | <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">刀具目录</button> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | |
| | | /* 新增大按钮样式 */ |
| | | .btn-blue.large-btn { |
| | | padding: 12px 24px; |
| | | font-size: 18px; |
| | | height: 44px; |
| | | min-width: 120px; |
| | | } |
| | | |
| | | /* 调整表单单元格布局以适应大按钮 */ |
| | | .form-cell:last-child { |
| | | justify-content: flex-end; |
| | | } |
| | | |
| | | </style> |