Ver Fonte

bug修复

chenrui há 4 anos atrás
pai
commit
cc4985c1f1
1 ficheiros alterados com 2 adições e 4 exclusões
  1. 2 4
      src/views/productManagement/productInfo/edit.vue

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

@@ -179,7 +179,6 @@ export default {
     },
     },
     // 选择单位
     // 选择单位
     unitChange (a, b) {
     unitChange (a, b) {
-      console.log(a, b)
       this.form.unit = b.dispName
       this.form.unit = b.dispName
     },
     },
     //  获取产品信息
     //  获取产品信息
@@ -200,7 +199,6 @@ export default {
     handleSubmit (e) {
     handleSubmit (e) {
       e.preventDefault()
       e.preventDefault()
       const _this = this
       const _this = this
-      console.log('productTypeSn3', _this.form.productTypeSn3)
       if (!this.form.productTypeSn3) {
       if (!this.form.productTypeSn3) {
         this.$message.warning('产品分类未选到第三级,请修改后再提交!')
         this.$message.warning('产品分类未选到第三级,请修改后再提交!')
         return
         return
@@ -244,7 +242,7 @@ export default {
     },
     },
     //  产品品牌  列表
     //  产品品牌  列表
     getProductBrand (val) {
     getProductBrand (val) {
-      dealerProductBrandQuery({}).then(res => {
+      dealerProductBrandQuery({ 'sysFlag': '0' }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           this.productBrandList = res.data
           this.productBrandList = res.data
           if (val) { //  需将新增加的品牌回填到产品品牌的地方,即不需要用户再选一下
           if (val) { //  需将新增加的品牌回填到产品品牌的地方,即不需要用户再选一下
@@ -256,7 +254,7 @@ export default {
     },
     },
     //  产品分类  列表
     //  产品分类  列表
     getProductType () {
     getProductType () {
-      dealerProductTypeList({}).then(res => {
+      dealerProductTypeList({ 'sysFlag': '0' }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           this.productTypeList = res.data
           this.productTypeList = res.data
         } else {
         } else {