#
whycq
2025-01-04 d52b996f9ef0e78f7ae99b6b45985a04fcbf3f7e
pages/out/checkOut.vue
@@ -2,7 +2,7 @@
   <view>
      <view class="code">
         <view class="item">
            <view class="code-decs">箱号:</view>
            <view class="code-decs">条码:</view>
            <textarea style="background-color: #f0f0f0;max-height: 100rpx;padding: 4px;margin: 4px;"
               type="textarea" placeholder=" 扫码 / 输入" maxlength="1000" v-model="barcode" :focus="barcodeFocus" 
               @input="analysis()" />
@@ -240,6 +240,7 @@
                        _this.deadTimeType = "error"
                     }
                     _this.dataList.push(res.data)
                     console.log(_this.dataList);
                  } else if (res.code == 403) {
                     _this.messageText = res.msg
                     _this.messageToggle('error')
@@ -439,12 +440,21 @@
         },
         comb() {
            let that = this;
            console.log(that.dataList[0]);
            var matObj= {
               rollNo: that.dataList[0].model, // 卷号
               boxNo: that.dataList[0].batch, // 箱号
               specs: that.dataList[0].matnr, // 规格
               length: that.dataList[0].price, // 长度
               netWeight: that.dataList[0].weight, // 净重
               grossWeight: that.dataList[0].volume, // 毛重
               splices: that.dataList[0].specs, // 接头 个
            }
            uni.request({
               url: that.baseUrl + '/mobile/order/search/batch/auth',
               data: that.targetBatch,
               data: matObj,
               method: 'POST',
               header: {'token': uni.getStorageSync('token')},
               method:'POST',
               success(result) {
                  let res = result.data
                  if (res.code === 200) {
@@ -513,7 +523,7 @@
   .item {
      display: flex;
      align-items: center;
      height: 100rpx;
      height: 130rpx;
      margin-left: 20rpx;
      border-bottom: 1px solid #DCDFE6;
   }
@@ -545,7 +555,7 @@
      width: 100%;
      background-color: white;
      position: fixed;
      margin-top: 100rpx;
      margin-top: 130rpx;
      z-index: 9;
      /* border-top: 1px solid #DCDFE6; */
      text-align: center;