#
whycq
2024-01-24 ec820cad5121014d51077bd5cffb85a77687fe55
pages/order/orderPakin.vue
@@ -52,12 +52,12 @@
                     <uni-tag :text="item.batch" type="warning"></uni-tag>
                  </view>
               </view>
               <view class="list-left-item">
               <!-- <view class="list-left-item">
                  <view class="desc">重量:</view>
                  <view class="left-item">
                     <uni-tag :text="item.weight" type="warning"></uni-tag>
                  </view>
               </view>
               </view> -->
               <view class="list-left-item">
                  <view class="desc">数量:</view>
                  <view class="left-item">{{item.anfme}}</view>
@@ -92,10 +92,10 @@
                  <view class="popup-item-left">批号:</view>
                  <view class="popup-item-right"><input type="text" v-model="batch"></view>
               </view> -->
               <view class="popup-item">
               <!-- <view class="popup-item">
                  <view class="popup-item-left">重量:</view>
                  <view class="popup-item-right"><input type="text" v-model="weight"></view>
               </view>
               </view> -->
               <view class="popup-item">
                  <view class="popup-item-left">数量:</view>
                  <view class="popup-item-right" style="border: none;justify-content: center;">
@@ -159,6 +159,7 @@
            rowNum: '',
            matnr: '',
            matnr1: '',
            anfme: '',
            batch: '',
            weight: '',
            msgType1: 'success',
@@ -186,6 +187,7 @@
            let that = this
            var matnr =  that.matnr.split(";")
            that.order = matnr[0]
            that.anfme = matnr[3]
            that.matnr = matnr[1]
            uni.request({
               url: that.baseUrl + '/mat/auth',
@@ -200,11 +202,14 @@
                  if (result.code === 200 && result.data) {
                     that.matData = result.data
                     that.matnr = ''
                     that.matData['batch'] = ''
                     that.matData['anfme'] = ''
                     // if (matnr[2] === null) {
                     //    matnr[2] = ''
                     // }
                     result.data.batch = matnr[2]
                     result.data.anfme = matnr[3]
                     uni.navigateTo({
                        url: "../mat/matSelected",
                        // 通过eventChannel向被打开页面传送数据