Browse Source

fix-bug

lihuilin/feature-20250923114949-现金
zhangrenyuan 1 month ago
parent
commit
eab9391961
  1. 2
      src/components/MoneyManage/ProductSelect.vue
  2. 16
      src/views/moneyManage/executor/executor.vue
  3. 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;

16
src/views/moneyManage/executor/executor.vue

@ -43,7 +43,7 @@
<el-text size="large" style="width:4vw;">退款时间</el-text>
<el-date-picker v-model="dateRange" type="datetimerange" range-separator="" start-placeholder="起始时间"
end-placeholder="结束时间" style="width:22vw;" @change="handleDatePickerChange"
:disabled-date="disabledDate" :default-time="defaultTime" />
:disabled-date="disabledDate" :default-time="defaultTime" />
</div>
<div>
<el-button type="primary" @click="getRefund">查询</el-button>
@ -149,9 +149,9 @@
<div class="dialog-item">
<el-text style="width:4vw;">退款类型</el-text>
<el-select v-model="editRow.refundModel" style="width:10vw;" disabled>
<el-option label="全部退款" :value="0"></el-option>
<el-option label="部分退款" :value="1"></el-option>
</el-select>
<el-option label="全部退款" :value="0"></el-option>
<el-option label="部分退款" :value="1"></el-option>
</el-select>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">付款币种</el-text>
@ -643,12 +643,12 @@ const productList = [
]
const defaultTime = [
new Date(2000, 1, 1, 0, 0, 0),
new Date(2000, 2, 1, 23, 59, 59),
new Date(2000, 1, 1, 0, 0, 0),
new Date(2000, 2, 1, 23, 59, 59),
]
const disabledDate = (time) => {
const limitDate = new Date(2025, 0, 1);
return time.getTime() < limitDate.getTime();
const limitDate = new Date(2025, 0, 1);
return time.getTime() < limitDate.getTime();
}
const reset = function () {
searchForm.value = {

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