Commit 705576b6 by Jaxon

Merge branch 'feature/optimize-refund-flow-' into 'SAAS+V5.7.9'

fix:解决合并分支造成的问题

See merge request !523
2 parents 07e819c0 18f60968
......@@ -23,30 +23,10 @@ let timeoutId;
const IMG_URL2 = "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/";
import carLifeApi from "../../../carEquityApi";
import commonApi from "~/api/api";
getMoreBtnAPI
} from '../../../api'
import {
checkDailyReport,
checkStudyTask,
checkAbnormalOrder
} from '~/store/ModalToQueueControl'
import data from '../constant/data'
import constantData from '../constant/data'
import api from '~/api/api'
import { ImgUrl as IMG_URL } from '~/config'
let timeoutId
const IMG_URL2 =
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
import carLifeApi from '../../../carEquityApi'
import commonApi from '~/api/api'
function getSceneNameForQuotationItem(item) {
if (!item) return ''
return (
item.baseSceneName ||
item.sceneName ||
''
)
if (!item) return "";
return item.baseSceneName || item.sceneName || "";
}
Component({
/**
......@@ -324,17 +304,17 @@ Component({
console.log(merchantBrand);
// wx.$router.go(mode ? 'createOrderCarQuotationSimple' : 'createOrderCarQuotation')
// if (merchantBrand?.findIndex((i) => ["鸿蒙智行"].includes(i.name)) != -1) {
// wx.$router.go("beforeCreate", {
// mode,
// });
// wx.$router.go("beforeCreate", {
// mode,
// });
// } else {
// this.setData({
// showPromptDialog: true
// })
// }
this.setData({
showPromptDialog: true
})
// this.setData({
// showPromptDialog: true
// })
// }
this.setData({
showPromptDialog: true,
});
},
promptHandleConfirm(e) {
let { payFlag, payType } = e.detail;
......@@ -445,13 +425,13 @@ Component({
console.log(tempList);
tempList = tempList.map((item) => {
const orderTypeMap = {
1: '正常订单',
2: '打折策略',
3: '买赠策略',
4: '冲量活动',
5: '组合付款',
6: '内部结算'
}
1: "正常订单",
2: "打折策略",
3: "买赠策略",
4: "冲量活动",
5: "组合付款",
6: "内部结算",
};
// 1: '审批中',
// 2: '审批中',
// 3: '审核通过',
......@@ -480,8 +460,8 @@ Component({
// );
item.payTime = item.payTime?.replace(/-/g, "/");
}
item.isTouchMove = false
item.sceneNameForList = getSceneNameForQuotationItem(item)
item.isTouchMove = false;
item.sceneNameForList = getSceneNameForQuotationItem(item);
// onlyRepeal 战败且为超管,或者是待报价、待支付的非融合都可撤销
item.onlyRepeal = (item.orderStatus == 2 || item.orderStatus == 0 || (item.orderStatus == -1 && wx.$hasPermission?.isSuper?.(this.data.userInfo))) && item.mode != 0;
// 待上传的支持可撤销
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!