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 b6bb04e2
authored
Sep 04, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
b1d73175
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
40 deletions
src/views/financeManage/account/offlineAccountList.vue
src/views/goods/purchaseOnShelves/components/detail.vue
src/views/goods/purchaseOnShelves/components/groundingForm.vue
src/views/goods/purchaseOnShelves/groundingDetail.vue
src/views/goods/purchaseOnShelves/index.vue
src/views/goods/shelfManage/components/detailCon/components/tableAccount.vue
src/views/financeManage/account/offlineAccountList.vue
View file @
b6bb04e
...
...
@@ -250,15 +250,6 @@ export default {
optionsName
:
'parkServiceList'
},
{
label
:
'订单类型'
,
name
:
'orderType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'orderTypeList'
},
{
label
:
'商户名称'
,
name
:
'merchantNameKeyWord'
,
type
:
'input'
,
...
...
@@ -268,6 +259,15 @@ export default {
keyFn
:
this
.
getList
},
{
label
:
'订单类型'
,
name
:
'orderType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'orderTypeList'
},
{
label
:
'平台方'
,
name
:
'realityPlatformMerchantId'
,
type
:
'select'
,
...
...
src/views/goods/purchaseOnShelves/components/detail.vue
View file @
b6bb04e
...
...
@@ -69,7 +69,7 @@
<div v-else-if="
item
.
type
===
'checkView'
">
<el-timeline v-show="
formData
[
item
.
name
]
">
<el-timeline-item v-for="
(
reviewInfo
,
infoId
)
in
formData
[
item
.
name
]
" color="
#
0
bbd87
" :key="
infoId
"
:timestamp="
reviewInfo
.
updatedDate
"
>
:timestamp="
reviewInfo
.
updatedDate
Str
"
>
{{
reviewInfo
.
logContent
}}
<
/el-timeline-item
>
<
/el-timeline
>
...
...
src/views/goods/purchaseOnShelves/components/groundingForm.vue
View file @
b6bb04e
...
...
@@ -158,12 +158,12 @@
<el-radio v-for="
(
subItem
,
subIndex
)
in
item
.
radioGroupList
" :key="
subIndex
" :label="
subItem
.
value
"
>
{{
subItem
.
label
}}
<
/el-radio
>
<
/el-radio-group
>
<
el
-
tooltip
class
=
"item"
effect
=
"dark"
placement
=
"top"
>
<
span
class
=
"carTips"
>
设置“专用”,服务商
/
园区店进行采购下单时,必须选择具体的车型。
<
/span
>
<!--
<
el
-
tooltip
class
=
"item"
effect
=
"dark"
placement
=
"top"
>
<
template
slot
=
"content"
>
<
p
style
=
"width: 400px"
><
i
class
=
"el-icon-info"
><
/i>设置“专用”,服务商/
园区店进行采购下单时,必须选择具体的车型。
<
/p
>
<
/template
>
<
i
class
=
"el-icon-info"
style
=
"margin-left: 20px"
><
/i
>
<
/el-tooltip
>
<
/el-tooltip>
--
>
<
/el-form-item
>
<
/div
>
<!--
按钮
-->
...
...
@@ -1251,4 +1251,9 @@ export default {
::
v
-
deep
.
el
-
radio
:
focus
:
not
(.
is
-
focus
):
not
(:
active
):
not
(.
is
-
disabled
)
.
el
-
radio__inner
{
box
-
shadow
:
none
!
important
;
}
.
carTips
{
color
:
#
999999
;
margin
-
left
:
30
px
;
}
<
/style
>
src/views/goods/purchaseOnShelves/groundingDetail.vue
View file @
b6bb04e
...
...
@@ -18,7 +18,7 @@ import { productList, baseSupplyModeList, upgradeSupplyModeList, crowdUpgradeSup
import
{
baseConfig
}
from
"@/main"
import
{
filterSpecsStr
,
convertYuanToWan
}
from
'../filterOption'
export
default
{
name
:
'GroundingDetail'
,
name
:
'
purchaseOnShelves
GroundingDetail'
,
components
:
{
detail
},
...
...
@@ -272,7 +272,7 @@ export default {
productList
.
forEach
(
v
=>
{
if
(
productType
.
includes
(
v
.
confId
))
productTypeTextArr
.
push
(
v
.
confName
)
})
res
.
reviewL
ogList
?.
forEach
(
val
=>
{
res
.
l
ogList
?.
forEach
(
val
=>
{
val
.
updatedDateStr
=
val
.
updatedDate
?
Util
.
dateFormate
(
val
.
updatedDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
})
let
arr
=
[]
...
...
src/views/goods/purchaseOnShelves/index.vue
View file @
b6bb04e
...
...
@@ -301,7 +301,7 @@ export default {
},
{
label
:
'上架ID'
,
prop
:
'purchaseGoodsCode'
,
width
:
18
0
,
width
:
20
0
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
purchaseGoodsCode
||
'-'
}
...
...
@@ -309,7 +309,7 @@ export default {
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
parentProp
:
'upgradeGoods'
,
width
:
15
0
width
:
20
0
// formatter: (cellValue) => {
// return cellValue.upgradeGoods.upgradeGoodsName || '-'
// }
...
...
src/views/goods/shelfManage/components/detailCon/components/tableAccount.vue
View file @
b6bb04e
...
...
@@ -272,7 +272,6 @@ export default {
// console.log(this.merchantDistributionRules)
const
obj
=
this
.
classificationObjSelect
// 多商户处理
const
form
=
{}
if
(
this
.
tableSelectOptionsId
)
{
for
(
const
key
in
obj
)
{
...
...
@@ -312,33 +311,48 @@ export default {
// this.merchantDistributionRules
// console.log(this.merchantDistributionRules)
const
obj
=
this
.
classificationObjSelect
const
tableSelectOptionsId
=
this
.
tableSelectOptions
.
some
(
item
=>
item
.
merchantId
==
1
)
const
form
=
{}
// console.log('obj', obj)
// 判断是不是多商户的,是改一下结构绑定
for
(
const
key
in
obj
)
{
obj
[
key
].
map
((
item
)
=>
{
// 数字转字符串
const
name
=
"id"
+
item
.
expenseCategoryId
// console.log(name, item.id || item.expenseCategoryId, 'item.id')
// 做回显用数据
const
findObj
=
this
.
owningMerchantDistributionRules
.
find
((
el
)
=>
{
return
el
.
expenseCategoryId
==
item
.
expenseCategoryId
if
(
this
.
tableSelectOptionsId
)
{
for
(
const
key
in
obj
)
{
obj
[
key
].
map
((
item
)
=>
{
// 数字转字符串
const
name
=
"id"
+
item
.
expenseCategoryId
// console.log(name, item.id || item.expenseCategoryId, 'item.id')
// 做回显用数据
const
findObj
=
this
.
owningMerchantDistributionRules
.
find
((
el
)
=>
{
return
el
.
expenseCategoryId
==
item
.
expenseCategoryId
})
form
[
name
]
=
findObj
?.
targetMerchantType
||
""
})
// console.log('findObj', findObj)
// if (findObj?.targetMerchantType == 3 && tableSelectOptionsId) {
// this.copyMerchantInfo = findObj
// }
// 还要跟存在现在的选项里面
// console.log(name)
// const optIndex = this.tableSelectOptions.findIndex((opt) => { return opt.merchantId == findObj?.merchantId })
// console.log(optIndex, 'optIndex')
// form[name] = parseInt(findObj?.merchantId) || ""
// console.log(findObj, tableSelectOptionsId)
// console.log(findObj.targetMerchantType == 3 && tableSelectOptionsId)
form
[
name
]
=
findObj
?.
merchantId
||
""
})
}
}
else
{
for
(
const
key
in
obj
)
{
obj
[
key
].
map
((
item
)
=>
{
// 数字转字符串
const
name
=
"id"
+
item
.
expenseCategoryId
// console.log(name, item.id || item.expenseCategoryId, 'item.id')
// 做回显用数据
const
findObj
=
this
.
owningMerchantDistributionRules
.
find
((
el
)
=>
{
return
el
.
expenseCategoryId
==
item
.
expenseCategoryId
})
// console.log('findObj', findObj)
// if (findObj?.targetMerchantType == 3 && tableSelectOptionsId) {
// this.copyMerchantInfo = findObj
// }
// 还要跟存在现在的选项里面
// console.log(name)
// const optIndex = this.tableSelectOptions.findIndex((opt) => { return opt.merchantId == findObj?.merchantId })
// console.log(optIndex, 'optIndex')
// form[name] = parseInt(findObj?.merchantId) || ""
// console.log(findObj, tableSelectOptionsId)
// console.log(findObj.targetMerchantType == 3 && tableSelectOptionsId)
form
[
name
]
=
findObj
?.
merchantId
||
""
})
}
}
// 判断id是否有在选项里面 没有就去掉
this
.
form2
=
form
console
.
log
(
this
.
form
,
'this.form'
)
...
...
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