|
@@ -55,12 +55,15 @@ const ProductType = {
|
|
this.defaultVal = value
|
|
this.defaultVal = value
|
|
this.$emit('change', this.defaultVal)
|
|
this.$emit('change', this.defaultVal)
|
|
},
|
|
},
|
|
-
|
|
+
|
|
getProductType () {
|
|
getProductType () {
|
|
const params = {}
|
|
const params = {}
|
|
if(this.tenantId!="NONE"){
|
|
if(this.tenantId!="NONE"){
|
|
params.tenantId = this.tenantId
|
|
params.tenantId = this.tenantId
|
|
}
|
|
}
|
|
|
|
+ if(this.tenantId=="NONE"){
|
|
|
|
+ params.sysFlag = '1'
|
|
|
|
+ }
|
|
if(this.isDealer){
|
|
if(this.isDealer){
|
|
dealerProductTypeList(params).then(res => {
|
|
dealerProductTypeList(params).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|