21
This commit is contained in:
parent
c61f7fc3c3
commit
6c558e7a17
|
|
@ -160,8 +160,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getWelfareHouseDetail, getWelfareParticipants, getWelfareRecords } from '@/common/server/welfare.js';
|
import { getWelfareHouseDetail, getWelfareParticipants, getWelfareRecords, buyWelfareHouse } from '@/common/server/welfare.js';
|
||||||
import { calcOrderMoney, createOrder } from '@/common/server/order.js';
|
import { calcOrderMoney } from '@/common/server/order.js';
|
||||||
import OrderConfirmPopupFlw from '@/components/order-confirm-popup/order-confirm-popup-flw.vue';
|
import OrderConfirmPopupFlw from '@/components/order-confirm-popup/order-confirm-popup-flw.vue';
|
||||||
import PageContainer from '@/components/page-container/page-container.vue';
|
import PageContainer from '@/components/page-container/page-container.vue';
|
||||||
|
|
||||||
|
|
@ -355,8 +355,8 @@ export default {
|
||||||
|
|
||||||
let res;
|
let res;
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
// API: orderbuy
|
// API: fuliwu_buy
|
||||||
res = await createOrder(data);
|
res = await buyWelfareHouse(data);
|
||||||
} else {
|
} else {
|
||||||
// API: ordermoney
|
// API: ordermoney
|
||||||
res = await calcOrderMoney(data);
|
res = await calcOrderMoney(data);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user