充值和开票限定
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// pages/invoiceList/components/notyet/index.js
|
||||
import { getInvoiceList } from '../../../../service/invoice';
|
||||
import { getTenementBackInfo } from '../../../../service/tenement';
|
||||
import { alertInfo, loadingFunc } from '../../../../utils/index';
|
||||
import request from '../../../../utils/request';
|
||||
const { OK } = request;
|
||||
@@ -69,7 +70,18 @@ Component({
|
||||
selectMoney: Number(selectMoney.toFixed(2))
|
||||
})
|
||||
},
|
||||
next() {
|
||||
async next() {
|
||||
const park = wx.getStorageSync("park")
|
||||
const tenement = wx.getStorageSync("tenement")
|
||||
const { code: detailCode, message: detailMessage, tenement: Detail } = await getTenementBackInfo(park?.id, tenement?.id)
|
||||
if (detailCode !== OK) {
|
||||
alertInfo(detailMessage)
|
||||
return;
|
||||
}
|
||||
if (Detail?.stop_invoice) {
|
||||
alertInfo("您暂不可使用此功能,可联系客服处理。")
|
||||
return
|
||||
}
|
||||
const { selectList, list, selectMoney, selectCount } = this.data;
|
||||
let tenementID = "";
|
||||
let tenementName = "";
|
||||
|
||||
Reference in New Issue
Block a user