Commit 16d1f18b by 杨北旺

..

1 parent 45ba88b6
...@@ -1417,12 +1417,12 @@ export default { ...@@ -1417,12 +1417,12 @@ export default {
} }
this.productModal[`vip${item.packageCode}`][a.attributeName] = a.attributeValue this.productModal[`vip${item.packageCode}`][a.attributeName] = a.attributeValue
}) })
if (this.routeInfo.addOrEdit == 3) { if (this.routeInfo.addOrEdit == 3 || this.routeInfo.addOrEdit == 4) {
this.leftDisable = true this.leftDisable = true
this.customProductList.map(c => { this.customProductList.map(c => {
c.disabled = true c.disabled = true
c.groupAttributeList.map(ele => { c.groupAttributeList.map(ele => {
if (ele.attributeName == 'service_period') { if (ele.attributeName == 'service_period' &&(this.routeInfo.addOrEdit >2)) {
ele.disabled = true ele.disabled = true
} }
if (ele.attributeName == 'card') { if (ele.attributeName == 'card') {
...@@ -1465,12 +1465,12 @@ export default { ...@@ -1465,12 +1465,12 @@ export default {
} }
this.productModal[targetItem.idName][b.attributeName] = b.attributeValue this.productModal[targetItem.idName][b.attributeName] = b.attributeValue
}) })
if (this.routeInfo.addOrEdit == 3) { if (this.routeInfo.addOrEdit == 3 || this.routeInfo.addOrEdit == 4) {
this.rightDisable = true this.rightDisable = true
this.productList.map(d => { this.productList.map(d => {
d.disabled = true d.disabled = true
d.groupAttributeList.map(elee => { d.groupAttributeList.map(elee => {
if (elee.attributeName == 'service_period') { if (elee.attributeName == 'service_period' &&(this.routeInfo.addOrEdit >2)) {
elee.disabled = true elee.disabled = true
} }
if (elee.attributeName == 'card') { if (elee.attributeName == 'card') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!