diff --git a/src/views/moneyManage/receiveDetail/receiveFinance.vue b/src/views/moneyManage/receiveDetail/receiveFinance.vue index a7ba2d2..1d844ed 100644 --- a/src/views/moneyManage/receiveDetail/receiveFinance.vue +++ b/src/views/moneyManage/receiveDetail/receiveFinance.vue @@ -200,7 +200,7 @@ @click="openAuditForm(scope.row)">审核 编辑 - + - + @@ -468,7 +468,7 @@ - + @@ -1086,7 +1086,7 @@ watch(auditFormisible, (val) => { // 打开编辑弹窗 const openEditForm = (row) => { console.log('row.aaa', row.handlingCharge); - + editFormData.value = { ...row }; // 区分金币产品与普通产品 if (row.goodsName === '金币充值') isEditGold.value = true; @@ -1115,12 +1115,12 @@ const submitEditForm = async () => { editFormData.value.receivedTime = moment(editFormData.value.receivedTime).format('YYYY-MM-DD HH:mm:ss'); } console.log('editFormData.value.handlingCharge', editFormData.value.handlingCharge); - + const result = await request({ url: '/cashCollection/complete', data: { orderCode: editFormData.value.orderCode, - handlingCharge: editFormData.value.handlingCharge == null ? null : editFormData.value.handlingCharge * 100 , // 转为分单位 + handlingCharge: editFormData.value.handlingCharge == null ? null : 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 a7ba2d2..1d844ed 100644 --- a/src/views/moneyManage/receiveDetail/receiveManage.vue +++ b/src/views/moneyManage/receiveDetail/receiveManage.vue @@ -200,7 +200,7 @@ @click="openAuditForm(scope.row)">审核 编辑 - + - + @@ -468,7 +468,7 @@ - + @@ -1086,7 +1086,7 @@ watch(auditFormisible, (val) => { // 打开编辑弹窗 const openEditForm = (row) => { console.log('row.aaa', row.handlingCharge); - + editFormData.value = { ...row }; // 区分金币产品与普通产品 if (row.goodsName === '金币充值') isEditGold.value = true; @@ -1115,12 +1115,12 @@ const submitEditForm = async () => { editFormData.value.receivedTime = moment(editFormData.value.receivedTime).format('YYYY-MM-DD HH:mm:ss'); } console.log('editFormData.value.handlingCharge', editFormData.value.handlingCharge); - + const result = await request({ url: '/cashCollection/complete', data: { orderCode: editFormData.value.orderCode, - handlingCharge: editFormData.value.handlingCharge == null ? null : editFormData.value.handlingCharge * 100 , // 转为分单位 + handlingCharge: editFormData.value.handlingCharge == null ? null : editFormData.value.handlingCharge * 100, // 转为分单位 paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency), paymentAmount: editFormData.value.paymentAmount * 100, // 转为分单位 receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency),