1
wankeda
2025-04-10 e692b8c296bae952a810688f700b659ae8240a5c
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/¸º¼«½ÐÁÏ.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: "负极"
               // ...其他需要传递的参数
            };