Commit d2b13949 by Lin

feat: 门店毛利额模块自测优化

1 parent a295630e
...@@ -1273,6 +1273,14 @@ export const outputValue_operTypeOpt = [ ...@@ -1273,6 +1273,14 @@ export const outputValue_operTypeOpt = [
{ confId: 3, confValue: "删除" } { confId: 3, confValue: "删除" }
] ]
// 门店毛利额 业务类型
export const profit_operTypeOpt = [
{ confId: 'ADD', confValue: "新增" },
{ confId: 'UPDATE', confValue: "修改" },
{ confId: 'DELETE', confValue: "删除" },
{ confId: 'IMPORT', confValue: "导入" }
]
// 带教管理 业务类型1 // 带教管理 业务类型1
export const teaching_businessOpt = [ export const teaching_businessOpt = [
{ confId: 0, confValue: "权益升级" }, { confId: 0, confValue: "权益升级" },
......
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
{ {
label: "处理策略", label: "处理策略",
minWidth: 180, minWidth: 180,
prop: "auditOpinion" prop: "handlingStrategy"
} }
] ]
}, },
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
</div> </div>
<!-- 展示字段不同,因此独立编辑 --> <!-- 展示字段不同,因此独立编辑 -->
<div v-if="source === 'regional'" style="padding: 20px" v-loading="$store.state.d2admin.loading.value"> <div v-if="source === 'regional'" style="padding: 20px" v-loading="$store.state.d2admin.loading.value">
<glsx-combi-form class="edit-form-container" ref="editFormRef" label-width="250px" default-width="314px" :isBlock="isBlock" :form-ref="editChildRef" :form-obj="editData" :form-data="editFormDataRegional" :form-rules="formRulesRegional"> <glsx-combi-form class="edit-form-container" ref="editFormRef" label-width="250px" default-width="530px" :isBlock="isBlock" :form-ref="editChildRef" :form-obj="editData" :form-data="editFormDataRegional" :form-rules="formRulesRegional">
</glsx-combi-form> </glsx-combi-form>
<div class="footer"> <div class="footer" style="margin-left: -250px;margin-top: 40px;">
<el-button @click="handleConfirm" type="primary" :loading="$store.state.d2admin.loading.value">提交</el-button> <el-button @click="handleConfirm" type="primary" :loading="$store.state.d2admin.loading.value">提交</el-button>
<el-button @click="handleCancel">取消</el-button> <el-button @click="handleCancel">取消</el-button>
</div> </div>
...@@ -45,7 +45,9 @@ export default { ...@@ -45,7 +45,9 @@ export default {
editData: { editData: {
regionName: '', regionName: '',
operateUserId: '', operateUserId: '',
salesList: [] salesList: [],
regionalOperationsAreaManager: '',
regionalOperations: ''
}, },
editFormData: [ editFormData: [
{ {
...@@ -97,7 +99,7 @@ export default { ...@@ -97,7 +99,7 @@ export default {
label: '区域运营大区经理', label: '区域运营大区经理',
name: 'regionalOperationsAreaManager', name: 'regionalOperationsAreaManager',
type: 'select', type: 'select',
isClear: false, isClear: true,
optionList: [], optionList: [],
optionId: 'uuid', optionId: 'uuid',
optionLabel: 'staffName', optionLabel: 'staffName',
...@@ -111,7 +113,7 @@ export default { ...@@ -111,7 +113,7 @@ export default {
label: '区域运营', label: '区域运营',
name: 'regionalOperations', name: 'regionalOperations',
type: 'select', type: 'select',
isClear: false, isClear: true,
optionList: [], optionList: [],
optionId: 'uuid', optionId: 'uuid',
optionLabel: 'staffName', optionLabel: 'staffName',
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="录入时间:" <el-form-item label="导入时间:"
v-if="operationType!='add'"> v-if="operationType!='add'">
{{ formData.createdAt }} {{ formData.createdAt }}
</el-form-item> </el-form-item>
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
import { Util, deepClone } from '@/common/util' import { Util, deepClone } from '@/common/util'
import { limitPrice } from '@/common/format' import { limitPrice } from '@/common/format'
import { getList } from "@api/merchant" import { getList } from "@api/merchant"
import { outputValue_operTypeOpt } from "@/common/constants.js" import { profit_operTypeOpt } from "@/common/constants.js"
import { insertProfit, getProfitDetail, getStaffDataApi, updateProfit } from '@api/shopConfig' import { insertProfit, getProfitDetail, getStaffDataApi, updateProfit } from '@api/shopConfig'
import reportTrackFunMixin from '@/mixins/reportTrackFunMixin' import reportTrackFunMixin from '@/mixins/reportTrackFunMixin'
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
label: '操作项', label: '操作项',
prop: 'operatorType', prop: 'operatorType',
formatter: (cellValue) => { formatter: (cellValue) => {
return this.operTypeOpt.find(item => item.confId === cellValue.operatorType)?.confValue + '个人交付成交率数据' return this.operTypeOpt.find(item => item.confId === cellValue.actionType)?.confValue + '毛利额数据'
} }
}, { }, {
label: '操作时间', label: '操作时间',
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
businessTypeList: [], businessTypeList: [],
staffList: [] staffList: []
}, },
operTypeOpt: deepClone(outputValue_operTypeOpt), operTypeOpt: deepClone(profit_operTypeOpt),
currentPage: 1, currentPage: 1,
pageSize: 20, pageSize: 20,
defaultBusinessList: [{ defaultBusinessList: [{
......
...@@ -208,7 +208,10 @@ ...@@ -208,7 +208,10 @@
tableColumns: [ tableColumns: [
{ {
label: "4S门店", label: "4S门店",
prop: "storeName" prop: "storeName",
formatter: (cellValue) => {
return (cellValue.storeName) ? cellValue.storeName+'('+cellValue.storeId+')' : "-"
}
}, },
{ {
label: "业务类型", label: "业务类型",
...@@ -499,7 +502,7 @@ ...@@ -499,7 +502,7 @@
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: '门店毛利额', name: '毛利额导出模板',
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
status: 'waiting', status: 'waiting',
timeid: new Date().getTime() timeid: new Date().getTime()
...@@ -517,7 +520,7 @@ ...@@ -517,7 +520,7 @@
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: '门店毛利额导入模版', name: '毛利额导入模版',
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
status: 'waiting', status: 'waiting',
timeid: new Date().getTime() timeid: new Date().getTime()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!