Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7452ff24
authored
Dec 16, 2025
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 门店毛利额/新增修改弹框处理
1 parent
057c8576
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
src/views/systemConfig/ShopConfig/storeGrossProfit/components/editDialog.vue
src/views/systemConfig/ShopConfig/storeGrossProfit/index.vue
src/views/systemConfig/ShopConfig/storeGrossProfit/components/editDialog.vue
View file @
7452ff2
...
...
@@ -17,7 +17,7 @@
:prop=
"operationType =='add'?'merchantId':''"
>
<div
v-if=
"operationType =='add'"
>
<el-select
v-model=
"formData.merchantId"
placeholder=
"请选择"
placeholder=
"请选择
4S门店
"
remote
reserve-keyword
@
visible-change=
"visibleChange"
...
...
@@ -41,8 +41,11 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"业务类型:"
:prop=
"operationType =='add'?'businessType':''"
>
<div
v-if=
"operationType =='add'"
>
<el-select
v-model=
"formData.businessType"
class=
"sortInput"
placeholder=
"请先选择4S店"
@
change=
"handleChangeBusiness"
>
<el-option
v-for=
"subItem in baseData.businessTypeList"
<el-select
v-model=
"formData.businessType"
class=
"sortInput"
placeholder=
"请先选择业务类型"
@
change=
"handleChangeBusiness"
>
<!-- 选项数据与4s点联调 -->
<!--
<el-option
v-for=
"subItem in baseData.businessTypeList"
--
>
<!-- 默认独立选项数据 -->
<el-option
v-for=
"subItem in defaultBusinessList"
:key=
"subItem.confId"
:label=
"`$
{subItem.confValue}`"
:value="subItem.confId">
...
...
@@ -64,7 +67,7 @@
type=
"month"
value-format=
"yyyy-MM"
format=
"yyyy-MM"
placeholder=
"选择月"
placeholder=
"选择月
份
"
:picker-options=
"pickerOption"
class=
"sortInput"
>
</el-date-picker>
...
...
@@ -80,7 +83,7 @@
<div
v-if=
"operationType !='detail'"
>
<el-input
v-model=
"formData.dealRate"
@
input=
"dealRate_handleInput"
placeholder=
"请输入"
placeholder=
"请输入
毛利额
"
class=
"sortInput"
/>
</div>
<div
v-else
>
...
...
@@ -120,11 +123,11 @@ import { limitPrice } from '@/common/format'
import
{
getList
}
from
"@api/merchant"
import
{
outputValue_operTypeOpt
}
from
"@/common/constants.js"
import
{
insertPersonalConfig
,
getById_personal
,
getCarBrand
,
getStaffDataApi
}
from
'@api/shopConfig'
//
import reportTrackFunMixin from '@/mixins/reportTrackFunMixin'
import
reportTrackFunMixin
from
'@/mixins/reportTrackFunMixin'
export
default
{
name
:
'EditDialog'
,
//
mixins: [reportTrackFunMixin],
mixins
:
[
reportTrackFunMixin
],
directives
:
{
'el-select-loadmore'
:
{
bind
(
el
,
binding
)
{
...
...
@@ -238,6 +241,9 @@ export default {
},
{
confId
:
2
,
confValue
:
'延保'
},
{
confId
:
3
,
confValue
:
'二手车'
}]
}
},
...
...
src/views/systemConfig/ShopConfig/storeGrossProfit/index.vue
View file @
7452ff2
...
...
@@ -79,14 +79,12 @@
:show-btn-ids=
"['9061940']"
/>
</span>
<!-- 修改 -->
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.allowUpdate == true"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9061941']"
/>
</span>
<!-- 删除 -->
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.allowUpdate == true"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9061942']"
/>
</span>
...
...
@@ -263,16 +261,21 @@
},
{
confId
:
2
,
confValue
:
'延保'
},
{
confId
:
3
,
confValue
:
'二手车'
}],
businessOptShowClass
:
{
0
:
"type-yellow"
,
1
:
"type-blue"
,
2
:
"type-green"
2
:
"type-green"
,
3
:
"type-purple"
},
businessNameShow
:
{
0
:
"轻改"
,
1
:
"权益"
,
2
:
"延保"
2
:
"延保"
,
3
:
"二手车"
},
},
fileRules
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment