Browse Source

Merge branch 'milestone-20251215-多语言二期2' of http://39.101.133.168:8807/huangqizhen/gold-vue into milestone-20251215-多语言二期2

zhangrenyuan/feature-20260128093451-日常优化1.0
zhangrenyuan 1 month ago
parent
commit
6bbef15956
  1. 4
      src/components/MoneyManage/ProductSelect.vue
  2. 15
      src/views/moneyManage/financialAccount/cashFlow.vue
  3. 4
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  4. 4
      src/views/moneyManage/receiveDetail/receiveManage.vue
  5. 12
      src/views/moneyManage/refundDetail/refundHeader.vue

4
src/components/MoneyManage/ProductSelect.vue

@ -12,7 +12,7 @@
</div> </div>
<div class="menu" v-show="isOpen"> <div class="menu" v-show="isOpen">
<div class="coinselect" @click="coinhandelMenu" :class="{ 'active': coinisOpen }">
<!-- <div class="coinselect" @click="coinhandelMenu" :class="{ 'active': coinisOpen }">
<div class="cointxt"> <div class="cointxt">
{{ t('cash.goldProduct') }} {{ t('cash.goldProduct') }}
</div> </div>
@ -24,7 +24,7 @@
</div> </div>
<div class="coinoption" v-show="coinisOpen"> <div class="coinoption" v-show="coinisOpen">
<el-radio v-model="selectedValue" :label="t('cash.coinRecharge')" size="large" /> <el-radio v-model="selectedValue" :label="t('cash.coinRecharge')" size="large" />
</div>
</div> -->
<div class="product"> <div class="product">
<div class="coinselect" @click="producthandelMenu" :class="{ 'active': productisOpen }"> <div class="coinselect" @click="producthandelMenu" :class="{ 'active': productisOpen }">
<div class="cointxt"> <div class="cointxt">

15
src/views/moneyManage/financialAccount/cashFlow.vue

@ -240,6 +240,19 @@ const exportListLoading = ref(false)
// Excel // Excel
const handleExport = async () => { const handleExport = async () => {
const formatStatuses = (statuses) => {
// 1/
if (!Array.isArray(statuses)) {
return [];
}
// 2 null undefined
if (statuses.some(item => item === null || item === undefined)) {
return [];
}
// 3
return statuses;
};
try { try {
const params = { const params = {
pageNum: queryParams.pageNum, pageNum: queryParams.pageNum,
@ -251,7 +264,7 @@ const handleExport = async () => {
endTime: queryParams.timeRange?.[1] ? dayjs(queryParams.timeRange[1]).format('YYYY-MM-DD HH:mm:ss') : '', endTime: queryParams.timeRange?.[1] ? dayjs(queryParams.timeRange[1]).format('YYYY-MM-DD HH:mm:ss') : '',
payType: normalizePayType(queryParams.payType || ''), payType: normalizePayType(queryParams.payType || ''),
orderCode: queryParams.orderCode, orderCode: queryParams.orderCode,
statuses: queryParams.statuses,
statuses: formatStatuses(queryParams.statuses),
markets:[], markets:[],
} }
} }

4
src/views/moneyManage/receiveDetail/receiveFinance.vue

@ -84,11 +84,11 @@
@click="navigateTo('pass')"> @click="navigateTo('pass')">
{{ t('common.passed') }} {{ t('common.passed') }}
</el-button> </el-button>
<el-button class="btnItem"
<!-- <el-button class="btnItem"
:style="{ backgroundColor: activeTab === 'done' ? '#2741DE' : '#E5EBFE', color: activeTab === 'done' ? 'white' : '#666' }" :style="{ backgroundColor: activeTab === 'done' ? '#2741DE' : '#E5EBFE', color: activeTab === 'done' ? 'white' : '#666' }"
@click="navigateTo('done')"> @click="navigateTo('done')">
{{ t('common.completed') }} {{ t('common.completed') }}
</el-button>
</el-button> -->
<el-button class="btnItem" <el-button class="btnItem"
:style="{ backgroundColor: activeTab === 'reject' ? '#2741DE' : '#E5EBFE', color: activeTab === 'reject' ? 'white' : '#666' }" :style="{ backgroundColor: activeTab === 'reject' ? '#2741DE' : '#E5EBFE', color: activeTab === 'reject' ? 'white' : '#666' }"
@click="navigateTo('reject')"> @click="navigateTo('reject')">

4
src/views/moneyManage/receiveDetail/receiveManage.vue

@ -84,11 +84,11 @@
@click="navigateTo('pass')"> @click="navigateTo('pass')">
{{ t('common.passed') }} {{ t('common.passed') }}
</el-button> </el-button>
<el-button class="btnItem"
<!-- <el-button class="btnItem"
:style="{ backgroundColor: activeTab === 'done' ? '#2741DE' : '#E5EBFE', color: activeTab === 'done' ? 'white' : '#666' }" :style="{ backgroundColor: activeTab === 'done' ? '#2741DE' : '#E5EBFE', color: activeTab === 'done' ? 'white' : '#666' }"
@click="navigateTo('done')"> @click="navigateTo('done')">
{{ t('common.completed') }} {{ t('common.completed') }}
</el-button>
</el-button> -->
<el-button class="btnItem" <el-button class="btnItem"
:style="{ backgroundColor: activeTab === 'reject' ? '#2741DE' : '#E5EBFE', color: activeTab === 'reject' ? 'white' : '#666' }" :style="{ backgroundColor: activeTab === 'reject' ? '#2741DE' : '#E5EBFE', color: activeTab === 'reject' ? 'white' : '#666' }"
@click="navigateTo('reject')"> @click="navigateTo('reject')">

12
src/views/moneyManage/refundDetail/refundHeader.vue

@ -470,18 +470,6 @@ const executorList = ref([
value: '315915', value: '315915',
label: '越:范秋霞' label: '越:范秋霞'
}, },
{
value: '90047681',
label: '李慧琳演示机'
},
{
value: '90047947',
label: '宋彤彤'
},
{
value: '90047860',
label: 'zy'
}
]) ])
// //
const getRefund = async function () { const getRefund = async function () {

Loading…
Cancel
Save