From 04839b0c8660e2ba4228a743edf8f784e2470d6c Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 19 二月 2025 09:21:12 +0800
Subject: [PATCH] #

---
 pages/phyz/wrkMast/wrkMast.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/pages/phyz/wrkMast/wrkMast.vue b/pages/phyz/wrkMast/wrkMast.vue
index ae6d860..280b91f 100644
--- a/pages/phyz/wrkMast/wrkMast.vue
+++ b/pages/phyz/wrkMast/wrkMast.vue
@@ -38,7 +38,7 @@
 					<!-- 鏍囬 -->
 					<view class="title">鍏ュ簱鏁伴噺</view>
 					<view class="popup-item">
-						<uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" />
+						<uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" />
 					</view>
 					<view class="btn">
 						<view class="btn-left" @click="addClose">鍙栨秷</view>
@@ -165,15 +165,15 @@
 		onLoad() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
-			this.searchValue = uni.getStorageSync('bcpThreeCode');
+			this.searchValue = uni.getStorageSync('wrkNo');
 			this.getOrderDetlList(this.searchValue,10)
 			console.log("onLoad");
 		},
 		onShow() {
-			console.log(uni.getStorageSync('pakinOrderCar'));
+			console.log(uni.getStorageSync('wrkNo'));
 		},
 		onHide() {
-			uni.setStorageSync('pakinOrderCar', this.orderCarList);
+			uni.setStorageSync('wrkNo', this.orderCarList);
 		},
 		methods: {
 			getOrderDetlList(threeCode,limit) {
@@ -218,7 +218,7 @@
 			searchValueInput2() {
 				this.dataList = []
 				this.data.curr = 1
-				uni.setStorageSync('bcpThreeCode', this.searchValue);
+				uni.setStorageSync('wrkNo', this.searchValue);
 				if (this.searchValue.length == 0) {
 					this.getOrderDetlList(this.searchValue,10)
 				} else {
@@ -273,7 +273,7 @@
 							console.log(data);
 							if (data.data == 1) {
 								_this.orderCarList = []
-								_this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10)
+								_this.getOrderDetlList(uni.getStorageSync('wrkNo'),10)
 							}
 						}
 					}
@@ -326,7 +326,9 @@
 						res = res.data
 						if (res.code === 200) {
 							_this.$refs.option.close()
-							_this.getOrderDetlList(this.searchValue,10)
+							setTimeout(()=>{
+								_this.getOrderDetlList(_this.searchValue,10)
+							},100)
 						} else if (res.code == 403) {
 							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
 							setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);

--
Gitblit v1.9.1