From e692b8c296bae952a810688f700b659ae8240a5c Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期四, 10 四月 2025 11:00:10 +0800 Subject: [PATCH] 1 --- 代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/负极叫料.vue | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" index 67780f8..77849f4 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" @@ -109,6 +109,35 @@ this.$t.message.toast(err.message); }); }, + uni.getStorage({ + key: 'storage_key_ipAddress', + success: (res) => { + this.$t.message.loading(); + let formDataParam = { + current: this.current, + size: this.size + }; + // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 + this.$u.post(res.data.CZFJiP, null).then(res => { + console.log(res); + this.$t.message.closeLoading(); + cb && cb(); + if (cb != null) this.listData = []; + this.listData = [...this.listData, ...res.data]; + console.log(this.listData); + }).catch((err) => { + this.$t.message.toast(err.message); + }); + }, + fail: (err) => { + this.$t.message.toast('璇峰厛璁剧疆IP鍦板潃'); + uni.navigateTo({ + url: '/pages/SetAddress/SetAddress', + }); + }, + }); + + }, clickLoadMore(e) { this.status = 'loading'; this.current += 1; @@ -146,6 +175,12 @@ orderNo: orderNo, number: availableQuantity > 4 ? 4 : availableQuantity, inputValue: inputValue, + DTaskId: this.generateUUID(), + ProductCode: productCode, + OrderNo: orderNo, + Number: availableQuantity > 4 ? 4 : availableQuantity, + InputValue: inputValue, + TaskType: "璐熸瀬" // ...鍏朵粬闇�瑕佷紶閫掔殑鍙傛暟 }; -- Gitblit v1.9.3