feat: 调整按钮大小

This commit is contained in:
niedongsheng 2026-05-06 11:49:31 +08:00
parent fa880703b2
commit a69b9f1b52
2 changed files with 12 additions and 4 deletions

View File

@ -17,7 +17,11 @@
<van-field v-if="item.lossTypeCode == 'OTHER_LOSS'" v-model="item.remark" label="其它损失描述" placeholder="请填写"></van-field> <van-field v-if="item.lossTypeCode == 'OTHER_LOSS'" v-model="item.remark" label="其它损失描述" placeholder="请填写"></van-field>
</template> </template>
</template> </template>
<van-button size="small" block type="primary" plain @click="addLoss">添加损失</van-button> <van-field>
<template #input>
<van-button icon="plus" block type="primary" plain @click="addLoss">添加损失</van-button>
</template>
</van-field>
<CalculateDialog ref="cubeCalculateDialog" @confirm="confirmCalculate" /> <CalculateDialog ref="cubeCalculateDialog" @confirm="confirmCalculate" />
<LossPicker ref="lossPicker" :options="getOptions()" @confirm="confirmAddLoss" /> <LossPicker ref="lossPicker" :options="getOptions()" @confirm="confirmAddLoss" />
</div> </div>

View File

@ -18,9 +18,13 @@
</template> </template>
</van-field> </van-field>
<van-button class="add-wzbtn" type="primary" icon="plus" block plain @click="handleOpen"> <van-field>
添加物资 <template #input>
</van-button> <van-button class="add-wzbtn" type="primary" icon="plus" block plain @click="handleOpen">
添加物资
</van-button>
</template>
</van-field>
<van-popup <van-popup
:show="showPopup" :show="showPopup"