Browse Source

执行人,退款客服多选商品

lihuilin/feature-20260121173255-多语言二期2合并
ZhangYong 1 month ago
parent
commit
dd49f4612d
  1. 6
      src/views/moneyManage/executor/executor.vue
  2. 14
      src/views/moneyManage/refundDetail/refundService.vue

6
src/views/moneyManage/executor/executor.vue

@ -11,7 +11,7 @@
</div> </div>
<div class="search"> <div class="search">
<el-text size="large" style="width:4vw;">{{ t('common.productName') }}</el-text> <el-text size="large" style="width:4vw;">{{ t('common.productName') }}</el-text>
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable />
<el-cascader v-model="searchForm.goodsName" :props="{ multiple: true, emitPath: false }" :show-all-levels="false" collapse-tags collapse-tags-tooltip :options="productList" style="width: 10vw;" :placeholder="t('common.productNamePlaceholder')" clearable />
</div> </div>
<div class="search" v-if="adminData.markets === t('common.markets.headquarter')"> <div class="search" v-if="adminData.markets === t('common.markets.headquarter')">
<el-text size="large" style="width:4vw;">{{ t('common.market') }}</el-text> <el-text size="large" style="width:4vw;">{{ t('common.market') }}</el-text>
@ -288,7 +288,7 @@ const getRefund = async function () {
} }
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''
? searchForm.value.goodsName: []
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);
@ -310,7 +310,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]] : [],
goodsName: goodsName,
goodsNames: goodsName,
statuses: statusesParam.value,//1012 statuses: statusesParam.value,//1012
// 2022 // 2022
// 3032 // 3032

14
src/views/moneyManage/refundDetail/refundService.vue

@ -12,7 +12,7 @@
</div> </div>
<div class="item1"> <div class="item1">
<el-text size="large" style="width:4vw;">{{ t('common.productName') }}</el-text> <el-text size="large" style="width:4vw;">{{ t('common.productName') }}</el-text>
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" :placeholder="t('common.productNamePlaceholder')" clearable />
<el-cascader v-model="searchForm.goodsName" :props="{ multiple: true, emitPath: false }" :show-all-levels="false" collapse-tags collapse-tags-tooltip :options="productList" style="width: 10vw;" :placeholder="t('common.productNamePlaceholder')" clearable />
</div> </div>
<div class="item1" v-if="isHeadquarters"> <div class="item1" v-if="isHeadquarters">
<el-text size="large" style="width:4vw;">{{ t('common.market') }}</el-text> <el-text size="large" style="width:4vw;">{{ t('common.market') }}</el-text>
@ -139,7 +139,7 @@
<el-text style="width:4vw;">{{ t('common_add.productName') }}</el-text> <el-text style="width:4vw;">{{ t('common_add.productName') }}</el-text>
<el-input v-model="editRow.goodsName" style="width:10vw;" disabled /> <el-input v-model="editRow.goodsName" style="width:10vw;" disabled />
</div> </div>
<div class="add-item">
<div class="add-item" v-if="editRow.goodsName == t('common_add.coinRecharge')">
<el-text style="width:4vw;">{{ t('common_add.productNum') }}</el-text> <el-text style="width:4vw;">{{ t('common_add.productNum') }}</el-text>
<el-input v-model="editRow.goodsNum" style="width:10vw;" disabled /> <el-input v-model="editRow.goodsNum" style="width:10vw;" disabled />
&nbsp;{{ t('cash.unit') }} &nbsp;{{ t('cash.unit') }}
@ -247,7 +247,8 @@ const dateRange = ref([])
const searchForm = ref({ const searchForm = ref({
jwcode: '', jwcode: '',
market: [], market: [],
statuses: []
statuses: [],
goodsName: []
}) })
const market = ref([]) const market = ref([])
const backRow = ref({})// const backRow = ref({})//
@ -298,7 +299,7 @@ const getRefund = async function () {
} }
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''
? searchForm.value.goodsName : []
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);
@ -320,7 +321,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.market && searchForm.value.market.length > 0 ? [searchForm.value.market[searchForm.value.market.length - 1]] : [], markets: searchForm.value.market && searchForm.value.market.length > 0 ? [searchForm.value.market[searchForm.value.market.length - 1]] : [],
goodsName: goodsName,//
goodsNames: goodsName,//
statuses: statusParam.value,//1012 statuses: statusParam.value,//1012
// 2022 // 2022
// 3032 // 3032
@ -541,7 +542,8 @@ const reset = function () {
searchForm.value = { searchForm.value = {
jwcode: '', jwcode: '',
market: [], market: [],
statuses: []
statuses: [],
goodsName: []
} }
// //
pagination.value.pageNum = 1 pagination.value.pageNum = 1

Loading…
Cancel
Save