diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue index 50c7b02..03de08a 100644 --- a/src/views/moneyManage/receiveDetail/receiveService.vue +++ b/src/views/moneyManage/receiveDetail/receiveService.vue @@ -559,7 +559,9 @@ const ifGold = () => { numUnitList.value = ['个', '年', '月'] const selectItems = ["AI机构追踪", "AI机构出击", "AI机构资金", "AI机构活跃度", "超级机构透视", "超级机构伏击", "超级机构猎杀", "超级机构脉搏", "超级机构罗盘", 'HC信息费', 'HC信息费', 'AI机构探测神器', '超级机构探测神器'] if (selectItems.includes(addFormData.value.goodsName)) { - addFormData.value.numUnit = '' + if (addOrEdit.value == 1) { + addFormData.value.numUnit = '' + } numUnitList.value = ['年', '月'] } else if (addFormData.value.goodsName == '静态信息费') { addFormData.value.numUnit = '年' @@ -693,8 +695,8 @@ const handleAddForm = async () => { data: { ...addFormData.value, submitterId: adminData.value.id, - permanentGold: (addFormData.value.permanentGold ) * 100, - freeGold: (addFormData.value.freeGold ) * 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) || '',