浏览代码

Merge branch 'develop_yh51' of jianguan-web/jg-ocs-html into pre-release

李磊 6 月之前
父节点
当前提交
3dd097ae76

+ 6 - 1
src/views/common/custList.vue

@@ -57,6 +57,11 @@ export default {
     notDealerSn: {
       type: Array,
       default: function () { return [] }
+    },
+    // 默认有权限
+    dataAuthFlag: {
+      type: [String, Number],
+      default: 1
     }
   },
   data () {
@@ -76,7 +81,7 @@ export default {
       const fetchId = this.lastFetchId
       this.data = []
       this.fetching = true
-      const params = { pageNo: 1, pageSize: 20 }
+      const params = { pageNo: 1, pageSize: 20, dataAuthFlag: this.dataAuthFlag }
       if (this.itemSn) {
         params.dealerSn = this.itemSn
       } else {

+ 1 - 0
src/views/expenseManagement/expenseReimbursement/epenseDetailModal.vue

@@ -39,6 +39,7 @@
                     id="epenseDetailModal-accountName1"
                     v-show="form.accountType=='CUSTOMER'"
                     cooperateFlag="1"
+                    dataAuthFlag="0"
                     ref="custList"
                     @change="accountNameSnChange"
                     placeholder="请选择记账名称(输入名称搜索)"></custList>