Commit c7e3b9bb by 前端

Merge branch 'SAAS+V4.48-0103' of http://192.168.3.233:8090/saas_plus/dj-car-lif…

…e-system into SAAS+V4.48-0103
2 parents ed00f0ce 65138ffd
...@@ -762,6 +762,11 @@ export default { ...@@ -762,6 +762,11 @@ export default {
'goodsInfoData.goodsPositionList': { 'goodsInfoData.goodsPositionList': {
handler(newValue) { handler(newValue) {
this.productPositionTypeList = this.positionTypeList.filter(v => newValue?.indexOf(v.position) > -1) this.productPositionTypeList = this.positionTypeList.filter(v => newValue?.indexOf(v.position) > -1)
this.goodsInfoData.goodsSpecificationList?.forEach(val => {
val?.position?.forEach((v, index) => {
if (!this.productPositionTypeList?.map(v => v.position)?.includes(v)) val.position.splice(index, 1)
})
})
}, },
deep: true deep: true
}, },
......
...@@ -590,6 +590,11 @@ export default { ...@@ -590,6 +590,11 @@ export default {
'goodsInfoData.goodsPositionList': { 'goodsInfoData.goodsPositionList': {
handler(newValue) { handler(newValue) {
this.productPositionTypeList = this.positionTypeList.filter(v => newValue?.indexOf(v.position) > -1) this.productPositionTypeList = this.positionTypeList.filter(v => newValue?.indexOf(v.position) > -1)
this.goodsInfoData.goodsSpecificationSingleList?.forEach(val => {
val?.position?.forEach((v, index) => {
if (!this.productPositionTypeList?.map(v => v.position)?.includes(v)) val.position.splice(index, 1)
})
})
}, },
deep: true deep: true
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!