Commit 3e8c4bda authored by Bill's avatar Bill

fix: 修改优惠券结算bug

parent 9560356a
......@@ -79,7 +79,7 @@ const ScoreInfo: React.FC = () => {
const loadingMsg = message.loading('正在导出', 0)
const { data } = await getSettleAccountsPlatformCouponSettlementPayableExport(
{ settlementId: id } as any,
{ responseType: 'blob', getResponse: true }
{ responseType: 'blob', getResponse: true, ctlType: 'none' },
);
loadingMsg();
let blob = new Blob([data as any]);
......
......@@ -54,7 +54,7 @@ export const detailSchema: ISchema = {
},
},
properties: {
orderTime: {
"[orderStartTime, orderEndTime]": {
type: 'daterange',
'x-component-props': {
placeholder: ['下单开始时间', '下单结束时间'],
......@@ -62,7 +62,7 @@ export const detailSchema: ISchema = {
},
},
payTime: {
"[payStartTime, payEndTime]": {
type: 'daterange',
'x-component-props': {
placeholder: ['支付开始时间', '支付结束时间'],
......
......@@ -113,7 +113,7 @@ class ApiRequest {
resolve(res)
} else {
resolve(res)
message.error(res.message)
options.ctlType === 'message' && message.error(res.message)
}
}).catch((err) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment