Commit d2b13949 by Lin

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

1 parent a295630e
......@@ -1273,6 +1273,14 @@ export const outputValue_operTypeOpt = [
{ confId: 3, confValue: "删除" }
]
// 门店毛利额 业务类型
export const profit_operTypeOpt = [
{ confId: 'ADD', confValue: "新增" },
{ confId: 'UPDATE', confValue: "修改" },
{ confId: 'DELETE', confValue: "删除" },
{ confId: 'IMPORT', confValue: "导入" }
]
// 带教管理 业务类型1
export const teaching_businessOpt = [
{ confId: 0, confValue: "权益升级" },
......
......@@ -304,7 +304,7 @@
{
label: "处理策略",
minWidth: 180,
prop: "auditOpinion"
prop: "handlingStrategy"
}
]
},
......
......@@ -11,9 +11,9 @@
</div>
<!-- 展示字段不同,因此独立编辑 -->
<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>
<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="handleCancel">取消</el-button>
</div>
......@@ -45,7 +45,9 @@ export default {
editData: {
regionName: '',
operateUserId: '',
salesList: []
salesList: [],
regionalOperationsAreaManager: '',
regionalOperations: ''
},
editFormData: [
{
......@@ -97,7 +99,7 @@ export default {
label: '区域运营大区经理',
name: 'regionalOperationsAreaManager',
type: 'select',
isClear: false,
isClear: true,
optionList: [],
optionId: 'uuid',
optionLabel: 'staffName',
......@@ -111,7 +113,7 @@ export default {
label: '区域运营',
name: 'regionalOperations',
type: 'select',
isClear: false,
isClear: true,
optionList: [],
optionId: 'uuid',
optionLabel: 'staffName',
......
......@@ -94,7 +94,7 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="录入时间:"
<el-form-item label="导入时间:"
v-if="operationType!='add'">
{{ formData.createdAt }}
</el-form-item>
......@@ -121,7 +121,7 @@
import { Util, deepClone } from '@/common/util'
import { limitPrice } from '@/common/format'
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 reportTrackFunMixin from '@/mixins/reportTrackFunMixin'
......@@ -202,7 +202,7 @@ export default {
label: '操作项',
prop: 'operatorType',
formatter: (cellValue) => {
return this.operTypeOpt.find(item => item.confId === cellValue.operatorType)?.confValue + '个人交付成交率数据'
return this.operTypeOpt.find(item => item.confId === cellValue.actionType)?.confValue + '毛利额数据'
}
}, {
label: '操作时间',
......@@ -220,7 +220,7 @@ export default {
businessTypeList: [],
staffList: []
},
operTypeOpt: deepClone(outputValue_operTypeOpt),
operTypeOpt: deepClone(profit_operTypeOpt),
currentPage: 1,
pageSize: 20,
defaultBusinessList: [{
......
......@@ -208,7 +208,10 @@
tableColumns: [
{
label: "4S门店",
prop: "storeName"
prop: "storeName",
formatter: (cellValue) => {
return (cellValue.storeName) ? cellValue.storeName+'('+cellValue.storeId+')' : "-"
}
},
{
label: "业务类型",
......@@ -499,7 +502,7 @@
const list = [
...this.dowloadList,
{
name: '门店毛利额',
name: '毛利额导出模板',
exportParam: JSON.stringify(params),
status: 'waiting',
timeid: new Date().getTime()
......@@ -517,7 +520,7 @@
const list = [
...this.dowloadList,
{
name: '门店毛利额导入模版',
name: '毛利额导入模版',
exportParam: JSON.stringify(params),
status: 'waiting',
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!