skyouc
1 天以前 d0ed5966ef837b99c13fc0dc079b2efe332c46c4
pages/AGV/CachePakin.vue
@@ -50,7 +50,7 @@
               <view class="list-left-item">
                  <view class="desc">供应商:</view>
                  <view class="left-item">
                     <uni-tag :text="item.supCode" type="warning"></uni-tag>
                     <uni-tag :text="item.suppCode" type="warning"></uni-tag>
                  </view>
               </view>
               <view class="list-left-item">
@@ -86,7 +86,7 @@
               <view class="popup-item">
                  <view class="desc">供应商:</view>
                  <view class="left-item">
                     <uni-tag :text="supCode" type="warning"></uni-tag>
                     <uni-tag :text="suppCode" type="warning"></uni-tag>
                  </view>
               </view>
               <view class="popup-item">
@@ -145,7 +145,7 @@
            count: 0,
            rowNum: '',
            matnr: '',
            supCode: '',
            suppCode: '',
            weight: '',
            msgType1: 'success',
            msgType: 'success',
@@ -230,7 +230,7 @@
                  if (result.code === 200 && result.data) {
                     that.matData = result.data
                     that.matnr = ''
                     that.matData['supCode'] = ''
                     that.matData['suppCode'] = ''
                     uni.navigateTo({
                        url: "../mat/matSelected",
                        // 通过eventChannel向被打开页面传送数据
@@ -300,12 +300,12 @@
            for (var i = 0; i < len; i++) {
               if (mat.matnr == this.dataList[i].matnr) {
                  for (var j = 0; j < len; j++) {
                     if (mat.supCode == this.dataList[j].supCode) {
                     if (mat.suppCode == this.dataList[j].suppCode) {
                        sameItem = true
                     }
                  }
                  // 相同物料 不同批号  新加列表
                  if (mat.supCode != this.dataList[i].supCode) {
                  if (mat.suppCode != this.dataList[i].suppCode) {
                     this.$forceUpdate() // 强制刷新
                     if (sameItem) {
                        add = false
@@ -329,7 +329,7 @@
         revise(item, i) {
            this.matnr = this.dataList[i].matnr
            this.count = this.dataList[i].anfme
            this.supCode = this.dataList[i].supCode
            this.suppCode = this.dataList[i].suppCode
            this.weight = this.dataList[i].weight
            this.rowNum = i
            this.eject()
@@ -358,7 +358,7 @@
         },
         reviseConfirm() {
            this.dataList[this.rowNum].anfme = this.count
            this.dataList[this.rowNum].supCode = this.supCode
            this.dataList[this.rowNum].suppCode = this.suppCode
            this.dataList[this.rowNum].weight = this.weight
            this.matnr = ''
            this.messageText = "修改成功"