yanjinhui
2025-12-01 2b49f7643d15b74889d190f216630559006ed93a
н¨Îļþ¼Ð/PDA/pages/stash/raworderboxing.vue
@@ -441,6 +441,67 @@
               }
            })
         },
         // submit() {
         //    if (this.barcode == "") {
         //       this.$refs.uToast.show({
         //          title: "请扫描货位编号",
         //          type: 'error'
         //       })
         //       return;
         //    }
         //    if (this.materSn.length == 0) {
         //       this.$refs.uToast.show({
         //          title: "请输入入库数量",
         //          type: 'error'
         //       })
         //       return;
         //    }
         //    uni.showLoading({
         //       title: '提交中...'
         //    });
         //    this.$u.post('/api/CabinOrder/FeedbackIn', {
         //       MainData: {
         //          "LocationCode": this.barcode,
         //          "id":this.id,
         //          "warehouseCode": this.warehouseId,
         //          "orderNo": this.orderNo,
         //          "materielCode": this.materielCode,
         //          "Inqty": this.materSn,
         //          "batchNo": this.batchNo,
         //       },
         //       DelKeys: this.sns
         //    }).then(res => {
         //       uni.hideLoading();
         //       this.Testcheck = false;
         //       if (res.status) {
         //          this.$refs.uToast.show({
         //             title: "入库成功",
         //             type: "success"
         //          })
         //          this.Inqty = parseInt(res.message);
         //          this.order_Inqty = "已入库数量:" + this.Inqty;
         //          this.barcode = "";
         //          this.materSn = "";
         //          if (this.Inqty == this.orderqty) {
         //             uni.setStorageSync('isIn', true);
         //             this.handleInboundComplete();
         //          }
         //       } else {
         //          this.$refs.uToast.show({
         //             title: res.message,
         //             type: "error"
         //          })
         //       }
         //    }).catch(err => {
         //       uni.hideLoading();
         //       this.$refs.uToast.show({
         //          title: "网络错误,请重试",
         //          type: "error"
         //       })
         //    })
         // },
         // æ–°å¢žæ–¹æ³•处理入库完成逻辑
         submit() {
            if (this.barcode == "") {
               this.$refs.uToast.show({
@@ -456,6 +517,14 @@
               })
               return;
            }
    // æ–°å¢žäºŒæ¬¡ç¡®è®¤é€»è¾‘
    uni.showModal({
        title: '确认入库',
        content: '您确定要提交入库信息吗?',
        success: (res) => {
            if (res.confirm) {
                // ç”¨æˆ·ç‚¹å‡»ç¡®å®šï¼Œæ‰§è¡ŒåŽŸæœ‰çš„æäº¤é€»è¾‘
            uni.showLoading({
               title: '提交中...'
            });
@@ -499,8 +568,13 @@
                  type: "error"
               })
            })
            } else {
                // ç”¨æˆ·ç‚¹å‡»å–消,不做任何操作
            }
        }
    });
         },
         // æ–°å¢žæ–¹æ³•处理入库完成逻辑
         handleInboundComplete() {
            // æ˜¾ç¤ºå®Œæˆæç¤º
            // uni.showModal({