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 26e4533d
authored
May 22, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
10f35dc6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
19 deletions
src/views/goods/shelfManage/components/editCon/FinanceConfig.vue
src/views/goods/shelfManage/components/editCon/GoodsInfo.vue
src/views/goods/shelfManage/components/editMultilateralCon/DivisionConfig.vue
src/views/goods/shelfManage/editMultilateralContract.vue
src/views/goods/shelfManage/index.vue
src/views/goods/shelfManage/components/editCon/FinanceConfig.vue
View file @
26e4533
...
...
@@ -208,8 +208,8 @@ export default {
},
async
getGoodsCategoryConfigurationData
()
{
const
result
=
await
this
.
getGoodsCategoryConfiguration
()
const
list
=
result
.
list
console
.
log
(
list
,
"getGoodsCategoryConfigurationData"
)
const
list
=
result
// console.log(result,
list, "getGoodsCategoryConfigurationData")
if
(
list
.
length
)
{
this
.
productType
=
list
.
map
(({
categoryType
,
categoryName
})
=>
{
return
{
...
...
@@ -217,7 +217,7 @@ export default {
goodsTypeName
:
categoryName
}
})
console
.
log
(
this
.
productType
,
"getGoodsCategoryConfigurationData2"
)
//
console.log(this.productType, "getGoodsCategoryConfigurationData2")
}
this
.
initBaseData
()
},
...
...
src/views/goods/shelfManage/components/editCon/GoodsInfo.vue
View file @
26e4533
...
...
@@ -99,10 +99,13 @@ export default {
}
},
watch
:
{
recordId
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
recordId
:
{
handler
(
val
)
{
this
.
getDetail
()
}
},
immediate
:
true
,
deep
:
true
}
},
mounted
()
{
},
...
...
@@ -148,8 +151,9 @@ export default {
return
goodTabs_flag
&&
packageTabs_flag
},
getDetail
()
{
getGoodsDetail
({
id
:
this
.
recordId
})
this
.
recordId
&&
getGoodsDetail
({
id
:
this
.
recordId
})
.
then
((
res
)
=>
{
console
.
log
(
res
,
"getGoodsDetail"
)
this
.
goodsInfo
=
res
const
goodsList
=
deepClone
(
res
.
goodsList
)
||
[]
const
packageGoodsList
=
deepClone
(
res
.
packageGoodsList
)
||
[]
...
...
src/views/goods/shelfManage/components/editMultilateralCon/DivisionConfig.vue
View file @
26e4533
...
...
@@ -223,7 +223,7 @@ export default {
return
length1
-
length3
-
2
>
0
&&
length1
>
length2
},
financialLedgerParty
()
{
console
.
log
(
this
.
financialObj
,
"wangzhh "
)
//
console.log(this.financialObj, "wangzhh ")
const
{
realityPlatformMerchantId
,
realityPlatformMerchantName
,
...
...
@@ -329,7 +329,7 @@ export default {
shelfUpdateParMer
:
{
handler
(
obj
)
{
// 服务商
console
.
log
(
obj
,
"shelfUpdateParMer"
)
//
console.log(obj, "shelfUpdateParMer")
this
.
$set
(
this
.
financialObj
,
"partnerMerchantId"
,
obj
.
merchantId
)
this
.
$set
(
this
.
financialObj
,
"partnerMerchantName"
,
obj
.
merchantName
)
this
.
financialObj
=
deepClone
(
this
.
financialObj
)
...
...
@@ -396,7 +396,7 @@ export default {
goodsTypeName
:
categoryName
}
})
console
.
log
(
this
.
productType
,
"getGoodsCategoryConfigurationData1"
)
//
console.log(this.productType, "getGoodsCategoryConfigurationData1")
}
},
initFeeCategoryByType
(
scene
)
{
...
...
src/views/goods/shelfManage/editMultilateralContract.vue
View file @
26e4533
...
...
@@ -92,7 +92,7 @@ export default {
this
.
getMerchantSettleDistributeRuleLastRule
()
},
mounted
()
{
this
.
isLoad
=
true
this
.
getBasicDetail
()
this
.
$EventBus
.
$on
(
"requestData"
,
this
.
sendData
)
// 页面可见性监听
...
...
@@ -124,6 +124,7 @@ export default {
// })
},
async
getBasicDetail
()
{
this
.
isLoad
=
true
const
res
=
await
getBusisDetailBasic
({
id
:
this
.
routeObj
.
id
})
// .then((res) => {
console
.
log
(
res
,
"res----"
)
...
...
@@ -150,7 +151,9 @@ export default {
// })
// .finally(() => {
// })
this
.
isLoad
=
false
this
.
$nextTick
(()
=>
{
this
.
isLoad
=
false
},
3000
)
},
async
sendData
()
{
// 返回测算数据
...
...
src/views/goods/shelfManage/index.vue
View file @
26e4533
...
...
@@ -27,13 +27,12 @@
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"merchantName"
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
:content=
"scope.scope.merchantName"
placement=
"right"
>
<span>
{{
scope
.
scope
.
merchantName
.
length
>
10
<!-- scope.scope.merchantName.length > 10
? scope.scope.merchantName.substring(0, 10) + "..."
:
scope
.
scope
.
merchantName
}}
</span>
: -->
<div
class=
"merchant-item one-line-ellipsis"
>
{{
scope
.
scope
.
merchantName
}}
</div>
</el-tooltip>
</div>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
...
...
@@ -382,4 +381,8 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
.merchant-item
{
width
:
150px
;
}
</
style
>
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