|
|
@ -542,7 +542,7 @@ const handlePagination = (type, val) => { |
|
|
|
|
|
|
|
|
// ===================== 客服新增/编辑收款弹窗 ===================== |
|
|
// ===================== 客服新增/编辑收款弹窗 ===================== |
|
|
const addFormisible = ref(false) // 弹窗显隐 |
|
|
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 addFormRef = ref(null) // 表单引用 |
|
|
const addOrEdit = ref(0) // 1=新增,2=编辑 |
|
|
const addOrEdit = ref(0) // 1=新增,2=编辑 |
|
|
const isGold = ref(false) // 是否为金币充值产品 |
|
|
const isGold = ref(false) // 是否为金币充值产品 |
|
|
@ -693,8 +693,8 @@ const handleAddForm = async () => { |
|
|
data: { |
|
|
data: { |
|
|
...addFormData.value, |
|
|
...addFormData.value, |
|
|
submitterId: adminData.value.id, |
|
|
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, |
|
|
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) || '', |
|
|
|