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 f1db4ecf
authored
Jul 23, 2026
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/584/wzh' into 'SAAS+V5.8.4'
Feature/584/wzh See merge request
!901
2 parents
7ee16a9b
18ea8515
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
16 deletions
src/views/goods/grounding/components/groundingForm.vue
src/views/goods/grounding/constants/data.js
src/views/goods/grounding/utils/productCost.js
src/views/goods/grounding/views/detail/index.vue
src/views/goods/grounding/views/modify/index.vue
src/views/goods/grounding/views/table/index.data.js
src/views/goods/packageManage/components/packageForm/index.vue
src/views/goods/packageManage/views/detail/index.vue
src/views/goods/packageManage/views/modify/index.vue
src/views/goods/packageManage/views/table/index.data.js
src/views/goods/shelfProduct/constant/index.js
src/views/goods/grounding/components/groundingForm.vue
View file @
f1db4ec
...
@@ -853,7 +853,7 @@ export default {
...
@@ -853,7 +853,7 @@ export default {
return
;
return
;
}
}
if
(
value
===
""
||
value
===
null
||
value
===
undefined
)
{
if
(
value
===
""
||
value
===
null
||
value
===
undefined
)
{
callback
(
new
Error
(
"请选择
商品成本带入
方式"
));
callback
(
new
Error
(
"请选择
产品成本获取
方式"
));
return
;
return
;
}
}
callback
();
callback
();
...
...
src/views/goods/grounding/constants/data.js
View file @
f1db4ec
...
@@ -140,7 +140,7 @@ export const packageGoodsForm = [
...
@@ -140,7 +140,7 @@ export const packageGoodsForm = [
},
},
{
{
name
:
"productCostType"
,
name
:
"productCostType"
,
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
type
:
"flagRadio"
,
type
:
"flagRadio"
,
isRequired
:
true
,
isRequired
:
true
,
radioGroupList
:
[
radioGroupList
:
[
...
@@ -356,7 +356,7 @@ export const packageGoodsDetail = [
...
@@ -356,7 +356,7 @@ export const packageGoodsDetail = [
},
},
{
{
name
:
"productCostTypeStr"
,
name
:
"productCostTypeStr"
,
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
},
},
{
{
name
:
"serviceItemDisplay"
,
name
:
"serviceItemDisplay"
,
...
...
src/views/goods/grounding/utils/productCost.js
View file @
f1db4ec
...
@@ -45,7 +45,7 @@ export function shouldShowPosition(goodsType) {
...
@@ -45,7 +45,7 @@ export function shouldShowPosition(goodsType) {
return
shouldShowServiceItem
(
goodsType
);
return
shouldShowServiceItem
(
goodsType
);
}
}
/** 自营延保/权益不展示
商品成本带入
方式 */
/** 自营延保/权益不展示
产品成本获取
方式 */
export
function
shouldShowProductCostType
(
goodsType
,
supplierCode
)
{
export
function
shouldShowProductCostType
(
goodsType
,
supplierCode
)
{
return
!!
goodsType
&&
!
isSelfOperatedEquityExtended
(
goodsType
,
supplierCode
);
return
!!
goodsType
&&
!
isSelfOperatedEquityExtended
(
goodsType
,
supplierCode
);
}
}
...
...
src/views/goods/grounding/views/detail/index.vue
View file @
f1db4ec
...
@@ -216,7 +216,7 @@ export default {
...
@@ -216,7 +216,7 @@ export default {
},
},
{
{
name
:
"productCostTypeStr"
,
name
:
"productCostTypeStr"
,
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
},
},
{
{
name
:
"serviceItemDisplay"
,
name
:
"serviceItemDisplay"
,
...
...
src/views/goods/grounding/views/modify/index.vue
View file @
f1db4ec
...
@@ -159,7 +159,7 @@ export default {
...
@@ -159,7 +159,7 @@ export default {
},
},
{
{
name
:
"productCostType"
,
name
:
"productCostType"
,
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
type
:
"flagRadio"
,
type
:
"flagRadio"
,
isRequired
:
true
,
isRequired
:
true
,
radioGroupList
:
[
radioGroupList
:
[
...
...
src/views/goods/grounding/views/table/index.data.js
View file @
f1db4ec
...
@@ -159,7 +159,7 @@ export async function getSearchFromSchema(_refreshTableFn) {
...
@@ -159,7 +159,7 @@ export async function getSearchFromSchema(_refreshTableFn) {
addHtml
:
"applicableAreaSelect"
,
addHtml
:
"applicableAreaSelect"
,
},
},
{
{
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
name
:
"productCostType"
,
name
:
"productCostType"
,
type
:
"select"
,
type
:
"select"
,
optionList
:
cloneDeep
(
productCostTypeList
),
optionList
:
cloneDeep
(
productCostTypeList
),
...
@@ -386,7 +386,7 @@ export async function getTableSchema() {
...
@@ -386,7 +386,7 @@ export async function getTableSchema() {
},
},
},
},
{
{
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
prop
:
"productCostTypeStr"
,
prop
:
"productCostTypeStr"
,
width
:
"150"
,
width
:
"150"
,
},
},
...
...
src/views/goods/packageManage/components/packageForm/index.vue
View file @
f1db4ec
...
@@ -278,7 +278,7 @@
...
@@ -278,7 +278,7 @@
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</div>
</div>
<!--
商品成本带入
方式 -->
<!--
产品成本获取
方式 -->
<div v-if="
item
.
type
===
'flagRadio'
">
<div v-if="
item
.
type
===
'flagRadio'
">
<el-form-item
<el-form-item
:id="`groundingGoodsList[${eleIndex
}
][${item.name
}
]`"
:id="`groundingGoodsList[${eleIndex
}
][${item.name
}
]`"
...
@@ -817,7 +817,7 @@ export default {
...
@@ -817,7 +817,7 @@ export default {
return
;
return
;
}
}
if
(
value
===
""
||
value
===
null
||
value
===
undefined
)
{
if
(
value
===
""
||
value
===
null
||
value
===
undefined
)
{
callback
(
new
Error
(
"请选择
商品成本带入
方式"
));
callback
(
new
Error
(
"请选择
产品成本获取
方式"
));
return
;
return
;
}
}
callback
();
callback
();
...
...
src/views/goods/packageManage/views/detail/index.vue
View file @
f1db4ec
...
@@ -244,7 +244,7 @@ export default {
...
@@ -244,7 +244,7 @@ export default {
recoveryCost
:
val
?.
recoveryCost
,
// 回收成本
recoveryCost
:
val
?.
recoveryCost
,
// 回收成本
warrantyPeriod
:
val
?.
upgradeGoods
?.
warrantyPeriod
,
// 质保年限
warrantyPeriod
:
val
?.
upgradeGoods
?.
warrantyPeriod
,
// 质保年限
upgradePrice
:
val
?.
upgradeGoods
?.
upgradePrice
,
// 参考售价
upgradePrice
:
val
?.
upgradeGoods
?.
upgradePrice
,
// 参考售价
productCostTypeStr
:
val
?.
productCostTypeStr
,
//
商品成本带入
方式
productCostTypeStr
:
val
?.
productCostTypeStr
,
//
产品成本获取
方式
serviceItemDisplay
:
val
?.
serviceItemDisplay
,
// 服务项目
serviceItemDisplay
:
val
?.
serviceItemDisplay
,
// 服务项目
upgradeGoods
:
{
upgradeGoods
:
{
...
val
?.
upgradeGoods
,
...
val
?.
upgradeGoods
,
...
...
src/views/goods/packageManage/views/modify/index.vue
View file @
f1db4ec
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
thirdPartyCost
:
""
,
// 第三方成本
thirdPartyCost
:
""
,
// 第三方成本
validMinSellPriceFlag
:
false
,
// 是否校验最低价
validMinSellPriceFlag
:
false
,
// 是否校验最低价
serviceItemId
:
""
,
// 服务项目
serviceItemId
:
""
,
// 服务项目
productCostType
:
""
,
//
商品成本带入
方式,不默认选中
productCostType
:
""
,
//
产品成本获取
方式,不默认选中
},
},
],
],
voucherList
:
[],
// 上架凭证
voucherList
:
[],
// 上架凭证
...
@@ -315,7 +315,7 @@ export default {
...
@@ -315,7 +315,7 @@ export default {
return
val
?.
productCostType
===
0
||
val
?.
productCostType
===
1
||
val
?.
productCostType
===
"0"
||
val
?.
productCostType
===
"1"
return
val
?.
productCostType
===
0
||
val
?.
productCostType
===
1
||
val
?.
productCostType
===
"0"
||
val
?.
productCostType
===
"1"
?
Number
(
val
.
productCostType
)
?
Number
(
val
.
productCostType
)
:
""
;
:
""
;
})(),
//
商品成本带入
方式
})(),
//
产品成本获取
方式
supplierCode
:
val
?.
goodsInfo
?.
supplierCode
,
// 供应方
supplierCode
:
val
?.
goodsInfo
?.
supplierCode
,
// 供应方
upgradeGoods
:
{
upgradeGoods
:
{
...
val
?.
upgradeGoods
,
...
val
?.
upgradeGoods
,
...
...
src/views/goods/packageManage/views/table/index.data.js
View file @
f1db4ec
...
@@ -99,7 +99,7 @@ export async function getSearchFormSchema(_refreshTable) {
...
@@ -99,7 +99,7 @@ export async function getSearchFormSchema(_refreshTable) {
addHtml
:
"applicableAreaSelect"
,
addHtml
:
"applicableAreaSelect"
,
},
},
{
{
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
name
:
"productCostType"
,
name
:
"productCostType"
,
type
:
"select"
,
type
:
"select"
,
optionList
:
cloneDeep
(
productCostTypeList
),
optionList
:
cloneDeep
(
productCostTypeList
),
...
@@ -230,7 +230,7 @@ export async function getTableColumnsSchema() {
...
@@ -230,7 +230,7 @@ export async function getTableColumnsSchema() {
},
},
},
},
{
{
label
:
"
商品成本带入
方式"
,
label
:
"
产品成本获取
方式"
,
prop
:
"productCostTypeStr"
,
prop
:
"productCostTypeStr"
,
width
:
"150"
,
width
:
"150"
,
...
...
src/views/goods/shelfProduct/constant/index.js
View file @
f1db4ec
...
@@ -15,7 +15,7 @@ export const sceneTypeOptions = [
...
@@ -15,7 +15,7 @@ export const sceneTypeOptions = [
{
value
:
"110202"
,
label
:
"2.3.2 售后延保"
},
{
value
:
"110202"
,
label
:
"2.3.2 售后延保"
},
];
];
// 商品上架
商品成本带入
方式
// 商品上架
产品成本获取
方式
export
const
productCostStyleOpt
=
[
export
const
productCostStyleOpt
=
[
{
value
:
2
,
label
:
"默认带入产品成本"
},
{
value
:
2
,
label
:
"默认带入产品成本"
},
{
value
:
1
,
label
:
"自定义成本"
},
{
value
:
1
,
label
:
"自定义成本"
},
...
...
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