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) || '',