From 89513a76e1ea16d602f5d12949f61e880fafb9f6 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期三, 19 十一月 2025 15:26:18 +0800
Subject: [PATCH] 1.生产报工 查询条件 变更

---
 pages/znfx/chda.vue |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/pages/znfx/chda.vue b/pages/znfx/chda.vue
index 5af2f7a..78e0365 100644
--- a/pages/znfx/chda.vue
+++ b/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

--
Gitblit v1.9.3