wanshenmean
2025-04-10 62b606314f8530c4e42d98ad7ef9c6e9eceb00d8
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/¸º¼«½ÐÁÏ.vue
@@ -92,23 +92,6 @@
            }
         },
         submit(cb) {
            this.$t.message.loading();
            let formDataParam = {
               current: this.current,
               size: this.size
            };
            // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
            this.$u.post('http://192.168.31.240:9090/makerwit/selectKHWareType', 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);
            });
         },
            uni.getStorage({
               key: 'storage_key_ipAddress',
               success: (res) => {
@@ -118,7 +101,7 @@
                     size: this.size
                  };
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
                  this.$u.post(res.data.CZFJiP, null).then(res => {
                  this.$u.post(res.data.CZFJiP + '/api/PDA/AGVPage', null).then(res => {
                     console.log(res);
                     this.$t.message.closeLoading();
                     cb && cb();
@@ -184,10 +167,11 @@
               // ...其他需要传递的参数
            };
            // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
            this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => {
               if (res.status) {
                  this.$u.post('http://192.168.31.240:9090/makerwit/insertTask', formDataParam).then(res => {
                  const value = uni.getStorageSync('storage_key_ipAddress');
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
                  this.$u.post(value.CZFJiP + '/api/PDA/insertTask', formDataParam).then(res => {
                     this.$t.message.closeLoading();
                     console.log(formDataParam);
                     if (res.code == 200) {