去掉金币显示
This commit is contained in:
parent
d0c917f30f
commit
bd3dde8bac
@ -15,7 +15,6 @@ import {
|
||||
Table,
|
||||
Tag,
|
||||
} from 'antdv-next';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { addGift } from '#/api/legacy/gift';
|
||||
import { getAccessImgUrl, simpleUploadFile } from '#/api/legacy/oss';
|
||||
@ -70,7 +69,6 @@ const batchForm = reactive({
|
||||
giftTab: 'ORDINARY',
|
||||
regionList: [] as Array<number | string>,
|
||||
sysOrigin: '',
|
||||
validDays: 7,
|
||||
});
|
||||
|
||||
const rows = ref<BatchGiftRow[]>([]);
|
||||
@ -167,7 +165,6 @@ function resetBatch() {
|
||||
batchForm.sysOrigin =
|
||||
String(props.initialSysOrigin || props.sysOriginOptions[0]?.value || 'LIKEI');
|
||||
batchForm.giftTab = 'ORDINARY';
|
||||
batchForm.validDays = 7;
|
||||
batchForm.regionList = [];
|
||||
rows.value = [];
|
||||
selectedRowKeys.value = [];
|
||||
@ -632,7 +629,7 @@ function buildPayload(row: BatchGiftRow) {
|
||||
return {
|
||||
account: '',
|
||||
explanationGift: false,
|
||||
expiredTime: String(dayjs().add(batchForm.validDays, 'day').valueOf()),
|
||||
expiredTime: '',
|
||||
giftCandy: Number(row.giftCandy || 0),
|
||||
giftCode: String(row.code || '').trim(),
|
||||
giftIntegral: Number(row.giftIntegral || 0),
|
||||
@ -731,15 +728,6 @@ async function submitBatch() {
|
||||
:options="regionOptions"
|
||||
/>
|
||||
</div>
|
||||
<div class="common-field common-field--short">
|
||||
<span class="common-label">有效期</span>
|
||||
<InputNumber
|
||||
v-model:value="batchForm.validDays"
|
||||
:min="1"
|
||||
addon-after="天"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</div>
|
||||
<div class="common-meta">收费类型:金币</div>
|
||||
</div>
|
||||
|
||||
@ -786,7 +774,7 @@ async function submitBatch() {
|
||||
<div class="rule-item">礼物_物品名_价格_cover/animation</div>
|
||||
<div class="rule-item">礼物_物品名_价格_1天_cover/animation</div>
|
||||
<div class="rule-item">cover 写入封面,animation 写入资源</div>
|
||||
<div class="rule-item">默认金币,有效期 7 天</div>
|
||||
<div class="rule-item">默认金币,不填写有效期</div>
|
||||
</div>
|
||||
|
||||
<div class="import-progress">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user