diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index 59f2966..26729f5 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] } - const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 - ? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' + let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 + ? [searchForm.value.goodsName] : [] 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]] : [], - goodsName: goodsName,//商品名 + goodsNames: 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 9e01232..904dc32 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] } - const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 - ? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' + let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 + ? [searchForm.value.goodsName] : [] 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]] : [], - goodsName: goodsName,//商品名 + goodsNames: 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 9dce2f4..0105ac0 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] } - const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 - ? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' + let goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 + ? [searchForm.value.goodsName] : [] 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]] : [], - goodsName: goodsName, + goodsNames: goodsName, statuses: statusParam.value, paymentCurrency: CurrencyForId(searchForm.value.paymentCurrency), payType: searchForm.value.payType,