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 02bea569
authored
Mar 06, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.16.0' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into dev_v4.16.0
2 parents
34960f97
53c40a81
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
src/views/goods/d2-form/distribution.vue
src/views/goods/editCommodity.vue
src/views/purchase/components/orderDetailDialog.vue
src/views/stockManage/stock/stockMonthDialog.vue
src/views/goods/d2-form/distribution.vue
View file @
02bea56
...
...
@@ -2,7 +2,7 @@
<div
class=
"d2-form-block distribution-form"
id=
"distribution-form"
>
<p
class=
"edit-sub-title title-backgroud"
>
分配到门店
</p>
<div
class=
"add-btns"
>
<el-button
type=
"primary"
style=
"width: 140px;"
@
click=
"handleClick()"
:disabled=
"!goodsInfoData.baseGoodsId"
>
添加分配
</el-button>
<el-button
type=
"primary"
style=
"width: 140px;"
@
click=
"handleClick()"
>
添加分配
</el-button>
<div
class=
"assi_type"
>
<span>
分配方式:
</span>
<el-radio-group
v-model=
"goodsInfoData.distributionType"
...
...
src/views/goods/editCommodity.vue
View file @
02bea56
...
...
@@ -314,15 +314,6 @@ export default {
})
return
document
.
getElementById
(
'specificationDetailList'
).
scrollIntoView
()
}
if
(
num
==
1
)
{
if
((
this
.
goodsInfoData
.
distributionType
==
'0'
&&
!
this
.
goodsInfoData
.
linkMerchants
.
length
)
||
(
this
.
goodsInfoData
.
distributionType
==
'1'
&&
!
this
.
goodsInfoData
.
speciLinkMerchants
.
length
))
{
this
.
$message
({
message
:
'请分配到门店'
,
type
:
'error'
})
return
document
.
getElementById
(
'distribution-form'
).
scrollIntoView
()
}
}
let
arr
=
confirmShopData
.
map
(
item
=>
{
item
.
shopPriceEmpty
=
true
item
.
shopMinPriceEmpty
=
true
...
...
@@ -372,7 +363,7 @@ export default {
delete
item
.
specificationDataEmpty
}
// 对比商品数据 下架/草稿商品是否有变化 提交/关联门店
if
(
!
[
1
,
2
].
includes
(
this
.
goodsInfoData
.
status
)
&&
num
&&
this
.
copyUpgradeGoodsList
.
length
&&
JSON
.
stringify
(
confirmShopData
)
!==
JSON
.
stringify
(
this
.
copyUpgradeGoodsList
))
{
if
(
!
[
1
,
2
].
includes
(
this
.
goodsInfoData
.
status
)
&&
num
&&
JSON
.
stringify
(
confirmShopData
)
!==
JSON
.
stringify
(
this
.
copyUpgradeGoodsList
))
{
return
this
.
$confirm
(
'商品内容未保存,请先做保存'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
showCancelButton
:
false
,
...
...
@@ -381,6 +372,15 @@ export default {
document
.
getElementById
(
'specificationDetailList'
).
scrollIntoView
()
})
}
if
(
num
==
1
)
{
if
((
this
.
goodsInfoData
.
distributionType
==
'0'
&&
!
this
.
goodsInfoData
.
linkMerchants
.
length
)
||
(
this
.
goodsInfoData
.
distributionType
==
'1'
&&
!
this
.
goodsInfoData
.
speciLinkMerchants
.
length
))
{
this
.
$message
({
message
:
'请分配到门店'
,
type
:
'error'
})
return
document
.
getElementById
(
'distribution-form'
).
scrollIntoView
()
}
}
callback
()
},
saveAssignByMerchantEvent
(
data
,
isDelete
)
{
...
...
src/views/purchase/components/orderDetailDialog.vue
View file @
02bea56
...
...
@@ -84,7 +84,7 @@ export default {
label
:
'采购数量'
,
prop
:
'goodsNumber'
,
formatter
:
(
cellValue
)
=>
{
return
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
==
1
?
`
${
cellValue
.
goodsNumber
}
卷/
${
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
'-'
}
米`
:
`
${
cellValue
.
goodsNumber
}
件`
return
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
`
${
cellValue
.
goodsNumber
}
卷/
${
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
'-'
}
米`
:
`
${
cellValue
.
goodsNumber
}
件`
}
},
{
...
...
src/views/stockManage/stock/stockMonthDialog.vue
View file @
02bea56
...
...
@@ -10,8 +10,7 @@
@
confirmDialog=
"handleClose"
>
<div>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px;"
>
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
...
...
@@ -231,4 +230,7 @@ export default {
margin-right
:
24px
;
padding
:
6.5px
10px
;
}
.show-search
{
margin-left
:
-65px
;
}
</
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