Jelajahi Sumber

订货单选择账户过滤isorder == 0 的账户

xiaohaizhao 1 tahun lalu
induk
melakukan
ca4c743f77
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      select/account/index.js

+ 1 - 1
select/account/index.js

@@ -100,7 +100,7 @@ Page({
         v.creditquota = CNY(v.creditquota)
         return v
       })
-      let list = res.data.filter(v => v.accountno != '02')
+      let list = res.data.filter(v => v.isorder)
       this.setData({
         'params.content.pageNumber': res.pageNumber + 1,
         'params.content.pageTotal': res.pageTotal,