#
whycq
2023-07-11 7cd5d552d48389b70328ab2804fcb5ef3f023ec9
pages/AGV/AGVPakinBing.vue
@@ -27,7 +27,7 @@
                  <view class="left-item">{{i + 1}}</view>
               </view>
               <view class="list-left-item">
                  <view class="desc">编码:</view>
                  <view class="desc">料号:</view>
                  <view class="left-item">
                     <uni-tag :text="item.matnr" type="primary"></uni-tag>
                  </view>
@@ -46,12 +46,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>
@@ -66,7 +66,7 @@
      <!-- 底部操作按钮 -->
      <view class="buttom">
         <button size="mini" @click="reset('warn')">重置</button>
         <button size="mini" type="primary" @click="combConfirm('warn')">上架</button>
         <button size="mini" type="primary" @click="combConfirm('warn')">绑定</button>
      </view>
      <!-- 弹窗 -->
      <!-- 修改数量 -->
@@ -76,20 +76,20 @@
               <!-- 标题 -->
               <view class="title">修改</view>
               <view class="popup-item">
                  <view class="popup-item-left">编码:</view>
                  <view class="popup-item-left">料号:</view>
                  <view class="popup-item-right">
                     <input type="text" v-model="matnr" disabled="true"
                        style="background-color: #f7f7f7;padding: 0;color: #d5d5d5;">
                  </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="batch"></view>
               </view> -->
               <view class="popup-item">
               </view>
               <!-- <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;">
@@ -117,7 +117,7 @@
            <uni-popup-message :type="msgType1" :message="messageText" :duration="2000"></uni-popup-message>
         </uni-popup>
      </view>
      <!-- 确认上架 -->
      <!-- 确认绑定 -->
      <view>
         <uni-popup ref="combConfirm" type="dialog">
            <uni-popup-dialog :type="msgType" cancelText="取消" confirmText="确认" :title="title" :content="content"
@@ -363,7 +363,7 @@
         combConfirm(type) {
            this.msgType = type
            this.title = '警告'
            this.content = '是否现在上架!'
            this.content = '是否现在绑定!'
            this.$refs.combConfirm.open()
         },
         combClose() {
@@ -391,7 +391,7 @@
                  var res = result.data
                  if (res.code === 200) {
                     that.resst();
                     that.messageText = "上架成功"
                     that.messageText = "绑定成功"
                     that.messageToggle('success')
                     // const innerAudioContext = uni.createInnerAudioContext();
                     // innerAudioContext.src = '/static/music/pakinOk.mp3';