|
@@ -395,15 +395,13 @@
|
|
|
this.shopId = response.data.shopID
|
|
|
this.product = response.data
|
|
|
//已删除/已冻结
|
|
|
- if(this.identity!=1){
|
|
|
- if(this.product.validFlag === '0' || this.product.validFlag =='10'){
|
|
|
+ if(this.product.validFlag === '0' || this.product.validFlag =='10'){
|
|
|
+ this.isInvalid = true
|
|
|
+ }else if(this.product.validFlag === '9'){
|
|
|
+ if(this.userIdentity == 1){
|
|
|
+ this.isInvalid = false
|
|
|
+ }else{
|
|
|
this.isInvalid = true
|
|
|
- }else if(this.product.validFlag === '9'){
|
|
|
- if(this.userIdentity == 1){
|
|
|
- this.isInvalid = true
|
|
|
- }else{
|
|
|
- this.isInvalid = false
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
this.ladderPriceFlag = this.product.ladderPriceFlag;
|