chenrui 4 лет назад
Родитель
Сommit
8eaaa114d5

+ 4 - 4
src/views/productManagement/productInfo/edit.vue

@@ -179,11 +179,11 @@ export default {
     }
   },
   methods: {
-    // 搜索经销商
+    // 搜索品牌
     fetchUser (value) {
       console.log('fetching user', value)
       this.fetching = true
-      dealerProductBrandQuery({ 'sysFlag': '0', 'queryWord': value }).then(res => {
+      dealerProductBrandQuery({ 'queryWord': value }).then(res => {
         if (res.status == 200) {
           this.productBrandList = res.data || []
           this.fetching = false
@@ -277,7 +277,7 @@ export default {
     },
     //  产品品牌  列表
     getProductBrand (val) {
-      dealerProductBrandQuery({ 'sysFlag': '0' }).then(res => {
+      dealerProductBrandQuery({}).then(res => {
         if (res.status == 200) {
           this.productBrandList = res.data
           if (val) { //  需将新增加的品牌回填到产品品牌的地方,即不需要用户再选一下
@@ -289,7 +289,7 @@ export default {
     },
     //  产品分类  列表
     getProductType () {
-      dealerProductTypeList({ 'sysFlag': '0' }).then(res => {
+      dealerProductTypeList({}).then(res => {
         if (res.status == 200) {
           this.productTypeList = res.data
         } else {

+ 2 - 2
src/views/productManagement/productInfo/list.vue

@@ -301,7 +301,7 @@ export default {
     },
     //  产品品牌  列表
     getProductBrand () {
-      dealerProductBrandQuery({ 'sysFlag': '0' }).then(res => {
+      dealerProductBrandQuery({}).then(res => {
         if (res.status == 200) {
           this.productBrandList = res.data
         } else {
@@ -311,7 +311,7 @@ export default {
     },
     //  产品分类  列表
     getProductType () {
-      dealerProductTypeList({ 'sysFlag': '0' }).then(res => {
+      dealerProductTypeList({}).then(res => {
         if (res.status == 200) {
           this.productTypeList = res.data
         } else {