wanshenmean
2025-04-10 54a7df532e4fd82a1462edd4475403ed9b2be0cc
代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/正极叫料.vue
@@ -92,13 +92,16 @@
            }
         },
         submit(cb) {
            uni.getStorage({
               key: 'storage_key_ipAddress',
               success: (res) => {
            this.$t.message.loading();
            let formDataParam = {
               current: this.current,
               size: this.size
            };
            // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
            this.$u.post('/api/PDA/AGVPage', null).then(res => {
                  this.$u.post(res.data.CZFJiP + '/api/PDA/AGVPage', null).then(res => {
               console.log(res);
               this.$t.message.closeLoading();
               cb && cb();
@@ -107,6 +110,14 @@
               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) {
@@ -151,8 +162,9 @@
            };
            this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => {
               if (res.status) {
                  const value = uni.getStorageSync('storage_key_ipAddress');
                  // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
                  this.$u.post('/api/PDA/insertTask', formDataParam).then(res => {
                  this.$u.post(value.CZZJip + '/api/PDA/insertTask', formDataParam).then(res => {
                     this.$t.message.closeLoading();
                     if (res.status) {
                        this.$t.message.toast('鍛煎彨鎴愬姛');