Browse Source

fix-bug

lihuilin/feature-20250923114949-现金
zhangrenyuan 1 month ago
parent
commit
eab9391961
  1. 2
      src/components/MoneyManage/ProductSelect.vue
  2. 6
      src/views/moneyManage/receiveDetail/receiveDetail.vue

2
src/components/MoneyManage/ProductSelect.vue

@ -298,7 +298,7 @@ onUnmounted(() => {
top: 100%;
left: 0;
width: 160%;
max-height: 600px;
max-height: 700px;
min-height: 200px;
display: flex;
padding: 10px;

6
src/views/moneyManage/receiveDetail/receiveDetail.vue

@ -296,7 +296,7 @@
<el-form-item v-show="!isGold" label="产品数量" required>
<div style="padding-right: 50px; display: flex;">
<el-input style="padding-right: 10px;" v-model="addFormData.goodNum" placeholder="请输入产品数量" />
<span style="color: #999999;"></span>
<span style="color: #999999;"></span>
</div>
</el-form-item>
<div v-show="isGold" style="margin-bottom: 15px; display: flex;">
@ -984,8 +984,8 @@ const beforeUpload = (rawFile) => {
if (rawFile.type !== 'image/jpeg' && rawFile.type !== 'image/png') {
ElMessage.error('图片必须是jpg或png类型!')
return false
} else if (rawFile.size / 1024 / 1024 > 1) {
ElMessage.error('图片大小不能超过 1MB!')
} else if (rawFile.size / 1024 / 1024 > 2) {
ElMessage.error('图片大小不能超过 2MB!')
return false
}
return true

Loading…
Cancel
Save