1
wankeda
2025-04-11 0784c98220306a87a6017bfa114e2a9c0e91c31c
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/Õý¼«½ÐÁÏ.vue
@@ -101,7 +101,7 @@
                     size: this.size
                  };
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
                  this.$u.post(res.data.CZFJiP + '/api/PDA/AGVPage', null).then(res => {
                  this.$u.post(res.data.CZFJiP + '/makerwit/selectKHWareType', null).then(res => {
                     console.log(res);
                     this.$t.message.closeLoading();
                     cb && cb();
@@ -120,6 +120,7 @@
               },
            });
         },
         clickLoadMore(e) {
            this.status = 'loading';
            this.current += 1;
@@ -151,8 +152,15 @@
               this.$t.message.toast('可叫数量为0,无法叫任务');
               return;
            }
            let guid = this.generateUUID()
            let formDataParam = {
               DTaskId: this.generateUUID(),
               dTaskId: guid,
               productCode: productCode,
               orderNo: orderNo,
               taskNo: 2,
               number: availableQuantity > 4 ? 4 : availableQuantity,
               inputValue: inputValue,
               DTaskId: guid,
               ProductCode: productCode,
               OrderNo: orderNo,
               Number: availableQuantity > 4 ? 4 : availableQuantity,
@@ -164,9 +172,9 @@
               if (res.status) {
                  const value = uni.getStorageSync('storage_key_ipAddress');
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
                  this.$u.post(value.CZZJip + '/api/PDA/insertTask', formDataParam).then(res => {
                  this.$u.post(value.CZZJip + '/makerwit/insertTask', formDataParam).then(res => {
                     this.$t.message.closeLoading();
                     if (res.status) {
                     if (res.code == 200) {
                        this.$t.message.toast('呼叫成功');
                        this.$refs.popup.close();
                        // this.submit();