From 82c080c0028c638fbfcc16566f1c7061990d88c9 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Thu, 20 Nov 2025 11:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E7=BB=AD=E8=B4=B9=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=B8=BA0=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveFinance.vue | 2 +- src/views/moneyManage/receiveDetail/receiveManage.vue | 2 +- src/views/moneyManage/receiveDetail/receiveService.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/moneyManage/receiveDetail/receiveFinance.vue b/src/views/moneyManage/receiveDetail/receiveFinance.vue index 28361f7..e923657 100644 --- a/src/views/moneyManage/receiveDetail/receiveFinance.vue +++ b/src/views/moneyManage/receiveDetail/receiveFinance.vue @@ -1116,7 +1116,7 @@ const submitEditForm = async () => { url: '/cashCollection/complete', data: { orderCode: editFormData.value.orderCode, - handlingCharge: editFormData.value.handlingCharge * 100 || null, // 转为分单位 + handlingCharge: editFormData.value.handlingCharge * 100 , // 转为分单位 paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency), paymentAmount: editFormData.value.paymentAmount * 100, // 转为分单位 receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency), diff --git a/src/views/moneyManage/receiveDetail/receiveManage.vue b/src/views/moneyManage/receiveDetail/receiveManage.vue index 28361f7..e923657 100644 --- a/src/views/moneyManage/receiveDetail/receiveManage.vue +++ b/src/views/moneyManage/receiveDetail/receiveManage.vue @@ -1116,7 +1116,7 @@ const submitEditForm = async () => { url: '/cashCollection/complete', data: { orderCode: editFormData.value.orderCode, - handlingCharge: editFormData.value.handlingCharge * 100 || null, // 转为分单位 + handlingCharge: editFormData.value.handlingCharge * 100 , // 转为分单位 paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency), paymentAmount: editFormData.value.paymentAmount * 100, // 转为分单位 receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency), diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue index c4a319c..50c7b02 100644 --- a/src/views/moneyManage/receiveDetail/receiveService.vue +++ b/src/views/moneyManage/receiveDetail/receiveService.vue @@ -542,7 +542,7 @@ const handlePagination = (type, val) => { // ===================== 客服新增/编辑收款弹窗 ===================== const addFormisible = ref(false) // 弹窗显隐 -const addFormData = ref({ name: '', market: '', permanentGold: 0, freeGold: 0, goodsName: '' }) // 表单数据 +const addFormData = ref({ name: '', market: '', goodsName: '' }) // 表单数据 const addFormRef = ref(null) // 表单引用 const addOrEdit = ref(0) // 1=新增,2=编辑 const isGold = ref(false) // 是否为金币充值产品 @@ -693,8 +693,8 @@ const handleAddForm = async () => { data: { ...addFormData.value, submitterId: adminData.value.id, - permanentGold: (addFormData.value.permanentGold || 0) * 100, - freeGold: (addFormData.value.freeGold || 0) * 100, + permanentGold: (addFormData.value.permanentGold ) * 100, + freeGold: (addFormData.value.freeGold ) * 100, goodNum: addFormData.value.goodNum || 0, paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '', receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '',