ソースを参照

商品列表获取供应商选项

DELL 3 年 前
コミット
ebd78dcd73
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/views/business/goods/add.vue
  2. 1 1
      src/views/business/goods/index.vue

+ 1 - 1
src/views/business/goods/add.vue

@@ -299,7 +299,7 @@ export default {
     },
     //获取供应商
     getSupplierItems(){
-      getSupplierList({name:""}).then(res => {
+      getSupplierList('',{name:""}).then(res => {
         this.SupplierList = res && res.rows
       })
     },

+ 1 - 1
src/views/business/goods/index.vue

@@ -171,7 +171,7 @@ export default {
   methods: {
     //获取供应商
     getSupplierItems(){
-      getSupplierList({name:""}).then(res => {
+      getSupplierList('',{}).then(res => {
         this.SupplierList = res && res.rows
       })
     },