|
|
@ -559,7 +559,9 @@ const ifGold = () => { |
|
|
numUnitList.value = ['个', '年', '月'] |
|
|
numUnitList.value = ['个', '年', '月'] |
|
|
const selectItems = ["AI机构追踪", "AI机构出击", "AI机构资金", "AI机构活跃度", "超级机构透视", "超级机构伏击", "超级机构猎杀", "超级机构脉搏", "超级机构罗盘", 'HC信息费', 'HC信息费', 'AI机构探测神器', '超级机构探测神器'] |
|
|
const selectItems = ["AI机构追踪", "AI机构出击", "AI机构资金", "AI机构活跃度", "超级机构透视", "超级机构伏击", "超级机构猎杀", "超级机构脉搏", "超级机构罗盘", 'HC信息费', 'HC信息费', 'AI机构探测神器', '超级机构探测神器'] |
|
|
if (selectItems.includes(addFormData.value.goodsName)) { |
|
|
if (selectItems.includes(addFormData.value.goodsName)) { |
|
|
addFormData.value.numUnit = '' |
|
|
|
|
|
|
|
|
if (addOrEdit.value == 1) { |
|
|
|
|
|
addFormData.value.numUnit = '' |
|
|
|
|
|
} |
|
|
numUnitList.value = ['年', '月'] |
|
|
numUnitList.value = ['年', '月'] |
|
|
} else if (addFormData.value.goodsName == '静态信息费') { |
|
|
} else if (addFormData.value.goodsName == '静态信息费') { |
|
|
addFormData.value.numUnit = '年' |
|
|
addFormData.value.numUnit = '年' |
|
|
@ -693,8 +695,8 @@ const handleAddForm = async () => { |
|
|
data: { |
|
|
data: { |
|
|
...addFormData.value, |
|
|
...addFormData.value, |
|
|
submitterId: adminData.value.id, |
|
|
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, |
|
|
goodNum: addFormData.value.goodNum || 0, |
|
|
paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '', |
|
|
paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '', |
|
|
receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '', |
|
|
receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '', |
|
|
|