小小儁爺
2025-11-19 0552bde02a9f07f52bcff9a044b9de3e64f868be
pages/znfx/chda.vue
@@ -45,17 +45,11 @@
<script>
   import {
      InventoryTreePermissions
      DistrInventory
   } from '../../config/api.js';
   export default {
      onLoad(option) {
         App.watch(this.getTopRightMessageCountIsChange, 'topRightMessageCountIsChange')
         console.log(option, 66)
         this.checkboxValue = JSON.parse(option.param)
         console.log(this.checkboxValue)
      },
      onPullDownRefresh() {
@@ -84,7 +78,7 @@
      mounted() {
         this.init()
         this.getInventoryTreePermissions()
         this.getDistrInventory()
      },
      methods: {
         init() {
@@ -94,18 +88,18 @@
         //输入框回车确认事件
         confirmInputBoxValue(val) {
            console.log('确认', val)
            // this.getInventoryTreePermissions(val)
            // this.getDistrInventory(val)
            this.collapseArr = this.collapseArrAll.filter((p) => {
               return p.code.indexOf(val) !== -1
            })
         },
         async getInventoryTreePermissions(param) {
         async getDistrInventory(param) {
            const {
               data: res
            } = await InventoryTreePermissions()
            } = await DistrInventory()
            this.collapseArrAll = res
            this.collapseArr = res