Browse Source

Merge branch 'zhangyong/milestone-20250913-现金管理二期' into milestone-20251104-现金二期

zhangrenyuan/feature-20251104133449-现金管理二期
ZhangYong 3 weeks ago
parent
commit
095e37d850
  1. 2
      src/router/index.js
  2. 27
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  3. 1542
      src/views/moneyManage/receiveDetail/receiveManage.vue
  4. 16
      src/views/moneyManage/receiveDetail/receiveService.vue

2
src/router/index.js

@ -319,7 +319,7 @@ const routes = [
{
path: 'receiveManager',
name: "receiveManager",
component: () => import("../views/moneyManage/receiveDetail/receiveFinance.vue"),
component: () => import("../views/moneyManage/receiveDetail/receiveManage.vue"),
meta: { permissionId: [67, 79] }
},
{//地区财务

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

@ -162,11 +162,11 @@
v-if="activeTab == 'pass' || activeTab == 'done'" width="180px" />
<el-table-column prop="remark" label="备注" v-if="activeTab != 'reject'" width="150px"
show-overflow-tooltip></el-table-column>
<el-table-column prop="status" label="订单状态" v-if="activeTab == 'done'" width="150px"
<el-table-column prop="status" fixed="right" label="订单状态" v-if="activeTab == 'done'" width="150px"
show-overflow-tooltip>
<template #default="scope">
<span v-if="scope.row.status == 6">退款</span>
<span v-else>正常</span>
<span style="color: rgb(242, 84, 83);" v-if="scope.row.status == 6">退款</span>
<span style="color: rgb(127,204,133);" v-else>正常</span>
</template>
</el-table-column>
<el-table-column prop="auditTime" label="驳回时间" v-if="activeTab == 'reject'" width="180px"
@ -201,7 +201,7 @@
</el-link>
<el-link
v-else-if="activeTab == 'done' && scope.row.status == 4 && startsWith(scope.row.orderCode, 'GOLDCOIN')"
style="color: #2741DE;" @click="openRefundConfirm(scope.row)">退款
style="color: rgb(242, 84, 83);" @click="openRefundConfirm(scope.row)">退款
</el-link>
</template>
</el-table-column>
@ -781,28 +781,17 @@ const submitRefund = async () => {
if (!refundFormData.value.refundReason) {
return ElMessage.error('请输入退款原因');
}
if(refundFormData.value.refundReason){
}
const result = await request({
url: '/Money/addOnline',
data: {
jwcode: refundFormData.value.jwcode, //
name: refundFormData.value.name, //
market: refundFormData.value.marketName, //
activity: refundFormData.value.activity, //
bankCode: refundFormData.value.bankCode, //
goodsName: refundFormData.value.goodsName, //
goodNum: refundFormData.value.goodNum, // 0
paymentCurrency: refundFormData.value.paymentCurrency, //
paymentAmount: (refundFormData.value.paymentAmount) * 100, //
receivedCurrency: refundFormData.value.receivedCurrency, //
receivedAmount: (refundFormData.value.receivedAmount) * 100, //
handlingCharge: (refundFormData.value.handlingCharge) * 100, //
receivedMarket: refundFormData.value.receivedMarket, //
payType: refundFormData.value.payType, //
payTime: refundFormData.value.payTime, // yyyy-MM-dd HH:mm:ss
receivedTime: refundFormData.value.receivedTime, // yyyy-MM-dd HH:mm:ss
areaServise: adminData.value.adminName, //
submitterMarket:adminData.value.markets,
submitterId: adminData.value.id,
voucher: refundFormData.value.voucher, // URL
remark: refundFormData.value.remark, //
refundReason: refundFormData.value.refundReason, // 退-
refundModel: refundFormData.value.refundModel, // 退0-1-

1542
src/views/moneyManage/receiveDetail/receiveManage.vue
File diff suppressed because it is too large
View File

16
src/views/moneyManage/receiveDetail/receiveService.vue

@ -825,22 +825,8 @@ const submitRefund = async () => {
jwcode: refundFormData.value.jwcode,
name: refundFormData.value.name,
market: refundFormData.value.marketName,
activity: refundFormData.value.activity,
bankCode: refundFormData.value.bankCode,
goodsName: refundFormData.value.goodsName,
goodNum: refundFormData.value.goodNum,
paymentCurrency: refundFormData.value.paymentCurrency,
paymentAmount: (refundFormData.value.paymentAmount) * 100,
receivedCurrency: refundFormData.value.receivedCurrency,
receivedAmount: (refundFormData.value.receivedAmount) * 100,
handlingCharge: (refundFormData.value.handlingCharge) * 100,
receivedMarket: refundFormData.value.receivedMarket,
payType: refundFormData.value.payType,
payTime: refundFormData.value.payTime,
receivedTime: refundFormData.value.receivedTime,
areaServise: adminData.value.adminName,
submitterId: adminData.value.id,
voucher: refundFormData.value.voucher,
submitterMarket:adminData.value.markets,
remark: refundFormData.value.remark,
refundReason: refundFormData.value.refundReason,
refundModel: refundFormData.value.refundModel,

Loading…
Cancel
Save