Browse Source

Revert "退款查询参数"

This reverts commit 8b2a5cc8b5.
milestone-20260212-日常优化2.0
ZhangYong 3 weeks ago
parent
commit
68d2652986
  1. 8
      src/views/moneyManage/refundDetail/refundCharge.vue
  2. 8
      src/views/moneyManage/refundDetail/refundFinance.vue
  3. 8
      src/views/moneyManage/refundDetail/refundHeader.vue

8
src/views/moneyManage/refundDetail/refundCharge.vue

@ -15,7 +15,7 @@
</div> </div>
<div class="item1"> <div class="item1">
<el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text> <el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text>
<el-cascader v-model="searchForm.goodsName" :props="{ multiple: false, emitPath: false }" :show-all-levels="false" :options="productList" style="width: 10vw;"
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;"
:placeholder="t('common.productNamePlaceholder')" clearable /> :placeholder="t('common.productNamePlaceholder')" clearable />
</div> </div>
</div> </div>
@ -470,8 +470,8 @@ const getRefund = async function () {
statuses.value = [20, 22, 30, 32, 40, 41] statuses.value = [20, 22, 30, 32, 40, 41]
} }
let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? [searchForm.value.goodsName] : []
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''
if (searchForm.value.jwcode) { if (searchForm.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode);
@ -497,7 +497,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [],
goodsNames: goodsName,//
goodsName: goodsName,//
statuses: statuses.value,//1012 statuses: statuses.value,//1012
// 2022 // 2022
// 3032 // 3032

8
src/views/moneyManage/refundDetail/refundFinance.vue

@ -13,7 +13,7 @@
</div> </div>
<div class="item1"> <div class="item1">
<el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text> <el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text>
<el-cascader v-model="searchForm.goodsName" :props="{ multiple: false, emitPath: false }" :show-all-levels="false" :options="productList" style="width: 10vw;" clearable />
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable />
</div> </div>
</div> </div>
<div class="condition-row"> <div class="condition-row">
@ -448,8 +448,8 @@ const getRefund = async function () {
statusParam.value = [10, 12, 20, 22, 30, 32, 40, 41] statusParam.value = [10, 12, 20, 22, 30, 32, 40, 41]
} }
let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? [searchForm.value.goodsName] : []
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''
if (searchForm.value.jwcode) { if (searchForm.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode);
@ -471,7 +471,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [],
goodsNames: goodsName,//
goodsName: goodsName,//
statuses: statusParam.value,//1012 statuses: statusParam.value,//1012
// 2022 // 2022
// 3032 // 3032

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

@ -13,7 +13,7 @@
</div> </div>
<div class="item1"> <div class="item1">
<el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text> <el-text size="large" style="width:6vw;">{{ t('common.productName') }}</el-text>
<el-cascader v-model="searchForm.goodsName" :props="{ multiple: false, emitPath: false }" :show-all-levels="false" :options="productList" style="width: 10vw;"
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;"
:placeholder="t('common.productNamePlaceholder')" clearable /> :placeholder="t('common.productNamePlaceholder')" clearable />
</div> </div>
</div> </div>
@ -503,8 +503,8 @@ const getRefund = async function () {
statusParam.value = [30, 32, 40, 41] statusParam.value = [30, 32, 40, 41]
} }
let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? [searchForm.value.goodsName] : []
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''
if (searchForm.value.jwcode) { if (searchForm.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode);
@ -526,7 +526,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode, jwcode: searchForm.value.jwcode,
name: searchForm.value.name, name: searchForm.value.name,
markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [],
goodsNames: goodsName,
goodsName: goodsName,
statuses: statusParam.value, statuses: statusParam.value,
paymentCurrency: CurrencyForId(searchForm.value.paymentCurrency), paymentCurrency: CurrencyForId(searchForm.value.paymentCurrency),
payType: searchForm.value.payType, payType: searchForm.value.payType,

Loading…
Cancel
Save