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 18ea8515
authored
Jul 23, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.8.4' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into feature/584/wzh
2 parents
9ec589b5
7ee16a9b
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
56 additions
and
39 deletions
src/views/financeManage/theAssetData/index.vue
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
src/views/goods/shelfProduct/components/reconciliationConfig/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/components/modify/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/components/product/components/modify/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/shelfProductConfirm.data.js
src/views/goods/shelfProduct/view/detail/index.vue
src/views/goods/shelfProduct/view/normalDetail/index.vue
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/SplitPayment.vue
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/SplitPaymentTable.vue
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/StepThreeForm.vue
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepTwo/components/ConditionItem.vue
src/views/systemConfig/merchant/merchantGroundingEdit/components/MerchantGroundingTrafficProviderInformation.vue
src/views/financeManage/theAssetData/index.vue
View file @
18ea851
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
<el-cascader
v-model=
"searchForm.accDetailTagPath"
<el-cascader
v-model=
"searchForm.accDetailTagPath"
class=
"tag-search-cascader"
class=
"tag-search-cascader"
placeholder=
"请选择"
placeholder=
"请选择"
popper-class=
"tag-search-cascader-popper"
separator=
" / "
separator=
" / "
clearable
clearable
filterable
filterable
...
@@ -1150,6 +1151,13 @@ export default {
...
@@ -1150,6 +1151,13 @@ export default {
}
;
}
;
<
/script
>
<
/script
>
<
style
lang
=
"scss"
>
.
tag
-
search
-
cascader
-
popper
.
el
-
cascader
-
panel
.
el
-
radio__inner
{
width
:
18
px
!
important
;
height
:
18
px
!
important
;
}
<
/style
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
count
-
txt
{
.
count
-
txt
{
font
-
weight
:
700
;
font
-
weight
:
700
;
...
...
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
View file @
18ea851
...
@@ -245,6 +245,10 @@ export default {
...
@@ -245,6 +245,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
true
,
default
:
true
,
},
},
isDetail
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -277,15 +281,14 @@ export default {
...
@@ -277,15 +281,14 @@ export default {
if
(
this
.
useEdit
)
{
if
(
this
.
useEdit
)
{
await
this
.
getCalculateData
();
await
this
.
getCalculateData
();
}
}
if
(
this
.
isDetail
)
{
await
this
.
refreshTableData
();
return
;
}
await
this
.
withLoading
(
async
()
=>
{
await
this
.
withLoading
(
async
()
=>
{
const
{
profitRateCalFinish
}
=
await
getShelfProductUpdateStep
({
businessCode
:
this
.
businessCode
});
const
{
profitRateCalFinish
}
=
await
getShelfProductUpdateStep
({
businessCode
:
this
.
businessCode
});
if
(
profitRateCalFinish
===
"Y"
)
{
if
(
profitRateCalFinish
===
"Y"
)
{
await
this
.
getTableData
();
await
this
.
refreshTableData
();
await
this
.
$nextTick
();
await
this
.
setTableHeight
();
if
(
this
.
$refs
.
tableRef
)
{
this
.
$refs
.
tableRef
.
doLayout
();
}
return
;
return
;
}
}
if
(
this
.
useEdit
)
{
if
(
this
.
useEdit
)
{
...
@@ -342,6 +345,14 @@ export default {
...
@@ -342,6 +345,14 @@ export default {
this
.
table
.
query
.
pages
=
pages
;
this
.
table
.
query
.
pages
=
pages
;
this
.
table
.
query
.
total
=
total
;
this
.
table
.
query
.
total
=
total
;
},
},
async
refreshTableData
()
{
await
this
.
getTableData
();
await
this
.
$nextTick
();
await
this
.
setTableHeight
();
if
(
this
.
$refs
.
tableRef
)
{
this
.
$refs
.
tableRef
.
doLayout
();
}
},
async
setTableHeight
()
{
async
setTableHeight
()
{
const
tableWrapperRef
=
this
.
$refs
.
tableWrapperRef
;
const
tableWrapperRef
=
this
.
$refs
.
tableWrapperRef
;
...
...
src/views/goods/shelfProduct/components/reconciliationConfig/index.vue
View file @
18ea851
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"一线
阳光
是否前置"
<el-form-item
label=
"一线
激励
是否前置"
label-width=
"224px"
label-width=
"224px"
prop=
"firstLineSunshinePrerequisite"
>
prop=
"firstLineSunshinePrerequisite"
>
<el-select
v-model=
"form.firstLineSunshinePrerequisite"
<el-select
v-model=
"form.firstLineSunshinePrerequisite"
...
@@ -257,9 +257,9 @@ export default {
...
@@ -257,9 +257,9 @@ export default {
"managementMarketingFeesPrerequisite"
:
[
"managementMarketingFeesPrerequisite"
:
[
{
required
:
true
,
message
:
"请选择管理层市场费是否前置"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择管理层市场费是否前置"
,
trigger
:
"change"
},
],
],
// 请选择一线
阳光
是否前置
// 请选择一线
激励
是否前置
"firstLineSunshinePrerequisite"
:
[
"firstLineSunshinePrerequisite"
:
[
{
required
:
true
,
message
:
"请选择一线
阳光
是否前置"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择一线
激励
是否前置"
,
trigger
:
"change"
},
],
],
"specialDetail.categoryType"
:
[
"specialDetail.categoryType"
:
[
{
required
:
true
,
message
:
"请选择分账品类"
,
trigger
:
"change"
},
{
required
:
true
,
message
:
"请选择分账品类"
,
trigger
:
"change"
},
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/components/modify/index.vue
View file @
18ea851
...
@@ -296,7 +296,7 @@ export default {
...
@@ -296,7 +296,7 @@ export default {
...
pageQuery
,
...
pageQuery
,
merchantIds
:
Array
.
isArray
(
this
.
merchantId
)
?
this
.
merchantId
:
[
this
.
merchantId
],
merchantIds
:
Array
.
isArray
(
this
.
merchantId
)
?
this
.
merchantId
:
[
this
.
merchantId
],
baseSceneCode
:
this
.
baseSceneCode
,
baseSceneCode
:
this
.
baseSceneCode
,
p
roductName
:
pageQuery
.
searchValue
,
p
ackageld
:
pageQuery
.
searchValue
,
});
});
return
{
return
{
list
:
res
.
list
,
list
:
res
.
list
,
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/components/product/components/modify/index.vue
View file @
18ea851
...
@@ -221,9 +221,9 @@
...
@@ -221,9 +221,9 @@
</el-col>
</el-col>
<el-col
v-if=
"showUpgradeProductCostStyle"
:span=
"12"
>
<el-col
v-if=
"showUpgradeProductCostStyle"
:span=
"12"
>
<el-form-item
label=
"
商品成本带入
方式:"
<el-form-item
label=
"
产品成本获取
方式:"
prop=
"detailList[0].upgradeProductCostStyle"
prop=
"detailList[0].upgradeProductCostStyle"
:rules=
"[{ required: true, message: '请选择
商品成本带入
方式', trigger: 'change' }]"
>
:rules=
"[{ required: true, message: '请选择
产品成本获取
方式', trigger: 'change' }]"
>
<el-radio-group
v-model=
"product.detailList[0].upgradeProductCostStyle"
<el-radio-group
v-model=
"product.detailList[0].upgradeProductCostStyle"
@
change=
"handleUpgradeProductCostStyleChange"
>
@
change=
"handleUpgradeProductCostStyleChange"
>
<
template
v-for=
"item in options.productCostStyleOpt"
>
<
template
v-for=
"item in options.productCostStyleOpt"
>
...
@@ -438,7 +438,7 @@ export default {
...
@@ -438,7 +438,7 @@ export default {
...
pageQuery
,
...
pageQuery
,
merchantIds
:
Array
.
isArray
(
this
.
merchantId
)
?
this
.
merchantId
:
[
this
.
merchantId
],
merchantIds
:
Array
.
isArray
(
this
.
merchantId
)
?
this
.
merchantId
:
[
this
.
merchantId
],
baseSceneCode
:
this
.
baseSceneCode
,
baseSceneCode
:
this
.
baseSceneCode
,
productNam
e
:
pageQuery
.
searchValue
,
goodsCod
e
:
pageQuery
.
searchValue
,
});
});
return
{
return
{
list
:
res
.
list
,
list
:
res
.
list
,
...
@@ -469,7 +469,7 @@ export default {
...
@@ -469,7 +469,7 @@ export default {
this
.
dialog
.
selectGoods
.
show
=
false
;
this
.
dialog
.
selectGoods
.
show
=
false
;
},
},
//
商品成本带入
方式变动 更新成本
//
产品成本获取
方式变动 更新成本
async
updateCost
()
{
async
updateCost
()
{
// 如果是自定义成本带入方式 则 不更新成本
// 如果是自定义成本带入方式 则 不更新成本
if
(
isUpgradeProductCostStyleCustom
(
this
.
product
?.
detailList
?.[
0
]?.
upgradeProductCostStyle
))
{
if
(
isUpgradeProductCostStyleCustom
(
this
.
product
?.
detailList
?.[
0
]?.
upgradeProductCostStyle
))
{
...
@@ -502,7 +502,7 @@ export default {
...
@@ -502,7 +502,7 @@ export default {
}
}
},
},
/**
/**
*
商品成本带入
方式 变更
*
产品成本获取
方式 变更
*/
*/
async
handleUpgradeProductCostStyleChange
(
e
)
{
async
handleUpgradeProductCostStyleChange
(
e
)
{
await
this
.
$nextTick
();
await
this
.
$nextTick
();
...
@@ -530,8 +530,8 @@ export default {
...
@@ -530,8 +530,8 @@ export default {
upgradeGoods
.
positionList
=
upgradeGoods
.
position
.
split
(
","
).
map
(
Number
);
upgradeGoods
.
positionList
=
upgradeGoods
.
position
.
split
(
","
).
map
(
Number
);
}
}
this
.
$emit
(
"update:upgradeGoods"
,
upgradeGoods
);
this
.
$emit
(
"update:upgradeGoods"
,
upgradeGoods
);
await
this
.
$nextTick
();
//
await this.$nextTick();
await
this
.
updateCost
();
//
await this.updateCost();
this
.
handleSelectGoodsClose
();
this
.
handleSelectGoodsClose
();
},
},
async
validate
()
{
async
validate
()
{
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/shelfProductConfirm.data.js
View file @
18ea851
...
@@ -256,7 +256,7 @@ export async function getProductDetailDescriptionSchema(shelfType) {
...
@@ -256,7 +256,7 @@ export async function getProductDetailDescriptionSchema(shelfType) {
{
{
name
:
"detailList.0.upgradeProductCostStyle"
,
name
:
"detailList.0.upgradeProductCostStyle"
,
label
:
"产品
、升级成本/件
"
,
label
:
"产品
成本获取方式
"
,
col
:
12
,
col
:
12
,
render
(
h
,
{
data
,
schemaItem
})
{
render
(
h
,
{
data
,
schemaItem
})
{
const
value
=
get
(
data
,
schemaItem
.
name
);
const
value
=
get
(
data
,
schemaItem
.
name
);
...
...
src/views/goods/shelfProduct/view/detail/index.vue
View file @
18ea851
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
style=
"height:100%;margin-top:20px"
>
style=
"height:100%;margin-top:20px"
>
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
:business-code=
"businessCode"
:business-code=
"businessCode"
:is-detail=
"true"
:use-edit=
"false"
/>
:use-edit=
"false"
/>
</FormStep>
</FormStep>
...
...
src/views/goods/shelfProduct/view/normalDetail/index.vue
View file @
18ea851
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
style=
"height:100%;margin-top:20px"
>
style=
"height:100%;margin-top:20px"
>
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
:business-code=
"businessCode"
:business-code=
"businessCode"
:is-detail=
"true"
:use-edit=
"false"
/>
:use-edit=
"false"
/>
</FormStep>
</FormStep>
...
...
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/SplitPayment.vue
View file @
18ea851
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<span>
:
</span>
<span>
:
</span>
</span>
</span>
分账周期 T+
分账周期 T+
<el-input-number
class=
"input-number"
controls-position=
"right"
:min=
"
1
"
:max=
"20"
v-model=
"item.settleTime"
<el-input-number
class=
"input-number"
controls-position=
"right"
:min=
"
0
"
:max=
"20"
v-model=
"item.settleTime"
:disabled=
"item.autoFlag === 'N' || disabled"
></el-input-number>
:disabled=
"item.autoFlag === 'N' || disabled"
></el-input-number>
<span>
日
</span>
<span>
日
</span>
<span>
(分账后第
{{
item
.
settleTime
}}
天到分账方对公账户)
</span>
<span>
(分账后第
{{
item
.
settleTime
}}
天到分账方对公账户)
</span>
...
...
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/SplitPaymentTable.vue
View file @
18ea851
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"split-payment-table"
>
<div
class=
"split-payment-table"
>
<el-table
:data=
"tableRows"
border
style=
"width: 100%"
>
<el-table
:data=
"tableRows"
border
style=
"width: 100%"
>
<!-- 业务对象/费用类目列 -->
<!-- 业务对象/费用类目列 -->
<el-table-column
prop=
"merchantTypeName"
label=
"业务对象/费用类目"
width=
"180"
fixed=
"left"
/>
<el-table-column
prop=
"merchantTypeName"
label=
"业务对象/费用类目"
width=
"180"
/>
<!-- 动态生成的费用列 -->
<!-- 动态生成的费用列 -->
<el-table-column
v-for=
"(item, index) in componentData"
:key=
"'col-' + item.expenseCategoryId + '-' + index"
<el-table-column
v-for=
"(item, index) in componentData"
:key=
"'col-' + item.expenseCategoryId + '-' + index"
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ export default {
},
},
shelfType
:
Number
,
shelfType
:
Number
,
currentTrafficParty
:
Object
,
currentTrafficParty
:
Object
,
trafficParty
:
Array
,
parentName
:
String
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -49,7 +49,6 @@ export default {
...
@@ -49,7 +49,6 @@ export default {
nameMap
:
{
nameMap
:
{
1
:
'signingEntity'
,
1
:
'signingEntity'
,
2
:
'partnerName'
,
2
:
'partnerName'
,
3
:
'parentName'
,
5
:
'serviceMerchant2fName'
5
:
'serviceMerchant2fName'
},
},
// expenseCategoryId 枚举映射
// expenseCategoryId 枚举映射
...
@@ -86,15 +85,14 @@ export default {
...
@@ -86,15 +85,14 @@ export default {
tableRows
()
{
tableRows
()
{
const
rows
=
[],
const
rows
=
[],
{
currentTrafficParty
,
shelfType
,
nameMap
,
trafficParty
}
=
this
{
currentTrafficParty
,
shelfType
,
nameMap
,
parentName
,
componentData
}
=
this
// 固定的业务对象类型(平台方、服务商、4s店)
// 固定的业务对象类型(平台方、服务商、4s店)
const
fixedMerchantTypes
=
[
1
,
2
,
3
]
const
fixedMerchantTypes
=
[
1
,
2
,
3
]
let
hasService2
=
trafficParty
.
some
(
item
=>
item
.
serviceMerchant2fId
)
// 添加固定的三行
// 添加固定的三行
fixedMerchantTypes
.
forEach
(
type
=>
{
fixedMerchantTypes
.
forEach
(
type
=>
{
let
merchantTypeName
=
this
.
merchantTypeMap
[
type
]
||
''
let
merchantTypeName
=
this
.
merchantTypeMap
[
type
]
||
''
if
(
shelfType
==
1
)
{
if
(
shelfType
==
1
)
{
merchantTypeName
=
`
${
merchantTypeName
}
:
${
currentTrafficParty
[
nameMap
[
type
]]
||
''
}
`
merchantTypeName
=
`
${
merchantTypeName
}
:
${
type
==
3
?
parentName
:
currentTrafficParty
[
nameMap
[
type
]]
||
''
}
`
}
}
const
row
=
{
const
row
=
{
targetMerchantType
:
type
,
targetMerchantType
:
type
,
...
@@ -103,7 +101,7 @@ export default {
...
@@ -103,7 +101,7 @@ export default {
rows
.
push
(
row
)
rows
.
push
(
row
)
})
})
let
hasService2
=
componentData
.
some
(
item
=>
item
.
targetMerchantType
==
5
)
if
(
hasService2
)
{
if
(
hasService2
)
{
let
service2Name
=
this
.
merchantTypeMap
[
5
]
||
''
let
service2Name
=
this
.
merchantTypeMap
[
5
]
||
''
if
(
shelfType
==
1
)
{
if
(
shelfType
==
1
)
{
...
...
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepThree/components/StepThreeForm.vue
View file @
18ea851
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<template
v-if=
"isViewMode"
>
<template
v-if=
"isViewMode"
>
{{
getRealityShopLevelName
(
componentData
)
}}
{{
getRealityShopLevelName
(
componentData
.
autoDivideConfig
.
realityShopLevel
)
}}
</
template
>
</
template
>
<el-select
v-else
:size=
"size"
v-model=
"componentData.autoDivideConfig.realityShopLevel"
class=
"step-select"
>
<el-select
v-else
:size=
"size"
v-model=
"componentData.autoDivideConfig.realityShopLevel"
class=
"step-select"
>
<el-option
v-for=
"item in options.realityShopLevelOptions"
:key=
"item.realityShopLevel"
<el-option
v-for=
"item in options.realityShopLevelOptions"
:key=
"item.realityShopLevel"
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<
template
v-if=
"item.htmlName == 'table'"
>
<
template
v-if=
"item.htmlName == 'table'"
>
<SplitPaymentTable
:data=
"componentData.productCategoryRules[productCategoryIndex][item.key]"
<SplitPaymentTable
:data=
"componentData.productCategoryRules[productCategoryIndex][item.key]"
:isViewMode=
"isViewMode"
:shelfType=
"shelfType"
:currentTrafficParty=
"currentTrafficParty"
:isViewMode=
"isViewMode"
:shelfType=
"shelfType"
:currentTrafficParty=
"currentTrafficParty"
:trafficParty=
"trafficParty"
@
change=
"change($event, item)"
>
:trafficParty=
"trafficParty"
@
change=
"change($event, item)"
:parentName=
"componentData.autoDivideConfig.realityShopMerchantName"
>
</SplitPaymentTable>
</SplitPaymentTable>
</
template
>
</
template
>
</template>
</template>
...
@@ -420,8 +420,7 @@ export default {
...
@@ -420,8 +420,7 @@ export default {
},
},
getRealityShopLevelName(realityShopLevel) {
getRealityShopLevelName(realityShopLevel) {
console.log(realityShopLevel)
return this.options.realityShopLevelOptions.find(item => item.realityShopLevel == realityShopLevel)?.realityShopLevelName || '-'
// return this.options.realityShopLevelOptions.find(item => item.realityShopLevel == realityShopLevel)?.realityShopLevelName || '-'
}
}
}
}
}
}
...
@@ -432,7 +431,6 @@ export default {
...
@@ -432,7 +431,6 @@ export default {
.step-title
{
.step-title
{
gap
:
16px
;
gap
:
16px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
z-index
:
4
!important
;
}
}
.form-box
{
.form-box
{
...
...
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepTwo/components/ConditionItem.vue
View file @
18ea851
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</
template
>
</
template
>
<
template
v-else-if=
"i.type == 'select'"
>
<
template
v-else-if=
"i.type == 'select'"
>
<el-select
v-model=
"componentData[i.key]"
class=
"select"
:placeholder=
"`请选择$
{i.label}`"
<el-select
v-model=
"componentData[i.key]"
class=
"select"
:placeholder=
"`请选择$
{i.label}`"
:filterable="i.filterable" @change="selectionChange"
@visible-change="visibleChange"
>
:filterable="i.filterable" @change="selectionChange" >
<el-option
v-for=
"item in options"
:key=
"item.metricCode"
:label=
"item.metricName"
<el-option
v-for=
"item in options"
:key=
"item.metricCode"
:label=
"item.metricName"
:value=
"item.metricCode"
:filterable=
"i.filterable"
:disabled=
"includesList.includes(item.metricCode)"
/>
:value=
"item.metricCode"
:filterable=
"i.filterable"
:disabled=
"includesList.includes(item.metricCode)"
/>
</el-select>
</el-select>
...
...
src/views/systemConfig/merchant/merchantGroundingEdit/components/MerchantGroundingTrafficProviderInformation.vue
View file @
18ea851
...
@@ -381,8 +381,8 @@ export default {
...
@@ -381,8 +381,8 @@ export default {
],
],
customerInformation
:
[
customerInformation
:
[
{
label
:
"人员成本占比"
,
key
:
"personnelCostRate"
,
type
:
"input"
,
unit
:
"%"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
100
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"人员成本占比"
,
key
:
"personnelCostRate"
,
type
:
"input"
,
unit
:
"%"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
100
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"装修、设备总投入"
,
key
:
"renovationEquipmentCost"
,
type
:
"input"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
99999999
.99
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"装修、设备总投入"
,
key
:
"renovationEquipmentCost"
,
type
:
"input"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
99999999
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"其他(房租、水电、耗材等)/月"
,
key
:
"otherCostPerMonth"
,
type
:
"input"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
99999999
.99
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"其他(房租、水电、耗材等)/月"
,
key
:
"otherCostPerMonth"
,
type
:
"input"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
99999999
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"预估毛利率"
,
key
:
"estimatedGrossMargin"
,
type
:
"input"
,
unit
:
"%"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
100
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"预估毛利率"
,
key
:
"estimatedGrossMargin"
,
type
:
"input"
,
unit
:
"%"
,
inputRule
:
"decimal"
,
min
:
0
,
max
:
100
,
decimalPlaces
:
2
,
disabled
:
true
},
{
label
:
"是否存在兜底"
,
key
:
"hasGuarantee"
,
type
:
"radio"
,
options
:
[{
label
:
"是"
,
value
:
1
},
{
label
:
"否"
,
value
:
0
}]
},
{
label
:
"是否存在兜底"
,
key
:
"hasGuarantee"
,
type
:
"radio"
,
options
:
[{
label
:
"是"
,
value
:
1
},
{
label
:
"否"
,
value
:
0
}]
},
{
{
...
@@ -613,20 +613,20 @@ export default {
...
@@ -613,20 +613,20 @@ export default {
* 兜底标准输入(按指标类型应用不同规则)
* 兜底标准输入(按指标类型应用不同规则)
*/
*/
handleStandardInput
(
value
,
item
)
{
handleStandardInput
(
value
,
item
)
{
item
.
guaranteeStandard
=
this
.
formatDecimal
(
value
,
this
.
isRateIndicator
(
item
.
guaranteeIndex
)
?
{
min
:
0
,
max
:
100
,
decimalPlaces
:
2
}
:
{
min
:
0
,
max
:
999999
.
99
,
decimalPlaces
:
2
});
item
.
guaranteeStandard
=
this
.
formatDecimal
(
value
,
this
.
isRateIndicator
(
item
.
guaranteeIndex
)
?
{
min
:
0
,
max
:
100
,
decimalPlaces
:
2
}
:
{
min
:
0
,
max
:
99999999
,
decimalPlaces
:
2
});
},
},
/**
/**
* 赔付金额输入(0-999999
.99
,小数点后 2 位)
* 赔付金额输入(0-999999,小数点后 2 位)
* 区间值输入时跟随兜底标准的输入限制
* 区间值输入时跟随兜底标准的输入限制
*/
*/
handleAmountInput
(
value
,
target
,
key
,
item
)
{
handleAmountInput
(
value
,
target
,
key
,
item
)
{
// 如果是阶梯模式的区间值输入(startValue/endValue)
// 如果是阶梯模式的区间值输入(startValue/endValue)
if
(
key
===
"startValue"
||
key
===
"endValue"
)
{
if
(
key
===
"startValue"
||
key
===
"endValue"
)
{
const
result
=
this
.
formatDecimal
(
value
,
{
min
:
0
,
max
:
999999.
99
,
decimalPlaces
:
2
});
const
result
=
this
.
formatDecimal
(
value
,
{
min
:
0
,
max
:
item
.
dataType
==
1
?
100
:
999999
99
,
decimalPlaces
:
2
});
this
.
$set
(
target
,
key
,
result
);
this
.
$set
(
target
,
key
,
result
);
}
else
{
}
else
{
// 其他赔付金额(fixedCompensation、ladder.compensationAmount),固定使用 0-999999
.99
,小数点后 2 位
// 其他赔付金额(fixedCompensation、ladder.compensationAmount),固定使用 0-999999,小数点后 2 位
const
result
=
this
.
formatDecimal
(
value
,
{
min
:
0
,
max
:
999999
.99
,
decimalPlaces
:
2
});
const
result
=
this
.
formatDecimal
(
value
,
{
min
:
0
,
max
:
999999
,
decimalPlaces
:
2
});
this
.
$set
(
target
,
key
,
result
);
this
.
$set
(
target
,
key
,
result
);
}
}
},
},
...
...
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