Commit ac01fbeb by 王志慧

第二轮bug修复

1 parent 7be8867f
...@@ -124,3 +124,9 @@ export function getDivisionRecordById(data) { ...@@ -124,3 +124,9 @@ export function getDivisionRecordById(data) {
data.method = `${path2}getDivisionRecordById` data.method = `${path2}getDivisionRecordById`
return request(data, "post") return request(data, "post")
} }
//根据园区店商户号获取4s列表
export function getServiceStore(data) {
data.method = 'dj.api.scenemerchantref.query4SRefByYqShop'
return request(data, "post")
}
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header> <d2-table-header>
<span slot="left">累计订单金额:¥{{ totalCount }}元</span> <span slot="left">累计订单金额:¥{{ totalCount }}元</span>
<el-button <!-- <el-button
type="primary" type="primary"
size="mini" size="mini"
class="orderTips" class="orderTips"
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
> >
待补录订单 待补录订单
<span class="tipsNum" v-show="waitOrderNum">{{ waitOrderNum }}</span> <span class="tipsNum" v-show="waitOrderNum">{{ waitOrderNum }}</span>
</el-button> </el-button> -->
<!-- @click="downloadAccount" --> <!-- @click="downloadAccount" -->
<!-- <auth-button category="Button"></auth-button> --> <!-- <auth-button category="Button"></auth-button> -->
<!-- <auth-button :showBtnIds="['9040104']" <!-- <auth-button :showBtnIds="['9040104']"
class="p-r-20" class="p-r-20"
category="Button"></auth-button> --> category="Button"></auth-button> -->
<auth-button :show-btn-ids="['9040101', '9040104']" category="Button" /> <auth-button :show-btn-ids="['9040101']" category="Button" />
</d2-table-header> </d2-table-header>
<el-table <el-table
:data="tableData" :data="tableData"
...@@ -311,7 +311,8 @@ import { ...@@ -311,7 +311,8 @@ import {
import { getDiversionMerchantRef } from "@api/merchant" import { getDiversionMerchantRef } from "@api/merchant"
import { manageTypeList, BaseData } from "@/common/constants" import { manageTypeList, BaseData } from "@/common/constants"
import { mapActions, mapState, mapMutations } from "vuex" import { mapActions, mapState, mapMutations } from "vuex"
import { getServiceStore, getParkStore } from "@api/editCustomer" import { getParkStore } from "@api/editCustomer"
import { getServiceStore} from "@api/order"
// import { asyncExportExcel } from '@api/sys.base' // import { asyncExportExcel } from '@api/sys.base'
export default { export default {
name: "Order", name: "Order",
...@@ -504,14 +505,14 @@ export default { ...@@ -504,14 +505,14 @@ export default {
}, },
baseData: { baseData: {
orderStatusList: [ orderStatusList: [
{ // {
confId: 1, // confId: 1,
confLabel: "待升级" // confLabel: "待升级"
}, // },
{ // {
confId: 2, // confId: 2,
confLabel: "战败" // confLabel: "战败"
}, // },
{ {
confId: 3, confId: 3,
confLabel: "待支付" confLabel: "待支付"
...@@ -519,40 +520,37 @@ export default { ...@@ -519,40 +520,37 @@ export default {
{ {
confId: 4, confId: 4,
confLabel: "已支付" confLabel: "已支付"
},
/* {
confId: 5,
confLabel: '已退款'
}, */ {
confId: 6,
confLabel: "已评价"
},
{
confId: 9,
confLabel: "已撤销"
},
{
confId: 10,
confLabel: "已关闭"
},
{
confId: 11,
confLabel: "错误订单"
},
{
confId: 12,
confLabel: "已退款"
} }
// {
// confId: 6,
// confLabel: "已评价"
// },
// {
// confId: 9,
// confLabel: "已撤销"
// },
// {
// confId: 10,
// confLabel: "已关闭"
// },
// {
// confId: 11,
// confLabel: "错误订单"
// },
// {
// confId: 12,
// confLabel: "已退款"
// }
], ],
upgradeList: [ upgradeList: [
{ {
confId: "Y", confId: "Y",
confLabel: "已升级" confLabel: "已升级"
}, },
{ // {
confId: "N", // confId: "N",
confLabel: "战败" // confLabel: "战败"
}, // },
{ {
confId: "R", confId: "R",
confLabel: "待升级" confLabel: "待升级"
...@@ -753,7 +751,7 @@ export default { ...@@ -753,7 +751,7 @@ export default {
}, },
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
sceneType: 1, sceneType: 0,
status: "", status: "",
upgradeFinishFlag: "", upgradeFinishFlag: "",
customerName: "", customerName: "",
...@@ -761,6 +759,7 @@ export default { ...@@ -761,6 +759,7 @@ export default {
merchantId: "", merchantId: "",
orderTime: "", orderTime: "",
constructionFlag: "", constructionFlag: "",
sourceList: "",
channelType: "", channelType: "",
businessModel: "", businessModel: "",
subShopMerchantId: "" subShopMerchantId: ""
...@@ -771,7 +770,8 @@ export default { ...@@ -771,7 +770,8 @@ export default {
}, },
getServiceStore(merchantId) { getServiceStore(merchantId) {
getServiceStore({ getServiceStore({
yqMerchantId: merchantId merchantId: merchantId,
scene:0
}).then((res) => { }).then((res) => {
this.baseData.storeIdList = res || [] this.baseData.storeIdList = res || []
this.getOptionsList() this.getOptionsList()
......
...@@ -263,8 +263,7 @@ ...@@ -263,8 +263,7 @@
<div class="abnormal"> <div class="abnormal">
<p>数据异常的可能原因:</p> <p>数据异常的可能原因:</p>
<p class="color-33"> <p class="color-33">
1. 存在格式不正确的手机号数据<br /> 1. 订单编号不匹配
2.存在重复的手机号数据
</p> </p>
</div> </div>
</span> </span>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<d2-dialog <d2-dialog
v-if="isRuleVisible" v-if="isRuleVisible"
:title="dialogTitle" :title="dialogTitle"
width="800px" width="760px"
:is-visible="isRuleVisible" :is-visible="isRuleVisible"
:is-show-footer="isConfirm" :is-show-footer="isConfirm"
@confirmDialog="handleRuleConfirm" @confirmDialog="handleRuleConfirm"
...@@ -528,7 +528,7 @@ export default { ...@@ -528,7 +528,7 @@ export default {
// 查看详情 // 查看详情
handleDetail(data) { handleDetail(data) {
this.ruleId = data.id this.ruleId = data.id
this.isEdit =false this.isEdit =true
this.getDetail() this.getDetail()
this.dialogTitle = "查看门店" this.dialogTitle = "查看门店"
this.isConfirm = false this.isConfirm = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!