wanshenmean
2025-04-10 62b606314f8530c4e42d98ad7ef9c6e9eceb00d8
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/¸º¼«½ÐÁÏ.vue
@@ -101,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();
@@ -153,6 +153,11 @@
               return;
            }
            let formDataParam = {
               dTaskId: this.generateUUID(),
               productCode: productCode,
               orderNo: orderNo,
               number: availableQuantity > 4 ? 4 : availableQuantity,
               inputValue: inputValue,
               DTaskId: this.generateUUID(),
               ProductCode: productCode,
               OrderNo: orderNo,
@@ -162,12 +167,14 @@
               // ...其他需要传递的参数
            };
            // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
            this.$u.post('/api/PDA/insertTask', formDataParam).then(res => {
            this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => {
               if (res.status) {
                  this.$u.post('/api/PDA/AddCZTask', 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();
                     if (res.status) {
                     console.log(formDataParam);
                     if (res.code == 200) {
                        this.$t.message.toast('呼叫成功');
                        this.$refs.popup.close();
                        // this.submit();