Commit b27fde50 by 王志慧

Merge branch 'v3.14.0' of http://192.168.3.233:8090/saas/scrm-micro-presale into v3.14.0

2 parents d2b1e85e 939f7e0e
......@@ -1280,12 +1280,12 @@ export default {
if ([2, 4].includes(this.routeInfo.addOrEdit)) {
this.editForm.effectiveDate = new Date(new Date().setDate(new Date().getDate() + 1))
}
this.dataSourceDisable = res.dataSource == 'car'
this.editForm.packageCode && this.packageAttr(true, productArrData, res)
const spaItem = this.baseData.agreeList.find(item => item.id == this.editForm.specialAppointId)
if (spaItem) {
this.editForm.specialAppoint = spaItem.spaContent
}
this.dataSourceDisable = res.dataSource == 'car'
})
},
getPackageList() {
......@@ -1349,10 +1349,22 @@ export default {
return c
})
}
if (this.routeInfo.addOrEdit == 2) {
this.customProductList.map(c => {
c.disabled = true
c.groupAttributeList.map(ele => {
if (ele.attributeName == 'service_period' && this.dataSourceDisable) {
ele.disabled = true
this.leftDisable = true
}
})
return c
})
}
} else {
this.equityRadio = 1
this.curSelectPro.push(targetItem.packageName)
this.curSelectPro = Array.from(new Set(this.curSelectPro))
this.curSelectPro = Array.from(new Set(this.curSelectPro))
item.attributeDTOList.forEach(b => {
if (b.attributeName.includes('price')) {
b.attributeValue = b.attributeValue / 100
......@@ -1388,6 +1400,18 @@ export default {
return d
})
}
if (this.routeInfo.addOrEdit == 2) {
this.productList.map(c => {
c.disabled = true
c.groupAttributeList.map(ele => {
if (ele.attributeName == 'service_period' && this.dataSourceDisable) {
ele.disabled = true
this.rightDisable = true
}
})
return c
})
}
}
packCode.push(item.packageCode)
......@@ -1761,6 +1785,7 @@ export default {
if ([2, 3, 4].includes(this.routeInfo.addOrEdit)) {
if (this.routeInfo.addOrEdit == 4 && this.editForm.orderStatus != 3) {
params.contractNo = ''
params.repeatedFlag = 1
} else {
params.contractNo = this.routeInfo.contractNo
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!