diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index 26729f5..59f2966 100644 --- a/src/views/moneyManage/refundDetail/refundCharge.vue +++ b/src/views/moneyManage/refundDetail/refundCharge.vue @@ -15,7 +15,7 @@
{{ t('common.productName') }} -
@@ -470,8 +470,8 @@ const getRefund = async function () { 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) { const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); @@ -497,7 +497,7 @@ const getRefund = async function () { jwcode: searchForm.value.jwcode,//精网号 name: searchForm.value.name,//姓名 markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], - goodsNames: goodsName,//商品名 + goodsName: goodsName,//商品名 statuses: statuses.value,//10:地区财务待审核;12:地区财务驳回; // 20:地区负责人待审核;22:地区负责人驳回; // 30:总部财务待审核;32:总部财务驳回; diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index 904dc32..9e01232 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -13,7 +13,7 @@
{{ t('common.productName') }} - +
@@ -448,8 +448,8 @@ const getRefund = async function () { 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) { const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); @@ -471,7 +471,7 @@ const getRefund = async function () { jwcode: searchForm.value.jwcode,//精网号 name: searchForm.value.name,//姓名 markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], - goodsNames: goodsName,//商品名 + goodsName: goodsName,//商品名 statuses: statusParam.value,//10:地区财务待审核;12:地区财务驳回; // 20:地区负责人待审核;22:地区负责人驳回; // 30:总部财务待审核;32:总部财务驳回; diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index 0105ac0..9dce2f4 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -13,7 +13,7 @@
{{ t('common.productName') }} -
@@ -503,8 +503,8 @@ const getRefund = async function () { 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) { const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); @@ -526,7 +526,7 @@ const getRefund = async function () { jwcode: searchForm.value.jwcode, name: searchForm.value.name, markets: searchForm.value.markets && searchForm.value.markets.length > 0 ? [searchForm.value.markets[searchForm.value.markets.length - 1]] : [], - goodsNames: goodsName, + goodsName: goodsName, statuses: statusParam.value, paymentCurrency: CurrencyForId(searchForm.value.paymentCurrency), payType: searchForm.value.payType,