diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue
index 9519978..ecdc449 100644
--- a/src/views/moneyManage/receiveDetail/receiveDetail.vue
+++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue
@@ -125,9 +125,9 @@
-
-
@@ -135,7 +135,7 @@
-
@@ -164,7 +164,7 @@
@@ -451,6 +451,29 @@
+
+
+
+ 个
+
+
+
+
+ 永久金币:
+
+
+
+ 免费金币:
+
+
+
@@ -637,7 +660,10 @@ const tableData = ref([])
const searchData = ref({
})
-
+const defaultTime = [
+ new Date(2000, 1, 1, 0, 0, 0),
+ new Date(2000, 2, 1, 23, 59, 59),
+]
const getTime = ref([])
const search = () => {
@@ -697,7 +723,7 @@ const getlist = async () => {
receivedMarket: MarketNameForId(receivedMarket),
cashRoleId: cashRoleId,
paymentCurrency: payCurrencySelect,
- submitterMarket:receivedMarket
+ submitterMarket: receivedMarket
}
}
})
@@ -773,6 +799,14 @@ const ifGold = () => {
isGold.value = false
}
}
+const isEditGold = ref(false)
+const EditifGold = () => {
+ if (editFormData.value.goodsName == '金币充值') {
+ isEditGold.value = true
+ } else {
+ isEditGold.value = false
+ }
+}
//是否为默认归属平台
const isGroup = ref(false)
@@ -852,7 +886,7 @@ const handleAddForm = async () => {
paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '',
receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '',
paymentAmount: (addFormData.value.paymentAmount) * 100,
- submitterMarket:adminData.value.markets
+ submitterMarket: adminData.value.markets
}
})
if (result.code == 200) {
@@ -991,16 +1025,16 @@ const submitRefund = async () => {
goodsName: refundFormData.value.goodsName, // 商品名称(必填)
goodNum: refundFormData.value.goodNum, // 商品数量(必填,默认0)
paymentCurrency: refundFormData.value.paymentCurrency, // 付款币种(必填)
- paymentAmount: (refundFormData.value.paymentAmount)*100, // 付款金额(必填)
+ paymentAmount: (refundFormData.value.paymentAmount) * 100, // 付款金额(必填)
receivedCurrency: refundFormData.value.receivedCurrency, // 到账币种(必填)
- receivedAmount: (refundFormData.value.receivedAmount)*100, // 到账金额(必填)
- handlingCharge: (refundFormData.value.handlingCharge)*100, // 手续费(可选)
+ 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, // 提交人(可选)
- submitterId:adminData.value.id,
+ submitterId: adminData.value.id,
voucher: refundFormData.value.voucher, // 转账凭证URL(可选)
remark: refundFormData.value.remark, // 备注信息(可选)
refundReason: refundFormData.value.refundReason, // 退款备注-客服填写(可选)
@@ -1077,6 +1111,7 @@ const editFormisible = ref(false)
const openEditForm = (row) => {
console.log('编辑时该行数据:', row);
editFormData.value = row
+ EditifGold()
if (row.status == 3) {
ifOnline.value = true
} else {
@@ -1087,6 +1122,7 @@ const openEditForm = (row) => {
const closeEditForm = () => {
editFormisible.value = false
editFormData.value = {}
+ getlist()
}
//提交编辑
const submitEditForm = async () => {