This commit is contained in:
2026-02-13 23:03:40 +08:00
parent 5628edde25
commit d353c44dbb
2 changed files with 6 additions and 18 deletions

View File

@@ -52,9 +52,9 @@ export const update = (row) => {
} }
export function doGiveBenefitPoint(row) { export function transfer(row) {
return request({ return request({
url: '/market/benefit-point/giveBenefitPoint', url: '/market/benefit-point/transfer',
method: 'post', method: 'post',
data: row, data: row,
}); });

View File

@@ -64,14 +64,7 @@
</template> </template>
<script> <script>
import { import { getList, getDetail, add, update, remove, transfer } from '@/api/market/marketBenefitPoint';
getList,
getDetail,
add,
update,
remove,
doGiveBenefitPoint,
} from '@/api/market/marketBenefitPoint';
import option from '@/option/market/marketBenefitPoint'; import option from '@/option/market/marketBenefitPoint';
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import { exportBlob } from '@/api/common'; import { exportBlob } from '@/api/common';
@@ -118,11 +111,6 @@ export default {
type: 'input', type: 'input',
}, },
{
label: '备注',
prop: 'remark',
type: 'input',
},
], ],
}, },
giveBenefitPointData: '', giveBenefitPointData: '',
@@ -301,10 +289,10 @@ export default {
id: form.id, id: form.id,
account: form.account, account: form.account,
amount: form.giveAmount, amount: form.giveAmount,
remark: form.remark,
}; };
doGiveBenefitPoint(data).then( transfer(data).then(
() => { () => {
this.onLoad(this.page); this.onLoad(this.page);
this.$message({ this.$message({
@@ -317,7 +305,7 @@ export default {
id: '', id: '',
account: '', account: '',
giveAmount: '', giveAmount: '',
remark: '',
}; };
}, },
error => { error => {