Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 10efb442
authored
Sep 06, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
2a0c15fb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
62 deletions
src/views/purchaseOrder/components/carBandDialog.vue
src/views/purchaseOrder/components/goodsDetailCom.vue
src/views/purchaseOrder/components/orderDetailDialog.vue
src/views/purchaseOrder/components/orderReturnDialog.vue
src/views/purchaseOrder/components/shoppingCartCom.vue
src/views/purchaseOrder/index.vue
src/views/purchaseOrder/components/carBandDialog.vue
View file @
10efb44
...
@@ -9,11 +9,12 @@
...
@@ -9,11 +9,12 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"车系:"
prop=
"merchantName"
>
<el-form-item
label=
"车系:"
prop=
"merchantName"
>
<el-cascader
:size=
"size"
:props=
"props"
v-model=
"storeSearchForm.seriesId"
:options=
"options"
<el-cascader
:size=
"size"
:props=
"props"
v-model=
"storeSearchForm.seriesId"
:options=
"options"
@
change=
"handleChangeCar"
></el-cascader>
@
change=
"handleChangeCar"
filterable
placeholder=
"搜索/请先选择车系"
v-loading=
"carLoading"
></el-cascader>
<span
class=
"carTips"
>
请先选择车系
</span>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearchStore"
>
搜索
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearchStore"
>
搜索
</el-button>
<
el-button
:size=
"size"
@
click=
"handleSearchReset"
>
重置
</el-button
>
<
!--
<el-button
:size=
"size"
@
click=
"handleSearchReset"
>
重置
</el-button>
--
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row>
<el-row>
...
@@ -79,37 +80,8 @@ export default {
...
@@ -79,37 +80,8 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
20
,
pageSize
:
20
,
size
:
'small'
,
size
:
'small'
,
options
:
[{
carLoading
:
false
,
value
:
'zhinan'
,
options
:
[]
label
:
'指南'
,
children
:
[{
value
:
'shejiyuanze'
,
label
:
'设计原则'
,
children
:
[{
value
:
'yizhi'
,
label
:
'一致'
},
{
value
:
'fankui'
,
label
:
'反馈'
},
{
value
:
'xiaolv'
,
label
:
'效率'
},
{
value
:
'kekong'
,
label
:
'可控'
}]
},
{
value
:
'daohang'
,
label
:
'导航'
,
children
:
[{
value
:
'cexiangdaohang'
,
label
:
'侧向导航'
},
{
value
:
'dingbudaohang'
,
label
:
'顶部导航'
}]
}]
},]
}
}
},
},
...
@@ -200,8 +172,10 @@ export default {
...
@@ -200,8 +172,10 @@ export default {
},
},
getSelectingList
()
{
getSelectingList
()
{
console
.
log
(
this
.
upgradeGoodsInfo
,
'this.upgradeGoodsInfo'
)
console
.
log
(
this
.
upgradeGoodsInfo
,
'this.upgradeGoodsInfo'
)
this
.
carLoading
=
true
this
.
$apis
.
purchaseShopping
.
getCanSelectCarBrandList
({
upgradeGoodsId
:
this
.
upgradeGoodsInfo
.
upgradeGoodsId
||
this
.
upgradeGoodsInfo
.
upgradeGoodsList
[
0
].
id
}).
then
(
res
=>
{
this
.
$apis
.
purchaseShopping
.
getCanSelectCarBrandList
({
upgradeGoodsId
:
this
.
upgradeGoodsInfo
.
upgradeGoodsId
||
this
.
upgradeGoodsInfo
.
upgradeGoodsList
[
0
].
id
}).
then
(
res
=>
{
console
.
log
(
res
,
'getSelectingList'
)
console
.
log
(
res
,
'getSelectingList'
)
this
.
carLoading
=
false
this
.
options
=
res
.
data
this
.
options
=
res
.
data
})
})
},
},
...
@@ -261,6 +235,7 @@ export default {
...
@@ -261,6 +235,7 @@ export default {
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
pageNum
=
val
this
.
pageNum
=
val
this
.
handleChangeCar
()
},
},
handleRelateStoreConfirm
()
{
handleRelateStoreConfirm
()
{
if
(
!
this
.
selectedData
.
length
)
{
if
(
!
this
.
selectedData
.
length
)
{
...
@@ -284,6 +259,11 @@ export default {
...
@@ -284,6 +259,11 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.carTips
{
margin-left
:
20px
;
color
:
#666
;
}
.relateStore
{
.relateStore
{
.title
{
.title
{
font-size
:
16px
;
font-size
:
16px
;
...
@@ -311,22 +291,23 @@ export default {
...
@@ -311,22 +291,23 @@ export default {
.box_content
{
.box_content
{
padding
:
12px
8px
;
padding
:
12px
8px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
height
:
calc
(
100%
-
40px
);
min-
height
:
calc
(
100%
-
40px
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.select_item
{
.select_item
{
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
height
:
32px
;
min-
height
:
32px
;
padding
:
0
8px
;
padding
:
0
8px
;
cursor
:
pointer
;
cursor
:
pointer
;
.text_value
{
.text_value
{
width
:
calc
(
100%
-
50px
);
width
:
calc
(
100%
-
50px
);
overflow
:
hidden
;
//
overflow
:
hidden
;
text-overflow
:
ellipsis
;
//
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
//
white-space
:
nowrap
;
}
}
.select_clear
{
.select_clear
{
...
...
src/views/purchaseOrder/components/goodsDetailCom.vue
View file @
10efb44
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<!-- 商品详情 -->
<!-- 商品详情 -->
<div
class=
"goodsInfoCom"
>
<div
class=
"goodsInfoCom"
>
<div
class=
"goodsInfoCom__left"
>
<div
class=
"goodsInfoCom__left"
>
<img
:src=
"goodsInfo.thumbUrl"
alt=
""
/>
<img
v-if=
"goodsInfo"
:src=
"goodsInfo.thumbUrl"
alt=
""
/>
</div>
</div>
<div
class=
"goodsInfoCom__right"
>
<div
class=
"goodsInfoCom__right"
>
<p
class=
"title two-line-ellipsis"
>
{{
goodsInfo
.
goodsName
}}
</p>
<p
class=
"title two-line-ellipsis"
>
{{
goodsInfo
.
goodsName
}}
</p>
...
@@ -46,10 +46,7 @@
...
@@ -46,10 +46,7 @@
<div
class=
"label"
>
规格:
</div>
<div
class=
"label"
>
规格:
</div>
<div
class=
"itemCon"
>
<div
class=
"itemCon"
>
<div
class=
"skuItem one-line-ellipsis pointer"
:class=
"
{ active: index === selectIndex }"
<div
class=
"skuItem one-line-ellipsis pointer"
:class=
"
{ active: index === selectIndex }"
v-for="(item, index) in goodsInfo.upgradeGoodsList" :key="index" @click="
v-for="(item, index) in goodsInfo.upgradeGoodsList" :key="index" @click="singleClick(item, index)">
selectIndex = index
setHandleItemInfo(item)
">
{{
item
.
upgradeGoodsName
}}
{{
item
.
upgradeGoodsName
}}
</div>
</div>
</div>
</div>
...
@@ -66,9 +63,9 @@
...
@@ -66,9 +63,9 @@
<
/div
>
<
/div
>
<
div
class
=
"munCom"
v
-
if
=
"upgradeGoodsInfo.suitCarType == 2"
>
<
div
class
=
"munCom"
v
-
if
=
"upgradeGoodsInfo.suitCarType == 2"
>
<
div
class
=
"label"
>
适用车型:
<
/div
>
<
div
class
=
"label"
>
适用车型:
<
/div
>
<
div
class
=
"munItem"
>
<
div
class
=
"munItem
car-select
"
>
<
el
-
select
ref
=
"choose"
width
=
'300'
multiple
@
focus
=
"handleCarDialog"
value
-
key
=
"carTypeId
"
<
el
-
select
ref
=
"choose"
:
clearable
=
"false"
width
=
'300'
collapse
-
tags
multiple
@
focus
=
"handleCarDialog
"
v
-
model
=
"goodsInfo.suitCarTypeList"
collapse
-
tags
style
=
"margin-left: 20px;width: 300px;"
v
alue
-
key
=
"carTypeId"
v
-
model
=
"goodsInfo.suitCarTypeList"
style
=
"margin-left: 20px;width: 300px;"
placeholder
=
"请选择"
>
placeholder
=
"请选择"
>
<
el
-
option
v
-
for
=
"(children) in goodsInfo.suitCarTypeList"
:
key
=
"children.carTypeId"
<
el
-
option
v
-
for
=
"(children) in goodsInfo.suitCarTypeList"
:
key
=
"children.carTypeId"
:
label
=
"children.carTypeName"
:
value
=
"children"
>
:
label
=
"children.carTypeName"
:
value
=
"children"
>
...
@@ -650,6 +647,11 @@ export default {
...
@@ -650,6 +647,11 @@ export default {
this
.
getGoodsDetail
()
this
.
getGoodsDetail
()
}
,
}
,
methods
:
{
methods
:
{
singleClick
(
item
,
index
)
{
this
.
setHandleItemInfo
(
item
)
this
.
selectIndex
=
index
this
.
upgradeGoodsInfo
=
item
}
,
handleConfirm
(
list
)
{
handleConfirm
(
list
)
{
console
.
log
()
console
.
log
()
this
.
goodsInfo
.
suitCarTypeList
=
list
this
.
goodsInfo
.
suitCarTypeList
=
list
...
@@ -943,7 +945,7 @@ export default {
...
@@ -943,7 +945,7 @@ export default {
}
}
// 如果是专用商品 但没有选适配车型
// 如果是专用商品 但没有选适配车型
if
(
this
.
upgradeGoodsInfo
.
suitCarType
==
2
&&
!
this
.
goodsInfo
.
suitCarTypeList
?.
length
)
{
if
(
this
.
upgradeGoodsInfo
.
suitCarType
==
2
&&
!
this
.
goodsInfo
.
suitCarTypeList
?.
length
)
{
return
this
.
$message
.
error
(
'请
选择适配车型'
);
return
this
.
$message
.
error
(
'请
完善商品适用车型'
)
}
}
// 判断是否有值
// 判断是否有值
params
.
upgradeGoodsId
&&
params
.
upgradeGoodsId
&&
...
@@ -959,6 +961,12 @@ export default {
...
@@ -959,6 +961,12 @@ export default {
<
/script
>
<
/script
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
car
-
select
{
::
v
-
deep
.
el
-
select__tags
-
text
{
max
-
width
:
170
px
;
}
}
.
goodsInfoCom
{
.
goodsInfoCom
{
display
:
flex
;
display
:
flex
;
...
...
src/views/purchaseOrder/components/orderDetailDialog.vue
View file @
10efb44
...
@@ -46,14 +46,13 @@
...
@@ -46,14 +46,13 @@
</
template
>
</
template
>
<
template
slot=
"upgradeGoodsName"
slot-scope=
"scope"
>
<
template
slot=
"upgradeGoodsName"
slot-scope=
"scope"
>
<div>
<div>
<img
v-if=
"scope.scope.refundStatus == 'Y'"
class=
"ret
ru
n"
src=
"@/assets/retrun.png"
alt=
""
>
<img
v-if=
"scope.scope.refundStatus == 'Y'"
class=
"ret
ur
n"
src=
"@/assets/retrun.png"
alt=
""
>
<span>
{{
scope
.
scope
.
upgradeGoodsName
}}
</span>
<span>
{{
scope
.
scope
.
upgradeGoodsName
}}
</span>
</div>
</div>
</
template
>
</
template
>
<
template
slot=
"carName"
slot-scope=
"scope"
>
<
template
slot=
"carName"
slot-scope=
"scope"
>
<!--
<div>
{{
JSON
.
stringify
(
scope
.
scope
.
suitCarTypeList
)
}}
</div>
-->
<el-tooltip
v-if=
"scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length"
placement=
"top"
>
<el-tooltip
v-if=
"scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length"
placement=
"top"
>
<div
slot=
"content"
>
<div
slot=
"content"
class=
"car-type-list"
>
<div
v-for=
"(item, index) in scope.scope.suitCarTypeList"
:key=
"index"
>
{{
item
.
carTypeName
}}
</div>
<div
v-for=
"(item, index) in scope.scope.suitCarTypeList"
:key=
"index"
>
{{
item
.
carTypeName
}}
</div>
</div>
</div>
<div>
{{
scope
.
scope
.
suitCarTypeList
|
formatCar
}}
</div>
<div>
{{
scope
.
scope
.
suitCarTypeList
|
formatCar
}}
</div>
...
@@ -101,6 +100,7 @@ export default {
...
@@ -101,6 +100,7 @@ export default {
this
.
$emit
(
'update:visible'
,
val
)
this
.
$emit
(
'update:visible'
,
val
)
}
}
}
}
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -128,6 +128,7 @@ export default {
...
@@ -128,6 +128,7 @@ export default {
},
},
{
{
label
:
'适用车型'
,
label
:
'适用车型'
,
prop
:
'carName'
,
addHtml
:
'carName'
,
addHtml
:
'carName'
,
width
:
200
,
width
:
200
,
},
},
...
@@ -194,6 +195,14 @@ export default {
...
@@ -194,6 +195,14 @@ export default {
},
},
created
()
{
created
()
{
this
.
dynamicParams
()
this
.
dynamicParams
()
console
.
log
(
this
.
paramsObj
,
'paramsObj'
)
// 不是商城采购过滤掉车型和备注
if
(
this
.
paramsObj
.
purchaseType
!=
1
)
{
this
.
tableParams
.
tableColumns
=
this
.
tableParams
.
tableColumns
.
filter
(
item
=>
{
return
item
.
prop
!==
'carName'
&&
item
.
prop
!==
'remark'
})
// console.log(this.tableParams.tableColumns, ' this.tableParams.tableColumns ')
}
},
},
methods
:
{
methods
:
{
dynamicParams
()
{
dynamicParams
()
{
...
@@ -255,7 +264,12 @@ export default {
...
@@ -255,7 +264,12 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.retrun
{
.car-type-list
{
max-height
:
300px
;
overflow-y
:
scroll
;
}
.return
{
width
:
15px
;
width
:
15px
;
height
:
14px
;
height
:
14px
;
}
}
...
...
src/views/purchaseOrder/components/orderReturnDialog.vue
View file @
10efb44
...
@@ -169,11 +169,14 @@ export default {
...
@@ -169,11 +169,14 @@ export default {
},
},
methods
:
{
methods
:
{
handleConfirm
()
{
handleConfirm
()
{
let
selectedData
=
this
.
$refs
.
purchaseOrderDetailTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
let
selectedData
=
this
.
$refs
.
purchaseOrderDetailTable
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
||
[]
// selectedData = selectedData.filter(item => item.refundStatus == 'N')
// selectedData = selectedData.filter(item => item.refundStatus == 'N')
if
(
selectedData
.
some
(
item
=>
item
.
refundStatus
==
'Y'
))
{
if
(
selectedData
.
some
(
item
=>
item
.
refundStatus
==
'Y'
))
{
return
this
.
$message
.
error
(
'商品已退货,请确认后重新操作'
);
return
this
.
$message
.
error
(
'商品已退货,请确认后重新操作'
);
}
}
if
(
!
selectedData
.
length
)
{
return
this
.
$message
.
error
(
'请勾选需退货的商品'
);
}
let
params
=
{
let
params
=
{
orderCode
:
this
.
paramsObj
.
orderCode
,
orderCode
:
this
.
paramsObj
.
orderCode
,
purchaseOrderGoodsIdList
:
selectedData
.
map
(
item
=>
item
.
id
)
purchaseOrderGoodsIdList
:
selectedData
.
map
(
item
=>
item
.
id
)
...
@@ -181,9 +184,13 @@ export default {
...
@@ -181,9 +184,13 @@ export default {
console
.
log
(
selectedData
,
'selectedData'
)
console
.
log
(
selectedData
,
'selectedData'
)
this
.
$apis
.
purchaseShopping
.
purchaseOrderGoodsRefund
(
params
).
then
(
res
=>
{
this
.
$apis
.
purchaseShopping
.
purchaseOrderGoodsRefund
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
dialogShow
=
false
this
.
dialogShow
=
false
this
.
$emit
(
'handleConfirm'
)
this
.
$emit
(
'handleConfirm'
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
...
src/views/purchaseOrder/components/shoppingCartCom.vue
View file @
10efb44
...
@@ -58,11 +58,10 @@
...
@@ -58,11 +58,10 @@
{{
membraneTypeList
.
includes
(
goodsItem
.
goodsType
)
?
`卷(1卷=${goodsItem.convertedValue || 30
}
米)`
:
'件'
}}
{{
membraneTypeList
.
includes
(
goodsItem
.
goodsType
)
?
`卷(1卷=${goodsItem.convertedValue || 30
}
米)`
:
'件'
}}
<
/div
>
<
/div
>
<
div
class
=
"munCom"
v
-
if
=
"goodsItem.suitCarTypeList && goodsItem.suitCarTypeList.length"
>
<
div
class
=
"munCom"
v
-
if
=
"goodsItem.suitCarTypeList && goodsItem.suitCarTypeList.length"
>
<!--
<
div
class
=
"label"
>
适用车型:
<
/div> --
>
<
div
class
=
"munItem"
>
<
div
class
=
"munItem"
>
<
el
-
select
:
ref
=
"'choose' + goodsItem.id"
name
=
"munComInput"
size
=
"mini"
multiple
<
el
-
select
@
remove
-
tag
=
"handleTagDelete(goodsItem)"
:
ref
=
"'choose' + goodsItem.id"
collapse
-
tags
@
focus
=
"handleCarDialog(goodsItem)"
value
-
key
=
"carTypeId"
v
-
model
=
"goodsItem.suitCarTypeList
"
name
=
"munComInput"
size
=
"mini"
multiple
@
focus
=
"handleCarDialog(goodsItem)"
value
-
key
=
"carTypeId
"
collapse
-
tags
style
=
"margin-top: 10px;width: 240px;"
placeholder
=
"请选择"
>
v
-
model
=
"goodsItem.suitCarTypeList"
style
=
"margin-top: 10px;width: 240px;"
placeholder
=
"请选择"
>
<
el
-
option
v
-
for
=
"(children) in goodsItem.suitCarTypeList"
:
key
=
"children.carTypeId"
<
el
-
option
v
-
for
=
"(children) in goodsItem.suitCarTypeList"
:
key
=
"children.carTypeId"
:
label
=
"children.carTypeName"
:
value
=
"children"
>
:
label
=
"children.carTypeName"
:
value
=
"children"
>
<
/el-option
>
<
/el-option
>
...
@@ -136,13 +135,10 @@
...
@@ -136,13 +135,10 @@
<
/template
>
<
/template
>
<
template
slot
=
"film"
slot
-
scope
=
"scope"
>
<
template
slot
=
"film"
slot
-
scope
=
"scope"
>
<
el
-
tooltip
v
-
if
=
"scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length > 1"
placement
=
"top"
>
<
el
-
tooltip
v
-
if
=
"scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length > 1"
placement
=
"top"
>
<!--
<
div
slot
=
"content"
>
多行信息
<
br
/>
第二行信息
<
/div> --
>
<
div
slot
=
"content"
class
=
"car-type-list"
>
<
div
slot
=
"content"
>
<
div
v
-
for
=
"(item, index) in scope.scope.suitCarTypeList"
:
key
=
"index"
>
{{
item
.
carTypeName
}}
<
/div
>
<
div
v
-
for
=
"(item, index) in scope.scope.suitCarTypeList"
:
key
=
"index"
>
{{
item
.
carTypeName
}}
<
/div
>
<
/div
>
<
/div
>
<
div
>
{{
scope
.
scope
.
suitCarTypeList
|
formatCar
}}
<
/div
>
<
div
>
{{
scope
.
scope
.
suitCarTypeList
|
formatCar
}}
<
/div
>
<!--
<
span
v
-
for
=
"(item, index) in "
:
key
=
"index"
>
{{
item
.
carTypeName
}}
<
br
/><
/span> --
>
<
/el-tooltip
>
<
/el-tooltip
>
<
div
v
-
else
>--<
/div
>
<
div
v
-
else
>--<
/div
>
<
/template
>
<
/template
>
...
@@ -159,7 +155,7 @@
...
@@ -159,7 +155,7 @@
<
div
class
=
"item-remark orderInfoCom"
>
<
div
class
=
"item-remark orderInfoCom"
>
<
div
class
=
"label"
>
备注
:
<
/div
>
<
div
class
=
"label"
>
备注
:
<
/div
>
<
div
class
=
"item-content"
>
<
div
class
=
"item-content"
>
<
el
-
input
show
-
word
-
limit
type
=
"textarea"
maxlength
=
"200"
:
rows
=
"
1
"
placeholder
=
"备注说明"
<
el
-
input
show
-
word
-
limit
type
=
"textarea"
maxlength
=
"200"
:
rows
=
"
3
"
placeholder
=
"备注说明"
v
-
model
=
"remarks"
><
/el-input
>
v
-
model
=
"remarks"
><
/el-input
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -338,6 +334,12 @@ export default {
...
@@ -338,6 +334,12 @@ export default {
}
)
}
)
}
,
}
,
methods: {
methods: {
handleTagDelete(item) {
console.log(item)
// let {
}
=item
this.goodsInfo = item
this.handleConfirm(item.suitCarTypeList)
}
,
handleConfirm(list) {
handleConfirm(list) {
console.log(list, 'list')
console.log(list, 'list')
// this.goodsInfo.suitCarTypeList = list
// this.goodsInfo.suitCarTypeList = list
...
@@ -558,6 +560,11 @@ export default {
...
@@ -558,6 +560,11 @@ export default {
</script>
</script>
<style lang="scss" scoped>
<style lang="scss" scoped>
.car-type-list {
max-height: 300px;
overflow-y: scroll;
}
ul,
ul,
li {
li {
padding: 0;
padding: 0;
...
...
src/views/purchaseOrder/index.vue
View file @
10efb44
...
@@ -216,7 +216,8 @@ export default {
...
@@ -216,7 +216,8 @@ export default {
type
:
'text'
type
:
'text'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
2
,
5
].
includes
(
row
.
status
)
&&
row
.
purchaseType
==
1
// 全部发货不能退货
return
[
1
,
2
,
5
].
includes
(
row
.
status
)
&&
row
.
purchaseType
==
1
&&
row
.
deliveryStatus
!=
2
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleReturnedProducts
click
:
this
.
handleReturnedProducts
...
...
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